Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #Issue 20456: Several improvements and bugfixes for Argument Clinic, | Larry Hastings | 2014-02-01 | 1 | -2/+10 |
| | | | | | including correctly generating code for Clinic blocks inside C preprocessor conditional blocks. | ||||
* | Issue #20162: Fix an alignment issue in the siphash24() hash function which | Victor Stinner | 2014-02-01 | 1 | -1/+1 |
| | | | | caused a crash on PowerPC 64-bit (ppc64). | ||||
* | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -26/+26 |
| | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date). | ||||
* | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 2 | -25/+25 |
| | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. | ||||
* | Issue #2382: SyntaxError cursor "^" now is written at correct position in most | Serhiy Storchaka | 2014-01-21 | 1 | -2/+12 |
|\ | | | | | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters. | ||||
| * | Issue #2382: SyntaxError cursor "^" now is written at correct position in most | Serhiy Storchaka | 2014-01-21 | 1 | -2/+12 |
| | | | | | | | | | | cases when multibyte characters are in line (before "^"). This still not works correctly with wide East Asian characters. | ||||
* | | Issue #20024: Py_BuildValue() now saves/restores the current exception before | Victor Stinner | 2014-01-21 | 1 | -1/+11 |
| | | | | | | | | building an item if the build of a previous item failed. | ||||
* | | Merge from 3.3. | Stefan Krah | 2014-01-20 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H. | Stefan Krah | 2014-01-20 | 1 | -1/+2 |
| | | |||||
* | | Issue #20294: Argument Clinic now supports argument parsing for __new__ and | Larry Hastings | 2014-01-19 | 1 | -1/+20 |
| | | | | | | | | __init__ functions. | ||||
* | | Issue #20287: Argument Clinic's output is now configurable, allowing | Larry Hastings | 2014-01-18 | 1 | -24/+8 |
| | | | | | | | | delaying its output or even redirecting it to a separate file. | ||||
* | | Remove an unneeded cast. | Brett Cannon | 2014-01-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #20152: import.c now uses Argument Clinic. | Brett Cannon | 2014-01-10 | 1 | -87/+463 |
| | | |||||
* | | Issue 19713: Remove PEP 451-related code that should have been factored out. | Eric Snow | 2014-01-08 | 1 | -1216/+1187 |
| | | | | | | | | | | | | This code was an artifact of issuing a DeprecationWarning for the lack of loader.exec_module(). However, we have deferred such warnings to later Python versions. | ||||
* | | Issue #20141: Improved Argument Clinic's support for the PyArg_Parse "O!" | Larry Hastings | 2014-01-07 | 1 | -4357/+4342 |
| | | | | | | | | format unit. | ||||
* | | Issue 19713: Add PEP 451-related deprecations. | Eric Snow | 2014-01-07 | 1 | -3943/+4031 |
| | | |||||
* | | Issue #19927: Add __eq__ to path-based loaders in importlib. | Eric Snow | 2014-01-04 | 1 | -619/+659 |
| | | |||||
* | | Issue #20097: Fix bad use of "self" in importlib's WindowsRegistryFinder. | Eric Snow | 2014-01-03 | 1 | -1860/+1860 |
| | | |||||
* | | merge 3.3 | Benjamin Peterson | 2014-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | update copyright year | Benjamin Peterson | 2014-01-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #16136: Remove VMS support and VMS-related code | Christian Heimes | 2013-12-21 | 3 | -78/+4 |
| | | |||||
* | | Fix the C definition of the sys._debugmallocstats() function: the function has | Victor Stinner | 2013-12-19 | 1 | -1/+1 |
| | | | | | | | | no parameter | ||||
* | | Fix _Py_DisplaySourceLine(), if PyTokenizer_FindEncodingFilename() fails, clear | Victor Stinner | 2013-12-19 | 1 | -0/+2 |
| | | | | | | | | the exception to not call open() with an exception set. | ||||
* | | Remove some dead code in importlib, introduced with the PEP 451 patch. | Eric Snow | 2013-12-19 | 1 | -986/+980 |
| | | | | | | | | | | | | | | Early in the PEP 451 implementation some of the importlib loaders had their own _get_spec() methods to simplify accommodating them. However, later implementations removed the need. They simply failed to remove this code at the same time. :) | ||||
* | | Issue #16404: Add checks for return value of PyLong_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -0/+4 |
|\ \ | |/ | | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
| * | Issue #16404: Add checks for return value of PyLong_FromLong() in | Serhiy Storchaka | 2013-12-17 | 1 | -0/+4 |
| | | | | | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder. | ||||
* | | Fixed leak in sys.flags initialization. | Serhiy Storchaka | 2013-12-17 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Fixed leak in sys.flags initialization. | Serhiy Storchaka | 2013-12-17 | 1 | -0/+1 |
| | | |||||
* | | Issue #19787: PyThread_set_key_value() now always set the value | Victor Stinner | 2013-12-13 | 4 | -33/+17 |
| | | | | | | | | | | | | | | | | | | | | In Python 3.3, PyThread_set_key_value() did nothing if the key already exists (if the current value is a non-NULL pointer). When _PyGILState_NoteThreadState() is called twice on the same thread with a different Python thread state, it still keeps the old Python thread state to keep the old behaviour. Replacing the Python thread state with the new state introduces new bugs: see issues #10915 and #15751. | ||||
* | | Backout changeset 46393019b650 | Victor Stinner | 2013-12-13 | 3 | -8/+24 |
| | | | | | | | | test_capi is failing and the fix is not trivial, I prefer to revert | ||||
* | | Close #19787: PyThread_set_key_value() now always set the value. In Python 3.3, | Victor Stinner | 2013-12-13 | 3 | -24/+8 |
| | | | | | | | | | | | | | | | | the function did nothing if the key already exists (if the current value is a non-NULL pointer). _testcapi.run_in_subinterp() now correctly sets the new Python thread state of the current thread when a subinterpreter is created. | ||||
* | | Issue #14432: Remove the thread state field from the frame structure. Fix a | Victor Stinner | 2013-12-13 | 2 | -42/+45 |
| | | | | | | | | | | | | | | crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup. | ||||
* | | Close #19576: PyGILState_Ensure() now initializes threads. At startup, Python | Victor Stinner | 2013-12-13 | 1 | -0/+5 |
| | | | | | | | | | | | | has no concrete GIL. If PyGILState_Ensure() is called from a new thread for the first time and PyEval_InitThreads() was not called yet, a GIL needs to be created. | ||||
* | | Issue #18864: Add a setter for ModuleSpec.has_location. | Eric Snow | 2013-12-11 | 1 | -2909/+2918 |
| | | |||||
* | | Issue #19817: Fix print_exception(), clear the exception on error | Victor Stinner | 2013-12-09 | 1 | -3/+5 |
| | | |||||
* | | merge 3.3 (#19910) | Benjamin Peterson | 2013-12-07 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | document that compile() can take bytes (closes #19910) | Benjamin Peterson | 2013-12-07 | 1 | -1/+1 |
| | | |||||
* | | upcast int to size_t to silence two ↵ | Christian Heimes | 2013-12-04 | 1 | -1/+1 |
| | | | | | | | | autological-constant-out-of-range-compare warnings with clang. | ||||
* | | Closes #19831: Stop tracemalloc later at Python shutdown to be able to use | Victor Stinner | 2013-12-01 | 1 | -0/+5 |
| | | | | | | | | | | | | tracemalloc in objects destructor Replace atexit handler with an harcoded C function _PyTraceMalloc_Fini(). | ||||
* | | Issue #19698: Remove exec_module() from the built-in and extension | Brett Cannon | 2013-11-29 | 1 | -4160/+4195 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #19638: Merge from 3.3 | Mark Dickinson | 2013-11-26 | 1 | -12/+43 |
|\ \ | |/ | |||||
| * | Issue #19638: Raise ValueError instead of crashing when converting billion ↵ | Mark Dickinson | 2013-11-26 | 1 | -12/+43 |
| | | | | | | | | character strings to float. | ||||
* | | Issue #3158: doctest can now find doctests in functions and methods | Zachary Ware | 2013-11-24 | 1 | -3/+15 |
| | | | | | | | | | | | | | | | | written in C. As a part of this, a few doctests have been added to the builtins module (on hex(), oct(), and bin()), a doctest has been fixed (hopefully on all platforms) on float, and test_builtins now runs doctests in builtins. | ||||
* | | Issue #19722: Added opcode.stack_effect(), which accurately | Larry Hastings | 2013-11-23 | 1 | -8/+12 |
| | | | | | | | | computes the stack effect of bytecode instructions. | ||||
* | | Fix refleak introduced by 4f730c045f5f (issue #18408) and unveiled by ↵ | Antoine Pitrou | 2013-11-23 | 1 | -8/+4 |
| | | | | | | | | 95eea8624d05 (issue #16596). | ||||
* | | Issue #18874: Implement the PEP 454 (tracemalloc) | Victor Stinner | 2013-11-23 | 1 | -0/+4 |
| | | |||||
* | | User the repr for a module name in more places | Brett Cannon | 2013-11-22 | 1 | -3282/+3283 |
| | | |||||
* | | Remove a commented-out line | Brett Cannon | 2013-11-22 | 1 | -125/+125 |
| | | |||||
* | | Don't assume trying to find a builtin will succeed (e.g. posix isn't on Windows) | Brett Cannon | 2013-11-22 | 1 | -194/+198 |
| | | |||||
* | | Implement PEP 451 (ModuleSpec). | Eric Snow | 2013-11-22 | 2 | -3327/+4094 |
| | |