Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Add more checks on the GIL | Victor Stinner | 2016-03-14 | 5 | -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 AIX | Victor Stinner | 2016-03-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | Fix regex for parse a pointer address. | |||||
* | | | Merge 3.5 (test_venv) | Victor Stinner | 2016-03-14 | 1 | -1/+10 | |
|\ \ \ | |/ / | ||||||
| * | | Fix test_venv on FreeBSD buildbot | Victor Stinner | 2016-03-14 | 1 | -1/+10 | |
| | | | | | | | | | | | | Ignore pip warning in test_venv.test_with_venv(). | |||||
* | | | _pickle: Fix load_counted_tuple(), use Py_ssize_t for size | Victor Stinner | 2016-03-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | Fix a warning on Windows 64-bit. | |||||
* | | | posix_getcwd(): limit to INT_MAX on Windows | Victor Stinner | 2016-03-14 | 1 | -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 Stinner | 2016-03-14 | 1 | -2/+7 | |
|\ \ \ | |/ / | ||||||
| * | | Skip test_site if USER_SITE cannot be created | Victor Stinner | 2016-03-14 | 1 | -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 system | Victor Stinner | 2016-03-14 | 1 | -11/+9 | |
| | | | | | | | | | | | | On 32-bit system, only 4 bytes after dumped for the tail. | |||||
* | | | Issue #26516: Fix test_capi on Windows | Victor Stinner | 2016-03-14 | 1 | -4/+8 | |
| | | | | | | | | | | | | Pointers are formatted differently. | |||||
* | | | Issue #26558: Remove useless check in tracemalloc | Victor Stinner | 2016-03-14 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | The first instruction of tracemalloc_add_trace() is traceback_new() which already checks the GIL. | |||||
* | | | Fix Py_FatalError() if called without the GIL | Victor Stinner | 2016-03-14 | 1 | -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 var | Victor Stinner | 2016-03-14 | 13 | -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 Storchaka | 2016-03-14 | 3 | -23/+22 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #20556: Used specific assert methods in threading tests. | Serhiy Storchaka | 2016-03-14 | 3 | -23/+22 | |
| | | | ||||||
* | | | Issue #747320: Use email.utils.formatdate() to avoid code duplication | Berker Peksag | 2016-03-14 | 2 | -6/+16 | |
| | | | | | | | | | | | | | | | | | | in BaseHTTPRequestHandler Initial patch by karlcow. | |||||
* | | | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵ | Berker Peksag | 2016-03-14 | 3 | -1/+11 | |
|\ \ \ | |/ / | | | | | | | datetime.MAXYEAR | |||||
| * | | Issue #16181: cookiejar.http2time() now returns None if year is higher than ↵ | Berker Peksag | 2016-03-14 | 3 | -1/+11 | |
| | | | | | | | | | | | | datetime.MAXYEAR | |||||
* | | | #24918: merge with 3.5. | Ezio Melotti | 2016-03-13 | 2 | -0/+6 | |
|\ \ \ | |/ / | ||||||
| * | | #24918: fix CSS for code blocks when a side box is present. Patch by Manvi B. | Ezio Melotti | 2016-03-13 | 2 | -0/+6 | |
| | | | ||||||
* | | | merge | Raymond Hettinger | 2016-03-13 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Minor recipe edit: convert "while 1" to "while True". | Raymond Hettinger | 2016-03-13 | 1 | -1/+1 | |
| | | | ||||||
* | | | #25687: merge with 3.5. | Ezio Melotti | 2016-03-13 | 2 | -4/+7 | |
|\ \ \ | |/ / | ||||||
| * | | #25687: clarify that errors in tearDown increase the total number of ↵ | Ezio Melotti | 2016-03-13 | 2 | -4/+7 | |
| | | | | | | | | | | | | reported errors. Initial patch by HyeSoo Park. | |||||
* | | | merge | Raymond Hettinger | 2016-03-13 | 1 | -2/+2 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26548: Minor fix to awkward wording in docs | Raymond Hettinger | 2016-03-13 | 1 | -2/+2 | |
| | | | ||||||
* | | | Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by ↵ | Steve Dower | 2016-03-12 | 2 | -4/+7 | |
|\ \ \ | |/ / | | | | | | | Bjoern Thiel. | |||||
| * | | Issue #26079: Fixing the build output folder for tix-8.4.3.6. Patch by ↵ | Steve Dower | 2016-03-12 | 2 | -4/+7 | |
| | | | | | | | | | | | | Bjoern Thiel. | |||||
* | | | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt. | Steve Dower | 2016-03-12 | 2 | -0/+8 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt. | Steve Dower | 2016-03-12 | 2 | -0/+8 | |
| | | | ||||||
* | | | Issue #26513: Fixes platform module detection of Windows Server | Steve Dower | 2016-03-12 | 2 | -1/+3 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26513: Fixes platform module detection of Windows Server | Steve Dower | 2016-03-12 | 2 | -1/+3 | |
| | | | ||||||
* | | | Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by | Serhiy Storchaka | 2016-03-12 | 3 | -7/+36 | |
|\ \ \ | |/ / | | | | | | | Tamás Bence Gedai. | |||||
| * | | Issue #23718: Fixed parsing time in week 0 before Jan 1. Original patch by | Serhiy Storchaka | 2016-03-12 | 4 | -7/+29 | |
| | | | | | | | | | | | | Tamás Bence Gedai. | |||||
* | | | Revert change 291d47954618 | Victor Stinner | 2016-03-12 | 1 | -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.5 | Victor Stinner | 2016-03-11 | 1 | -10/+10 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #20589: Fix test_pathlib | Victor Stinner | 2016-03-11 | 1 | -10/+10 | |
| | | | ||||||
* | | | Always test datetime.strftime("%4Y") | Victor Stinner | 2016-03-11 | 1 | -2/+2 | |
| | | | | | | | | | | | | Issue #13305: Always test datetime.datetime.strftime("%4Y") for years < 1900. | |||||
* | | | Add Mock.assert_called() | Victor Stinner | 2016-03-11 | 6 | -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 documentation | Berker Peksag | 2016-03-11 | 1 | -5/+3 | |
|\ \ \ | |/ / | | | | | | | Patch by Dmitry Shachnev. | |||||
| * | | Issue #26542: Fix markup of code example in difflib documentation | Berker Peksag | 2016-03-11 | 1 | -5/+3 | |
| | | | | | | | | | | | | Patch by Dmitry Shachnev. | |||||
* | | | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise | Berker Peksag | 2016-03-11 | 3 | -0/+18 | |
|\ \ \ | |/ / | | | | | | | NotImplementedError instead of ImportError. | |||||
| * | | Issue #20589: Invoking Path.owner() and Path.group() on Windows now raise | Berker Peksag | 2016-03-11 | 3 | -0/+18 | |
| | | | | | | | | | | | | NotImplementedError instead of ImportError. | |||||
* | | | Merge with 3.5 | Terry Jan Reedy | 2016-03-11 | 1 | -4/+8 | |
|\ \ \ | |/ / | ||||||
| * | | Issue 25959: Explain in docstring that PhotoImage.zoom arguments are | Terry Jan Reedy | 2016-03-11 | 1 | -4/+8 | |
| | | | | | | | | | | | | | | | multipliers, not final sizes. Explain y default for .zoom and .subsample. Initial patch by Serhiy Storchaka. | |||||
* | | | Merge 3.5 (malloc doc) | Victor Stinner | 2016-03-09 | 1 | -43/+77 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26516: Enhance Python mem allocators doc | Victor Stinner | 2016-03-09 | 1 | -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 Storchaka | 2016-03-09 | 6 | -138/+183 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #26177: Fixed the keys() method for Canvas and Scrollbar widgets. | Serhiy Storchaka | 2016-03-09 | 6 | -138/+183 | |
| | | | | | | | | | | | | Added few missed tests for configure options. | |||||
* | | | Issue #21042: Return full path in ctypes.util.find_library() on Linux | Martin Panter | 2016-03-10 | 5 | -22/+37 | |
| | | | | | | | | | | | | Patch by Tamás Bence Gedai. |