- 20 Jan, 2016 14 commits
-
-
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
-
- 19 Jan, 2016 15 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Victor Stinner authored
-
Victor Stinner authored
Issue #11816: Fix bytecode_helper to handle correctly errors. Don't use unassigned variables.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
Debugging by Eryk Sun.
-
Senthil Kumaran authored
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation. Patch contributed by Ryder Lewis.
-
Senthil Kumaran authored
Patch contributed by Ryder Lewis.
-
Martin Panter authored
-
Martin Panter authored
The previous test relied on a remote server, which currently seems to be shutting the connection down once TLS has been set up, causing an EOFError. Now the test is implemented using a minimal NNTP server running in a background thread.
-
Berker Peksag authored
Some dependencies of pip import threading module unconditionally so we need to skip the test to make buildbots happy.
-
Berker Peksag authored
Some dependencies of pip import threading module unconditionally so we need to skip the test to make buildbots happy.
-
- 18 Jan, 2016 11 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
in old Python 3 versions (3.4.3 and lower).
-
Serhiy Storchaka authored
in old Python 3 versions (3.4.3 and lower).
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Victor Stinner authored
Issue #26100: * Add subprocess._optim_args_from_interpreter_flags() * Add test.support.optim_args_from_interpreter_flags() * Use new functions in distutils, test_cmd_line_script, test_compileall and test_inspect The change enables test_details() test of test_inspect when -O or -OO command line option is used.
-
Victor Stinner authored
Issue #26101: Exclude Lib/test/ from sys.path in test_compilepath(). The directory contains invalid Python files like Lib/test/badsyntax_pep3120.py, whereas the test ensures that all files can be compiled.
-
Georg Brandl authored
-
Georg Brandl authored
-