summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Add TCP_CONGESTION and TCP_USER_TIMEOUTVictor Stinner2016-11-291-0/+6
| | | | | | | Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants. Patch written by Omar Sandoval.
* Issue #28792: Remove aliases from _bisectVictor Stinner2016-11-241-7/+0
| | | | | | | | | Remove aliases from the C module. Always implement bisect() and insort() aliases in bisect.py Remove also the "# backward compatibility" command, there is no plan to deprecate nor remove these aliases. When keys are equal, it makes sense to use bisect.bisect() and bisect.insort().
* Issue #28765: _sre.compile() now checks the type of groupindex and indexgroupVictor Stinner2016-11-223-8/+8
| | | | | | groupindex must a dictionary and indexgroup must be a tuple. Previously, indexgroup was a list. Use a tuple to reduce the memory usage.
* Merge 3.6Victor Stinner2016-11-221-1/+7
|\
| * Issue #28727: Optimize pattern_richcompare() for a==aVictor Stinner2016-11-221-0/+6
| | | | | | | | A pattern is equal to itself.
| * Issue #28727: Fix typo in pattern_richcompare()Victor Stinner2016-11-221-1/+1
| | | | | | | | Typo catched by Serhiy Storchaka, thanks!
* | Issue #28752: Restored the __reduce__() methods of datetime objects.Serhiy Storchaka2016-11-211-8/+26
|\ \ | |/
| * Issue #28752: Restored the __reduce__() methods of datetime objects.Serhiy Storchaka2016-11-211-8/+26
| |
* | Merge 3.6Victor Stinner2016-11-211-6/+67
|\ \ | |/
| * Implement rich comparison for _sre.SRE_PatternVictor Stinner2016-11-211-6/+67
| | | | | | | | | | | | | | Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by re.compile(), become comparable (only x==y and x!=y operators). This change should fix the issue #18383: don't duplicate warning filters when the warnings module is reloaded (thing usually only done in unit tests).
* | Issue #28532: Show sys.version when -V option is supplied twiceINADA Naoki2016-11-211-1/+2
|\ \ | |/
| * Issue #28532: Show sys.version when -V option is supplied twiceINADA Naoki2016-11-211-1/+2
| |
* | Issue #25659: Merge ctypes fix from 3.6Martin Panter2016-11-201-3/+9
|\ \ | |/
| * Issue #25659: Merge ctypes fix from 3.5Martin Panter2016-11-201-3/+9
| |\
| | * Issue #25659: Change assert to TypeError in from_buffer/_copy()Martin Panter2016-11-201-3/+9
| | | | | | | | | | | | Based on suggestion by Eryk Sun.
* | | Issue #10656: Merge AIX build fix from 3.6Martin Panter2016-11-201-0/+1
|\ \ \ | |/ /
| * | Issue #10656: Merge AIX build fix from 3.5Martin Panter2016-11-201-0/+1
| |\ \ | | |/
| | * Issue #10656: Fix out-of-tree building on AIXMartin Panter2016-11-201-0/+1
| | | | | | | | | | | | | | | The ld_so_aix script and python.exp file are created in the build directory. Patch by Tristan Carel and Michael Haubenwallner.
* | | Issue #19569: Compiler warnings are now emitted if use most of deprecatedSerhiy Storchaka2016-11-202-10/+6
| | | | | | | | | | | | functions.
* | | Added the const qualifier to char* variables that refer to readonly internalSerhiy Storchaka2016-11-2012-20/+20
| | | | | | | | | | | | UTF-8 represenatation of Unicode objects.
* | | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSizeSerhiy Storchaka2016-11-2017-32/+32
|\ \ \ | |/ / | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
| * | Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSizeSerhiy Storchaka2016-11-2017-32/+32
| | | | | | | | | | | | with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
* | | Issue #28715: Added error checks for PyUnicode_AsUTF8().Serhiy Storchaka2016-11-203-7/+11
|\ \ \ | |/ /
| * | Issue #28715: Added error checks for PyUnicode_AsUTF8().Serhiy Storchaka2016-11-203-7/+11
| |\ \ | | |/
| | * Issue #28715: Added error checks for PyUnicode_AsUTF8().Serhiy Storchaka2016-11-203-7/+11
| | |
* | | Issue #28732: Raise ValueError when argv[0] is emptySteve Dower2016-11-201-0/+34
|\ \ \ | |/ /
| * | Issue #28732: Raise ValueError when argv[0] is emptySteve Dower2016-11-201-0/+34
| |\ \ | | |/
| | * Issue #28732: Raise ValueError when argv[0] is empty.Steve Dower2016-11-201-0/+9
| | |
* | | Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of ↵Steve Dower2016-11-201-0/+10
|\ \ \ | |/ / | | | | | | arguments
| * | Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of ↵Steve Dower2016-11-201-0/+10
| | | | | | | | | | | | arguments
* | | Merge from 3.6Steve Dower2016-11-201-2/+7
|\ \ \ | |/ /
| * | Merge from 3.5 and fix a few other functions missing IPH handling.Steve Dower2016-11-201-2/+7
| |\ \ | | |/
| | * Issue #28732: Fix crash in os.spawnv() with no elements in argsSteve Dower2016-11-201-0/+16
| | | | | | | | | | | | Prevents crashes in some other posixmodule.c functions
* | | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-169-40/+39
|\ \ \ | |/ / | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
| * | Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-169-40/+39
| |\ \ | | |/ | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
| | * Issue #28701: Replace PyUnicode_CompareWithASCIIString with ↵Serhiy Storchaka2016-11-168-37/+36
| | | | | | | | | | | | | | | | | | _PyUnicode_EqualToASCIIString. The latter function is more readable, faster and doesn't raise exceptions.
* | | merge 3.6Benjamin Peterson2016-11-141-19/+34
|\ \ \ | |/ /
| * | correctly emulate error semantics of gen.throw in FutureIter_throwBenjamin Peterson2016-11-141-19/+34
| | |
* | | Merge AIX fixes from 3.6Martin Panter2016-11-141-1/+3
|\ \ \ | |/ /
| * | Merge AIX fixes from 3.5 into 3.6Martin Panter2016-11-141-1/+3
| |\ \ | | |/
| | * Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPATMartin Panter2016-11-141-1/+3
| | | | | | | | | | | | Patch by Matthieu S.
* | | Issue #19398: Extra slash no longer added to sys.path components in case ofSerhiy Storchaka2016-11-111-1/+4
|\ \ \ | |/ / | | | | | | | | | empty compile-time PYTHONPATH components. This fixes some tests in -S or -I modes.
| * | Issue #19398: Extra slash no longer added to sys.path components in case ofSerhiy Storchaka2016-11-111-1/+4
| |\ \ | | |/ | | | | | | | | | empty compile-time PYTHONPATH components. This fixes some tests in -S or -I modes.
| | * Issue #19398: Extra slash no longer added to sys.path components in case ofSerhiy Storchaka2016-11-111-1/+4
| | | | | | | | | | | | | | | empty compile-time PYTHONPATH components. This fixes some tests in -S or -I modes.
* | | Merge 3.6 (issue #28653)Yury Selivanov2016-11-091-2/+6
|\ \ \ | |/ /
| * | Merge 3.6 (issue #28653)Yury Selivanov2016-11-091-2/+6
| |\ \ | | |/
| | * Issue #28653: Fix a refleak in functools.lru_cache.Yury Selivanov2016-11-091-2/+6
| | |
* | | Merge 3.6 (issue #26081)Yury Selivanov2016-11-091-1/+3
|\ \ \ | |/ /
| * | Issue #26081: Fix refleak in _asyncio.Future.__iter__().throw.Yury Selivanov2016-11-091-1/+3
| | |
* | | Issue #28585: Restored docstring of os._isdir().Serhiy Storchaka2016-11-082-6/+5
|\ \ \ | |/ /