summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Add more checks on the GILVictor Stinner2016-03-145-5/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #10915, #15751, #26558: * PyGILState_Check() now returns 1 (success) before the creation of the GIL and after the destruction of the GIL. It allows to use the function early in Python initialization and late in Python finalization. * Add a flag to disable PyGILState_Check(). Disable PyGILState_Check() when Py_NewInterpreter() is called * Add assert(PyGILState_Check()) to: _Py_dup(), _Py_fstat(), _Py_read() and _Py_write()
* | | Issue #26516: Fix test_capi on AIXVictor Stinner2016-03-141-1/+1
| | | | | | | | | | | | Fix regex for parse a pointer address.
* | | Merge 3.5 (test_venv)Victor Stinner2016-03-141-1/+10
|\ \ \ | |/ /
| * | Fix test_venv on FreeBSD buildbotVictor Stinner2016-03-141-1/+10
| | | | | | | | | | | | Ignore pip warning in test_venv.test_with_venv().
* | | _pickle: Fix load_counted_tuple(), use Py_ssize_t for sizeVictor Stinner2016-03-141-1/+1
| | | | | | | | | | | | Fix a warning on Windows 64-bit.
* | | posix_getcwd(): limit to INT_MAX on WindowsVictor Stinner2016-03-141-0/+10
| | | | | | | | | | | | | | | It's more to fix a conversion warning during compilation, I don't think that Windows support current working directory larger than 2 GB ...
* | | Merge 3.5 (test_site)Victor Stinner2016-03-141-2/+7
|\ \ \ | |/ /
| * | Skip test_site if USER_SITE cannot be createdVictor Stinner2016-03-141-2/+7
| | | | | | | | | | | | | | | Issue #17758: Skip test_site if site.USER_SITE directory doesn't exist and cannot be created.
* | | Issue #26516: Fix test_capi on 32-bit systemVictor Stinner2016-03-141-11/+9
| | | | | | | | | | | | On 32-bit system, only 4 bytes after dumped for the tail.
* | | Issue #26516: Fix test_capi on WindowsVictor Stinner2016-03-141-4/+8
| | | | | | | | | | | | Pointers are formatted differently.
* | | Issue #26558: Remove useless check in tracemallocVictor Stinner2016-03-141-4/+0
| | | | | | | | | | | | | | | The first instruction of tracemalloc_add_trace() is traceback_new() which already checks the GIL.
* | | Fix Py_FatalError() if called without the GILVictor Stinner2016-03-141-34/+50
| | | | | | | | | | | | | | | | | | Issue #26558: If Py_FatalError() is called without the GIL, don't try to print the current exception, nor try to flush stdout and stderr: only dump the traceback of Python threads.
* | | Add PYTHONMALLOC env varVictor Stinner2016-03-1413-90/+383
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26516: * Add PYTHONMALLOC environment variable to set the Python memory allocators and/or install debug hooks. * PyMem_SetupDebugHooks() can now also be used on Python compiled in release mode. * The PYTHONMALLOCSTATS environment variable can now also be used on Python compiled in release mode. It now has no effect if set to an empty string. * In debug mode, debug hooks are now also installed on Python memory allocators when Python is configured without pymalloc.
* | | Issue #20556: Used specific assert methods in threading tests.Serhiy Storchaka2016-03-143-23/+22
|\ \ \ | |/ /
| * | Issue #20556: Used specific assert methods in threading tests.Serhiy Storchaka2016-03-143-23/+22
| | |
* | | Issue #747320: Use email.utils.formatdate() to avoid code duplicationBerker Peksag2016-03-142-6/+16
| | | | | | | | | | | | | | | | | | in BaseHTTPRequestHandler Initial patch by karlcow.
* | | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵Berker Peksag2016-03-143-1/+11
|\ \ \ | |/ / | | | | | | datetime.MAXYEAR
| * | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵Berker Peksag2016-03-143-1/+11
| | | | | | | | | | | | datetime.MAXYEAR
* | | #24918: merge with 3.5.Ezio Melotti2016-03-132-0/+6
|\ \ \ | |/ /
| * | #24918: fix CSS for code blocks when a side box is present. Patch by Manvi B.Ezio Melotti2016-03-132-0/+6
| | |
* | | mergeRaymond Hettinger2016-03-131-1/+1
|\ \ \ | |/ /
| * | Minor recipe edit: convert "while 1" to "while True".Raymond Hettinger2016-03-131-1/+1
| | |
* | | #25687: merge with 3.5.Ezio Melotti2016-03-132-4/+7
|\ \ \ | |/ /
| * | #25687: clarify that errors in tearDown increase the total number of ↵Ezio Melotti2016-03-132-4/+7
| | | | | | | | | | | | reported errors. Initial patch by HyeSoo Park.
* | | mergeRaymond Hettinger2016-03-131-2/+2
|\ \ \ | |/ /
| * | Issue #26548: Minor fix to awkward wording in docsRaymond Hettinger2016-03-131-2/+2
| | |
* | | Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by ↵Steve Dower2016-03-122-4/+7
|\ \ \ | |/ / | | | | | | Bjoern Thiel.
| * | Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by ↵Steve Dower2016-03-122-4/+7
| | | | | | | | | | | | Bjoern Thiel.
* | | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.Steve Dower2016-03-122-0/+8
|\ \ \ | |/ /
| * | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.Steve Dower2016-03-122-0/+8
| | |
* | | Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-03-122-1/+3
|\ \ \ | |/ /
| * | Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-03-122-1/+3
| | |
* | | Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch bySerhiy Storchaka2016-03-123-7/+36
|\ \ \ | |/ / | | | | | | Tamás Bence Gedai.
| * | Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch bySerhiy Storchaka2016-03-124-7/+29
| | | | | | | | | | | | Tamás Bence Gedai.
* | | Revert change 291d47954618Victor Stinner2016-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Revert: "Always test datetime.strftime("%4Y") Issue #13305: Always test datetime.datetime.strftime("%4Y") for years < 1900." In fact, strftime("%4Y") fails on most platforms.
* | | Merge 3.5Victor Stinner2016-03-111-10/+10
|\ \ \ | |/ /
| * | Issue #20589: Fix test_pathlibVictor Stinner2016-03-111-10/+10
| | |
* | | Always test datetime.strftime("%4Y")Victor Stinner2016-03-111-2/+2
| | | | | | | | | | | | Issue #13305: Always test datetime.datetime.strftime("%4Y") for years < 1900.
* | | Add Mock.assert_called()Victor Stinner2016-03-116-0/+83
| | | | | | | | | | | | | | | Issue #26323: Add assert_called() and assert_called_once() methods to unittest.mock.Mock.
* | | Issue #26542: Fix markup of code example in difflib documentationBerker Peksag2016-03-111-5/+3
|\ \ \ | |/ / | | | | | | Patch by Dmitry Shachnev.
| * | Issue #26542: Fix markup of code example in difflib documentationBerker Peksag2016-03-111-5/+3
| | | | | | | | | | | | Patch by Dmitry Shachnev.
* | | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raiseBerker Peksag2016-03-113-0/+18
|\ \ \ | |/ / | | | | | | NotImplementedError instead of ImportError.
| * | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raiseBerker Peksag2016-03-113-0/+18
| | | | | | | | | | | | NotImplementedError instead of ImportError.
* | | Merge with 3.5Terry Jan Reedy2016-03-111-4/+8
|\ \ \ | |/ /
| * | Issue 25959: Explain in docstring that PhotoImage.zoom arguments areTerry Jan Reedy2016-03-111-4/+8
| | | | | | | | | | | | | | | multipliers, not final sizes. Explain y default for .zoom and .subsample. Initial patch by Serhiy Storchaka.
* | | Merge 3.5 (malloc doc)Victor Stinner2016-03-091-43/+77
|\ \ \ | |/ /
| * | Issue #26516: Enhance Python mem allocators docVictor Stinner2016-03-091-43/+77
| | | | | | | | | | | | | | | | | | | | | * add link to PYTHONMALLOCSTATS env var * add parameters to PyMem macros like PyMem_MALLOC() * fix PyMem_SetupDebugHooks(): add Calloc functions * add some newlines for readability
* | | Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.Serhiy Storchaka2016-03-096-138/+183
|\ \ \ | |/ /
| * | Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets.Serhiy Storchaka2016-03-096-138/+183
| | | | | | | | | | | | Added few missed tests for configure options.
* | | Issue #21042: Return full path in ctypes.util.find_library() on LinuxMartin Panter2016-03-105-22/+37
| | | | | | | | | | | | Patch by Tamás Bence Gedai.