Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix indentation of continuation lines. | Georg Brandl | 2016-01-18 | 1 | -1/+1 |
| | |||||
* | Fix two instances of wrong indentation. | Georg Brandl | 2016-01-18 | 1 | -2/+2 |
| | |||||
* | Issue #25791: Raise an ImportWarning when __spec__ or __package__ are | Brett Cannon | 2016-01-15 | 2 | -294/+329 |
| | | | | | | | | not defined for a relative import. This is the start of work to try and clean up import semantics to rely more on a module's spec than on the myriad attributes that get set on a module. Thanks to Rose Ames for the patch. | ||||
* | Issue #20440: Cleaning up the code by using Py_SETREF. | Serhiy Storchaka | 2016-01-05 | 3 | -14/+5 |
| | |||||
* | merge 3.5 | Benjamin Peterson | 2016-01-01 | 1 | -1/+1 |
|\ | |||||
| * | merge 3.4 | Benjamin Peterson | 2016-01-01 | 1 | -1/+1 |
| |\ | |||||
| | * | merge 3.3 | Benjamin Peterson | 2016-01-01 | 1 | -1/+1 |
| | |\ | |||||
| | | * | 2016 will be another year of writing copyrighted code | Benjamin Peterson | 2016-01-01 | 1 | -1/+1 |
| | | | | |||||
* | | | | merge 3.5 (#25973) | Benjamin Peterson | 2015-12-29 | 1 | -8/+16 |
|\ \ \ \ | |/ / / | |||||
| * | | | make recording and reporting errors and nonlocal and global directives more ↵ | Benjamin Peterson | 2015-12-29 | 1 | -8/+16 |
| | | | | | | | | | | | | | | | | robust (closes #25973) | ||||
* | | | | Issue #25802: Deprecate load_module() on ↵ | Brett Cannon | 2015-12-29 | 1 | -1516/+1517 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | importlib.machinery.SourceFileLoader and SourcelessFileLoader. They were the only remaining implementations of load_module() not documented as deprecated. | ||||
* | | | | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 2 | -15/+8 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
| * | | | Issue #20440: More use of Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -8/+5 |
| | | | | | | | | | | | | | | | | | | | | This patch is manually crafted and contains changes that couldn't be handled automatically. | ||||
* | | | | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -3/+1 |
|\ \ \ \ | |/ / / | | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
| * | | | Issue #20440: Applied yet one patch for using Py_SETREF. | Serhiy Storchaka | 2015-12-27 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR. | ||||
* | | | | Issue #25923: Added more const qualifiers to signatures of static and ↵ | Serhiy Storchaka | 2015-12-25 | 10 | -60/+62 |
| | | | | | | | | | | | | | | | | private functions. | ||||
* | | | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 9 | -21/+24 |
| | | | | |||||
* | | | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 3 | -8/+4 |
|\ \ \ \ | |/ / / | | | | | | | | | macro Py_SETREF. | ||||
| * | | | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 3 | -8/+4 |
| | | | | | | | | | | | | | | | | macro Py_SETREF. | ||||
* | | | | Issue #25899: Converted non-ASCII characters in docstrings and manpage | Serhiy Storchaka | 2015-12-18 | 1 | -2/+2 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | to ASCII replacements. Removed UTF-8 BOM from Misc/NEWS. Original patch by Chris Angelico. | ||||
| * | | | Issue #25899: Converted non-ASCII characters in docstrings and manpage | Serhiy Storchaka | 2015-12-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | to ASCII replacements. Original patch by Chris Angelico. | ||||
* | | | | Merge typo fixes from 3.5 | Martin Panter | 2015-12-17 | 1 | -2/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Fix a couple of typos in code comments | Martin Panter | 2015-12-17 | 1 | -2/+2 |
| | | | | |||||
* | | | | Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure | Martin Panter | 2015-11-30 | 3 | -17/+41 |
| | | | | |||||
* | | | | Issue #25557: Refactor _PyDict_LoadGlobal() | Victor Stinner | 2015-11-20 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | Don't fallback to PyDict_GetItemWithError() if the hash is unknown: compute the hash instead. Add also comments to explain the optimization a little bit. | ||||
* | | | | Merge 3.5 (pytime) | Victor Stinner | 2015-11-10 | 1 | -3/+3 |
|\ \ \ \ | |/ / / | |||||
| * | | | pytime.c: rename pygettimeofday_new() to pygettimeofday() | Victor Stinner | 2015-11-10 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | I forgot to rename it in my previous refactoring of pytime.c. | ||||
| * | | | Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when | Victor Stinner | 2015-11-06 | 2 | -8/+32 |
| | | | | | | | | | | | | | | | | compiling AST from Python objects. | ||||
* | | | | Issue #25558: Use compile-time asserts. | Serhiy Storchaka | 2015-11-07 | 2 | -14/+13 |
| | | | | |||||
* | | | | Issue #24802: Merge null termination fixes from 3.5 | Martin Panter | 2015-11-07 | 1 | -16/+32 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #24802: Merge null termination fixes from 3.4 into 3.5 | Martin Panter | 2015-11-07 | 1 | -16/+32 |
| |\ \ \ | | |/ / | |||||
| | * | | Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary | Martin Panter | 2015-11-07 | 1 | -16/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids possible buffer overreads when int(), float(), compile(), exec() and eval() are passed bytes-like objects. Similar code is removed from the complex() constructor, where it was not reachable. Patch by John Leitch, Serhiy Storchaka and Martin Panter. | ||||
* | | | | Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when | Victor Stinner | 2015-11-06 | 2 | -8/+32 |
| | | | | | | | | | | | | | | | | compiling AST from Python objects. | ||||
* | | | | Reuse Py_STRINGIFY() macro in sre_lib.h and dynload_win.c. | Serhiy Storchaka | 2015-11-05 | 1 | -4/+2 |
| | | | | |||||
* | | | | Issue #25556: Add assertions to PyObject_GetItem() to ensure that an exception | Victor Stinner | 2015-11-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | is raised when it returns NULL. Simplify also ceval.c: rely on the fact that PyObject_GetItem() raised an exception when it returns NULL. | ||||
* | | | | Merge 3.5 | Victor Stinner | 2015-11-05 | 1 | -0/+4 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #25556: Fix LOAD_GLOBAL bytecode when globals type is not dict and the | Victor Stinner | 2015-11-05 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | requested name doesn't exist in globals: clear the KeyError exception before calling PyObject_GetItem(). Fail also if the raised exception is not a KeyError. | ||||
* | | | | sysmodule.c: reuse Py_STRINGIFY() macro | Victor Stinner | 2015-11-05 | 1 | -6/+2 |
| | | | | |||||
* | | | | Issue 25483: Add an opcode to make f-string formatting more robust. | Eric V. Smith | 2015-11-03 | 4 | -169/+194 |
| | | | | |||||
* | | | | Issue #25523: Merge a-to-an corrections from 3.5 | Martin Panter | 2015-11-02 | 2 | -2/+2 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 2 | -2/+2 |
| |\ \ \ | | |/ / | |||||
| | * | | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | | | Merge 3.5 (sys.setrecursionlimit) | Victor Stinner | 2015-10-12 | 1 | -3/+26 |
|\ \ \ \ | |/ / / | |||||
| * | | | sys.setrecursionlimit() now raises RecursionError | Victor Stinner | 2015-10-12 | 1 | -3/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #25274: sys.setrecursionlimit() now raises a RecursionError if the new recursion limit is too low depending at the current recursion depth. Modify also the "lower-water mark" formula to make it monotonic. This mark is used to decide when the overflowed flag of the thread state is reset. | ||||
| * | | | Close #24784: Fix compilation without thread support | Victor Stinner | 2015-10-11 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "#ifdef WITH_THREAD" around cals to: * PyGILState_Check() * _PyImport_AcquireLock() * _PyImport_ReleaseLock() | ||||
* | | | | Close #24784: Fix compilation without thread support | Victor Stinner | 2015-10-11 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "#ifdef WITH_THREAD" around cals to: * PyGILState_Check() * _PyImport_AcquireLock() * _PyImport_ReleaseLock() | ||||
* | | | | Issue #24402: Merge input() fix from 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+3 |
|\ \ \ \ | |/ / / | |||||
| * | | | Issue #24402: Merge input() fix from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+3 |
| |\ \ \ | | |/ / | |||||
| | * | | Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by Eryksun | Martin Panter | 2015-10-10 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | Also factored out some test cases into a new PtyTests class. | ||||
* | | | | Hoist constant expression out of the inner loop. | Raymond Hettinger | 2015-10-09 | 1 | -3/+3 |
| | | | |