- 22 Jan, 2016 8 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Senthil Kumaran authored
minor clarification on Zipfile 'x' mode - exclusive creation of a file. (Based on the feedback from docs@python.org list)
-
Senthil Kumaran authored
-
Donald Stufft authored
-
Donald Stufft authored
-
Donald Stufft authored
-
- 21 Jan, 2016 16 commits
-
-
Berker Peksag authored
A single call to Pool.apply_async() will create only one process. To use all of the pool's processes, it should be invoked multiple times: with Pool(processes=4) as pool: results = [pool.apply_async(func, ()) for i in range(4)] Patch by Davin Potts.
-
Berker Peksag authored
A single call to Pool.apply_async() will create only one process. To use all of the pool's processes, it should be invoked multiple times: with Pool(processes=4) as pool: results = [pool.apply_async(func, ()) for i in range(4)] Patch by Davin Potts.
-
Senthil Kumaran authored
issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst. Patch contributed by Sonali Gupta.
-
Senthil Kumaran authored
PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst. Patch contributed by Sonali Gupta.
-
Victor Stinner authored
Double parenthesis
-
Victor Stinner authored
-
Victor Stinner authored
This change helps to ignore text of PSF, BEOPEN.com and CNRI licenses when translating the documentation. Patch written by Julien Palard who is translating Python 3.5 doc to french. Text of other licenses already used preformatted format.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 20 Jan, 2016 16 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
Issue #24520: On FreeBSD, fpgetmask() was deprecated long time ago. fedisableexcept() is now preferred.
-
Victor Stinner authored
Issue #26107: The format of the co_lnotab attribute of code objects changes to support negative line number delta. Changes: * assemble_lnotab(): if line number delta is less than -128 or greater than 127, emit multiple (offset_delta, lineno_delta) in co_lnotab * update functions decoding co_lnotab to use signed 8-bit integers - dis.findlinestarts() - PyCode_Addr2Line() - _PyCode_CheckLineNumber() - frame_setlineno() * update lnotab_notes.txt * increase importlib MAGIC_NUMBER to 3361 * document the change in What's New in Python 3.6 * cleanup also PyCode_Optimize() to use better variable names
-
Senthil Kumaran authored
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.
-
Senthil Kumaran authored
-
Victor Stinner authored
Issue #26154: Add a new private _PyThreadState_UncheckedGet() function.
-
Victor Stinner authored
Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which gets the current thread state, but don't call Py_FatalError() if it is NULL. Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to no more expose complex and private atomic types. Atomic types depends on the compiler or can even depend on compiler options. The new function _PyThreadState_UncheckedGet() allows to get the variable value without having to care of the exact implementation of atomic types. Changes: * Replace direct usage of the _PyThreadState_Current variable with a call to _PyThreadState_UncheckedGet(). * In pystate.c, replace direct usage of the _PyThreadState_Current variable with the PyThreadState_GET() macro for readability. * Document also PyThreadState_Get() in pystate.h
-
Serhiy Storchaka authored
non-UTF-8 encoding.
-
Serhiy Storchaka authored
non-UTF-8 encoding.
-
Berker Peksag authored
A machine can have more than one IP addresses so socket.gethostbyname(socket.gethostname()) probably won't return the correct one.
-
Berker Peksag authored
A machine can have more than one IP addresses so socket.gethostbyname(socket.gethostname()) probably won't return the correct one.
-
Berker Peksag authored
Initial patch by Carlo Beccarini.
-
Berker Peksag authored
Initial patch by Carlo Beccarini.
-
Donald Stufft authored
-
Donald Stufft authored
-
Donald Stufft authored
-