@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-11-25 14:15+0000\n "
14+ "POT-Creation-Date : 2025-11-27 14:15+0000\n "
1515"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -2766,6 +2766,207 @@ msgid ""
27662766"}"
27672767msgstr ""
27682768
2769+ msgid "Legacy Locking APIs"
2770+ msgstr ""
2771+
2772+ msgid ""
2773+ "These APIs are obsolete since Python 3.13 with the introduction of :c:type:"
2774+ "`PyMutex`."
2775+ msgstr ""
2776+
2777+ msgid "These APIs are now a simple wrapper around ``PyMutex``."
2778+ msgstr ""
2779+
2780+ msgid "A pointer to a mutual exclusion lock."
2781+ msgstr ""
2782+
2783+ msgid "The result of acquiring a lock with a timeout."
2784+ msgstr ""
2785+
2786+ msgid "Failed to acquire the lock."
2787+ msgstr ""
2788+
2789+ msgid "The lock was successfully acquired."
2790+ msgstr ""
2791+
2792+ msgid "The lock was interrupted by a signal."
2793+ msgstr ""
2794+
2795+ msgid "Allocate a new lock."
2796+ msgstr ""
2797+
2798+ msgid ""
2799+ "On success, this function returns a lock; on failure, this function returns "
2800+ "``0`` without an exception set."
2801+ msgstr ""
2802+
2803+ msgid "The caller does not need to hold an :term:`attached thread state`."
2804+ msgstr ""
2805+
2806+ msgid ""
2807+ "This function now always uses :c:type:`PyMutex`. In prior versions, this "
2808+ "would use a lock provided by the operating system."
2809+ msgstr ""
2810+
2811+ msgid ""
2812+ "Destroy *lock*. The lock should not be held by any thread when calling this."
2813+ msgstr ""
2814+
2815+ msgid "Acquire *lock* with a timeout."
2816+ msgstr ""
2817+
2818+ msgid ""
2819+ "This will wait for *microseconds* microseconds to acquire the lock. If the "
2820+ "timeout expires, this function returns :c:enumerator:`PY_LOCK_FAILURE`. If "
2821+ "*microseconds* is ``-1``, this will wait indefinitely until the lock has "
2822+ "been released."
2823+ msgstr ""
2824+
2825+ msgid ""
2826+ "If *intr_flag* is ``1``, acquiring the lock may be interrupted by a signal, "
2827+ "in which case this function returns :c:enumerator:`PY_LOCK_INTR`. Upon "
2828+ "interruption, it's generally expected that the caller makes a call to :c:"
2829+ "func:`Py_MakePendingCalls` to propagate an exception to Python code."
2830+ msgstr ""
2831+
2832+ msgid ""
2833+ "If the lock is successfully acquired, this function returns :c:enumerator:"
2834+ "`PY_LOCK_ACQUIRED`."
2835+ msgstr ""
2836+
2837+ msgid "Acquire *lock*."
2838+ msgstr ""
2839+
2840+ msgid ""
2841+ "If *waitflag* is ``1`` and another thread currently holds the lock, this "
2842+ "function will wait until the lock can be acquired and will always return "
2843+ "``1``."
2844+ msgstr ""
2845+
2846+ msgid ""
2847+ "If *waitflag* is ``0`` and another thread holds the lock, this function will "
2848+ "not wait and instead return ``0``. If the lock is not held by any other "
2849+ "thread, then this function will acquire it and return ``1``."
2850+ msgstr ""
2851+
2852+ msgid ""
2853+ "Unlike :c:func:`PyThread_acquire_lock_timed`, acquiring the lock cannot be "
2854+ "interrupted by a signal."
2855+ msgstr ""
2856+
2857+ msgid ""
2858+ "Release *lock*. If *lock* is not held, then this function issues a fatal "
2859+ "error."
2860+ msgstr ""
2861+
2862+ msgid "Operating System Thread APIs"
2863+ msgstr ""
2864+
2865+ msgid "Sentinel value for an invalid thread ID."
2866+ msgstr ""
2867+
2868+ msgid "This is currently equivalent to ``(unsigned long)-1``."
2869+ msgstr ""
2870+
2871+ msgid ""
2872+ "Start function *func* in a new thread with argument *arg*. The resulting "
2873+ "thread is not intended to be joined."
2874+ msgstr ""
2875+
2876+ msgid "*func* must not be ``NULL``, but *arg* may be ``NULL``."
2877+ msgstr ""
2878+
2879+ msgid ""
2880+ "On success, this function returns the identifier of the new thread; on "
2881+ "failure, this returns :c:macro:`PYTHREAD_INVALID_THREAD_ID`."
2882+ msgstr ""
2883+
2884+ msgid "Return the identifier of the current thread, which will never be zero."
2885+ msgstr ""
2886+
2887+ msgid ""
2888+ "This function cannot fail, and the caller does not need to hold an :term:"
2889+ "`attached thread state`."
2890+ msgstr ""
2891+
2892+ msgid ":py:func:`threading.get_ident`"
2893+ msgstr ""
2894+
2895+ msgid ""
2896+ "Get general information about the current thread in the form of a :ref:"
2897+ "`struct sequence <struct-sequence-objects>` object. This information is "
2898+ "accessible as :py:attr:`sys.thread_info` in Python."
2899+ msgstr ""
2900+
2901+ msgid ""
2902+ "On success, this returns a new :term:`strong reference` to the thread "
2903+ "information; on failure, this returns ``NULL`` with an exception set."
2904+ msgstr ""
2905+
2906+ msgid "The caller must hold an :term:`attached thread state`."
2907+ msgstr ""
2908+
2909+ msgid "This macro is defined when the system supports native thread IDs."
2910+ msgstr ""
2911+
2912+ msgid ""
2913+ "Get the native identifier of the current thread as it was assigned by the "
2914+ "operating system's kernel, which will never be less than zero."
2915+ msgstr ""
2916+
2917+ msgid ""
2918+ "This function is only available when :c:macro:`PY_HAVE_THREAD_NATIVE_ID` is "
2919+ "defined."
2920+ msgstr ""
2921+
2922+ msgid ":py:func:`threading.get_native_id`"
2923+ msgstr ""
2924+
2925+ msgid ""
2926+ "Terminate the current thread. This function is generally considered unsafe "
2927+ "and should be avoided. It is kept solely for backwards compatibility."
2928+ msgstr ""
2929+
2930+ msgid ""
2931+ "This function is only safe to call if all functions in the full call stack "
2932+ "are written to safely allow it."
2933+ msgstr ""
2934+
2935+ msgid ""
2936+ "If the current system uses POSIX threads (also known as \" pthreads\" ), this "
2937+ "calls :manpage:`pthread_exit(3)`, which attempts to unwind the stack and "
2938+ "call C++ destructors on some libc implementations. However, if a "
2939+ "``noexcept`` function is reached, it may terminate the process. Other "
2940+ "systems, such as macOS, do unwinding."
2941+ msgstr ""
2942+
2943+ msgid ""
2944+ "On Windows, this function calls ``_endthreadex()``, which kills the thread "
2945+ "without calling C++ destructors."
2946+ msgstr ""
2947+
2948+ msgid "In any case, there is a risk of corruption on the thread's stack."
2949+ msgstr ""
2950+
2951+ msgid ""
2952+ "Initialize ``PyThread*`` APIs. Python executes this function automatically, "
2953+ "so there's little need to call it from an extension module."
2954+ msgstr ""
2955+
2956+ msgid "Set the stack size of the current thread to *size* bytes."
2957+ msgstr ""
2958+
2959+ msgid ""
2960+ "This function returns ``0`` on success, ``-1`` if *size* is invalid, or "
2961+ "``-2`` if the system does not support changing the stack size. This function "
2962+ "does not set exceptions."
2963+ msgstr ""
2964+
2965+ msgid ""
2966+ "Return the stack size of the current thread in bytes, or ``0`` if the "
2967+ "system's default stack size is in use."
2968+ msgstr ""
2969+
27692970msgid "PyEval_InitThreads()"
27702971msgstr ""
27712972
0 commit comments