summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * fix refleak in error conditionBenjamin Peterson2016-01-211-0/+1
| | |
* | | merge 3.5 (#26172)Benjamin Peterson2016-01-211-1/+1
|\ \ \ | |/ /
| * | merge 3.4 (#26172)Benjamin Peterson2016-01-211-1/+1
| |\ \ | | |/
| | * remove script from epub (closes #26172)Benjamin Peterson2016-01-211-1/+1
| | |
* | | Merge 3.5 (issue #24520)Victor Stinner2016-01-201-6/+2
|\ \ \ | |/ /
| * | Replace fpgetmask() with fedisableexcept()Victor Stinner2016-01-201-6/+2
| | | | | | | | | | | | | | | Issue #24520: On FreeBSD, fpgetmask() was deprecated long time ago. fedisableexcept() is now preferred.
* | | co_lnotab supports negative line number deltaVictor Stinner2016-01-2011-161/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | merge from 3.5Senthil Kumaran2016-01-201-15/+17
|\ \ \ | |/ / | | | | | | issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.
| * | issue25982 - Add a class definition for managers.Namespace in the ↵Senthil Kumaran2016-01-201-15/+17
| | | | | | | | | | | | multiprocessing docs.
* | | Merge 3.5Victor Stinner2016-01-207-26/+42
|\ \ \ | |/ / | | | | | | Issue #26154: Add a new private _PyThreadState_UncheckedGet() function.
| * | Add _PyThreadState_UncheckedGet()Victor Stinner2016-01-207-26/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Issue #26147: xmlrpc now works with strings not encodable with usedSerhiy Storchaka2016-01-204-11/+30
|\ \ \ | |/ / | | | | | | non-UTF-8 encoding.
| * | Issue #26147: xmlrpc now works with strings not encodable with usedSerhiy Storchaka2016-01-204-11/+30
| | | | | | | | | | | | non-UTF-8 encoding.
* | | Issue #5626: Remove misleading comment from socket.gethostname() documentationBerker Peksag2016-01-201-5/+0
|\ \ \ | |/ / | | | | | | | | | | | | A machine can have more than one IP addresses so socket.gethostbyname(socket.gethostname()) probably won't return the correct one.
| * | Issue #5626: Remove misleading comment from socket.gethostname() documentationBerker Peksag2016-01-201-5/+0
| | | | | | | | | | | | | | | | | | A machine can have more than one IP addresses so socket.gethostbyname(socket.gethostname()) probably won't return the correct one.
* | | Issue #26157: Fix typos in asyncio-eventloop.rstBerker Peksag2016-01-201-4/+4
|\ \ \ | |/ / | | | | | | Initial patch by Carlo Beccarini.
| * | Issue #26157: Fix typos in asyncio-eventloop.rstBerker Peksag2016-01-201-4/+4
| | | | | | | | | | | | Initial patch by Carlo Beccarini.
* | | Merge update to pip/setuptoolsDonald Stufft2016-01-203-2/+2
|\ \ \ | |/ /
| * | Merge update to pip/setuptoolsDonald Stufft2016-01-203-2/+2
| |\ \ | | |/
| | * Update pip to 8.0.0 and setuptools to 19.4Donald Stufft2016-01-203-2/+2
| | |
* | | Issue #25935: Garbage collector now breaks reference loops with OrderedDict.Serhiy Storchaka2016-01-193-13/+29
|\ \ \ | |/ /
| * | Issue #25935: Garbage collector now breaks reference loops with OrderedDict.Serhiy Storchaka2016-01-193-13/+29
| | |
* | | Issue #16620: Got rid of using undocumented function glob.glob1().Serhiy Storchaka2016-01-191-2/+8
| | |
* | | Issue #16620: Fixed AttributeError in msilib.Directory.glob().Serhiy Storchaka2016-01-192-1/+7
|\ \ \ | |/ /
| * | Issue #16620: Fixed AttributeError in msilib.Directory.glob().Serhiy Storchaka2016-01-192-1/+7
| | |
* | | Merge 3.5Victor Stinner2016-01-191-2/+2
|\ \ \ | |/ /
| * | Fix BytecodeTestCase.assertNotInBytecode()Victor Stinner2016-01-191-2/+2
| | | | | | | | | | | | | | | Issue #11816: Fix bytecode_helper to handle correctly errors. Don't use unassigned variables.
* | | merge 3.5 (#25731)Benjamin Peterson2016-01-193-1/+11
|\ \ \ | |/ /
| * | set tp_new from the class in the hierarchy that actually owns the descriptor ↵Benjamin Peterson2016-01-193-1/+11
| | | | | | | | | | | | | | | | | | (closes #25731) Debugging by Eryk Sun.
* | | merge from 3.5Senthil Kumaran2016-01-191-16/+27
|\ \ \ | |/ / | | | | | | | | | | | | issue23962 - Reference the correct TimeoutError in concurrent.futures documentation. Patch contributed by Ryder Lewis.
| * | issue23962 - Reference the correct TimeoutError in concurrent.futures ↵Senthil Kumaran2016-01-191-16/+27
| | | | | | | | | | | | | | | | | | documentation. Patch contributed by Ryder Lewis.
* | | Issue #25859: Merge NNTP test server from 3.5Martin Panter2016-01-191-18/+64
|\ \ \ | |/ /
| * | Issue #25859: Reimplement NNTP test_starttls() using local serverMartin Panter2016-01-191-18/+64
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Issue #25366: Skip test_with_pip when threading module is not availableBerker Peksag2016-01-191-0/+7
|\ \ \ | |/ / | | | | | | | | | Some dependencies of pip import threading module unconditionally so we need to skip the test to make buildbots happy.
| * | Issue #25366: Skip test_with_pip when threading module is not availableBerker Peksag2016-01-191-0/+7
| | | | | | | | | | | | | | | Some dependencies of pip import threading module unconditionally so we need to skip the test to make buildbots happy.
* | | Added exceptins for testing non-reversible import mapping for Issue #26013.Serhiy Storchaka2016-01-181-0/+2
|\ \ \ | |/ /
| * | Added exceptins for testing non-reversible import mapping for Issue #26013.Serhiy Storchaka2016-01-181-0/+2
| | |
* | | Issue #26013: Added compatibility with broken protocol 2 pickles createdSerhiy Storchaka2016-01-182-0/+10
|\ \ \ | |/ / | | | | | | in old Python 3 versions (3.4.3 and lower).
| * | Issue #26013: Added compatibility with broken protocol 2 pickles createdSerhiy Storchaka2016-01-182-0/+10
| | | | | | | | | | | | in old Python 3 versions (3.4.3 and lower).
* | | Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.Serhiy Storchaka2016-01-181-3/+53
|\ \ \ | |/ /
| * | Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.Serhiy Storchaka2016-01-181-3/+53
| | |
* | | Issue #26129: Deprecated accepting non-integers in grp.getgrgid().Serhiy Storchaka2016-01-184-5/+31
| | |
* | | subprocess._optim_args_from_interpreter_flags()Victor Stinner2016-01-186-18/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix test_compilepath() of test_compileallVictor Stinner2016-01-181-0/+12
| | | | | | | | | | | | | | | | | | 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.
* | | Fix indentation of continuation lines.Georg Brandl2016-01-182-3/+3
| | |
* | | Fix two instances of wrong indentation.Georg Brandl2016-01-181-2/+2
| | |
* | | Issue26069 - Update whatsnew/3.6.rst on traceback module's api removals.Senthil Kumaran2016-01-181-0/+7
| | |
* | | Merge from 3.5Senthil Kumaran2016-01-181-2/+4
|\ \ \ | |/ / | | | | | | Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.
| * | Issue26017 - Suggest enclosing command args in double quotes when using ↵Senthil Kumaran2016-01-181-2/+4
| | | | | | | | | | | | characters which get interpreted by shell.
* | | Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).Stefan Krah2016-01-171-0/+5
| | |