Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #6477: Merge with 3.3. | Alexandre Vassalotti | 2013-12-01 | 6 | -4/+58 |
|\ | |||||
| * | Issue #6477: Added support for pickling the types of built-in singletons. | Alexandre Vassalotti | 2013-12-01 | 6 | -4/+58 |
| | | |||||
* | | asyncio: Use Interface instead of ABC. Fixes issue 19726. | Guido van Rossum | 2013-11-30 | 3 | -11/+11 |
| | | |||||
* | | Issue #19845: Updated the Compiling Python on Windows docs. | Zachary Ware | 2013-11-30 | 2 | -13/+11 |
|\ \ | |/ | |||||
| * | Issue #19845: Updated the Compiling Python on Windows docs. | Zachary Ware | 2013-11-30 | 2 | -8/+12 |
| | | |||||
* | | Closes #19789: Merged update from 3.3. | Vinay Sajip | 2013-11-30 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #19789: Clarified documentation for logging.disable. | Vinay Sajip | 2013-11-30 | 1 | -2/+4 |
| | | |||||
* | | Merge with 3.3. | Alexandre Vassalotti | 2013-11-30 | 3 | -19/+26 |
|\ \ | |/ | |||||
| * | Fixed _pickle.Unpickler to handle empty persistent IDs correctly. | Alexandre Vassalotti | 2013-11-30 | 3 | -19/+26 |
| | | |||||
* | | Issue #17897: Optimized unpickle prefetching. | Serhiy Storchaka | 2013-11-30 | 2 | -30/+24 |
| | | |||||
* | | Issue #19088: Merge with 3.3. | Alexandre Vassalotti | 2013-11-30 | 2 | -17/+23 |
|\ \ | |/ | |||||
| * | Issue #19088: Fix incorrect caching of the copyreg module. | Alexandre Vassalotti | 2013-11-30 | 2 | -17/+23 |
| | | | | | | | | This fix does not cause any degradation in performance. | ||||
* | | Issue #19728: don't be sensitive to line endings | Nick Coghlan | 2013-11-30 | 1 | -9/+5 |
| | | |||||
* | | Issue #19726: actually running 'hg add' helps... | Nick Coghlan | 2013-11-30 | 1 | -0/+30 |
| | | |||||
* | | Issue #19728: add private ensurepip._uninstall CLI | Nick Coghlan | 2013-11-30 | 3 | -18/+149 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | MvL would like to be able to preserve CPython's existing clean uninstall behaviour on Windows before enabling the pip installation option by default. This private CLI means running "python -m ensurepip._uninstall" will remove pip and setuptools before proceeding with the rest of the uninstallation process. If the version of pip differs from the one bootstrapped by CPython, then the uninstallation helper will leave it alone (just like any other pip installed packages) | ||||
* | | Fix and test pip version consistency | Nick Coghlan | 2013-11-30 | 3 | -2/+4 |
| | | |||||
* | | Issue #3693: Fix array obscure error message when given a str. | Alexandre Vassalotti | 2013-11-30 | 3 | -18/+43 |
| | | |||||
* | | Null merge | Zachary Ware | 2013-11-30 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #19595: Re-enable a long-disabled test in test_winsound | Zachary Ware | 2013-11-28 | 2 | -12/+10 |
| | | |||||
* | | More realistic example for selectors.py. | Guido van Rossum | 2013-11-29 | 1 | -30/+37 |
| | | |||||
* | | Null merge | Serhiy Storchaka | 2013-11-29 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Revert unrelated changes introduced by changeset b2066bc8cab9 (issue #19795). | Serhiy Storchaka | 2013-11-29 | 1 | -10/+0 |
| | | |||||
* | | Issue #19712: Port test.test_importlib.import_ tests to use PEP 451 | Brett Cannon | 2013-11-29 | 3 | -16/+68 |
| | | | | | | | | that don't require changing test.test_importlib.util.mock_modules(). | ||||
* | | Remove trailing blanks. | Charles-François Natali | 2013-11-29 | 1 | -7/+7 |
| | | |||||
* | | Set the FDs non-blocking in the selectors example. | Charles-François Natali | 2013-11-29 | 1 | -9/+12 |
| | | |||||
* | | asyncio: Add 'shield' to __all__. | Guido van Rossum | 2013-11-29 | 1 | -1/+1 |
| | | |||||
* | | Issue #19698: Remove exec_module() from the built-in and extension | Brett Cannon | 2013-11-29 | 5 | -4324/+4234 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | module loaders. Due to the fact that the call signatures for extension modules and built-in modules does not allow for the specifying of what module to initialize and that on Windows all extension modules are built-in modules, work to clean up built-in and extension module initialization will have to wait until Python 3.5. Because of this the semantics of exec_module() would be incorrect, so removing the methods for now is the best option; load_module() is still used as a fallback by importlib and so this won't affect semantics. | ||||
* | | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 44 | -87/+93 |
|\ \ | |/ | |||||
| * | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 41 | -80/+92 |
| | | |||||
* | | Use PyDict_GetItemWithError instead of PyDict_GetItem in cpickle. | Alexandre Vassalotti | 2013-11-29 | 1 | -12/+35 |
| | | |||||
* | | Remove explicit empty tuple reuse in cpickle. | Alexandre Vassalotti | 2013-11-28 | 1 | -12/+6 |
| | | | | | | | | | | | | PyTuple_New(0) always returns the same empty tuple from its free list anyway, so we are not saving much here. Plus, the code where this was used is on uncommon run paths. | ||||
* | | Remove the tuple reuse optimization in _Pickle_FastCall. | Alexandre Vassalotti | 2013-11-28 | 1 | -30/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have noticed a race-condition occurring on one of the buildbots because of this optimization. The function called may release the GIL which means multiple threads may end up accessing the shared tuple. I could fix it up by storing the tuple to the Pickler and Unipickler object again, but honestly it really not worth the trouble. I ran many benchmarks and the only time the optimization helps is when using a fin-memory file, like io.BytesIO on which reads are super cheap, combined with pickle protocol less than 4. Even in this contrived case, the speedup is a about 5%. For everything else, this optimization does not provide any noticable improvements. | ||||
* | | Some minor clarifications in the documentation of pathlib + inheritance diagram | Eli Bendersky | 2013-11-28 | 2 | -68/+80 |
| | | |||||
* | | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 2 | -1/+9 |
|\ \ | |/ | | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
| * | Fix indentation from previous commit | Eli Bendersky | 2013-11-28 | 1 | -2/+2 |
| | | |||||
| * | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 2 | -1/+9 |
| | | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
* | | SNI was added in OpenSSL 0.9.8f [11 Oct 2007], too | Christian Heimes | 2013-11-28 | 1 | -1/+1 |
| | | |||||
* | | ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME | Christian Heimes | 2013-11-28 | 2 | -0/+4 |
| | | |||||
* | | Issue #19595: Re-enable a long-disabled test in test_winsound | Zachary Ware | 2013-11-28 | 2 | -12/+10 |
| | | |||||
* | | Encapsulate cpickle global state in a dedicated object. | Alexandre Vassalotti | 2013-11-28 | 1 | -270/+426 |
| | | | | | | | | | | This implements PEP 3121 module finalization as well. This change does not cause any significant impact on performance. | ||||
* | | Change pathlib documentation to use "raise" instead of "throw". | Ned Deily | 2013-11-27 | 1 | -2/+2 |
| | | |||||
* | | Issue #19818: tracemalloc, the number of frame limit cannot be zero anymore | Victor Stinner | 2013-11-27 | 1 | -3/+3 |
| | | |||||
* | | asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() ↵ | Guido van Rossum | 2013-11-27 | 2 | -78/+207 |
| | | | | | | | | accept bytearray/memoryview too. Change some asserts with proper exceptions. | ||||
* | | Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames | Victor Stinner | 2013-11-27 | 2 | -27/+40 |
| | | | | | | | | | | | | | | | | The limit is now 178,956,969 on 64 bit (it is greater on 32 bit because structures are smaller). Use int instead of Py_ssize_t to store the number of frames to have smaller traceback_t objects. | ||||
* | | Close #19798: replace "maximum" term with "peak" in get_traced_memory() | Victor Stinner | 2013-11-27 | 3 | -21/+21 |
| | | | | | | | | documentation. Use also the term "current" for the current size. | ||||
* | | asyncio: Fix get_event_loop() to call set_event_loop() when setting the ↵ | Guido van Rossum | 2013-11-27 | 2 | -1/+17 |
| | | | | | | | | loop. By Anthony Baire. | ||||
* | | add SO_PRIORITY (closes #19802) | Benjamin Peterson | 2013-11-27 | 2 | -0/+5 |
| | | | | | | | | Patch by Claudiu Popa. | ||||
* | | Combine the FastCall functions in cpickle. | Alexandre Vassalotti | 2013-11-27 | 1 | -90/+42 |
| | | | | | | | | | | I fixed the bug that was in my previous attempt of this cleanup. I ran the full test suite to verify I didn't introduce any obvious bugs. | ||||
* | | Skip test_find_mac on Windows (issue #19804). | Serhiy Storchaka | 2013-11-27 | 1 | -0/+1 |
|\ \ | |/ | | | | | This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin. | ||||
| * | Skip test_find_mac on Windows (issue #19804). | Serhiy Storchaka | 2013-11-27 | 1 | -0/+1 |
| | | | | | | | | This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin. |