Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2.7] bpo-31411: Prevent raising a SystemError in case warnings.onceregistry ↵ | Serhiy Storchaka | 2017-09-11 | 1 | -1/+7 |
| | | | | | is not a dictionary. (GH-3485). (#3493) (cherry picked from commit 252033d50effa08046ac34fcc406bc99796ab88b) | ||||
* | [2.7] bpo-29526: Add reference to help('FORMATTING') in format() builtin ↵ | Serhiy Storchaka | 2017-09-11 | 1 | -1/+3 |
| | | | | | (GH-166). (#3492) (cherry picked from commit 2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0) | ||||
* | Fix a shadow-compatible-local warning (#2182) | Yuan Chao Chou | 2017-08-04 | 1 | -135/+135 |
| | | | | Change the shadowing naming, 'value' (Python-ast.c:3814), to 'val' to prevent the variables from being misused. | ||||
* | [2.7] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to ↵ | Antoine Pitrou | 2017-06-26 | 1 | -18/+28 |
| | | | | | | | | | | | | | | | | | | (GH-2403) (#2420) * [2.7] bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to (GH-2403) * bpo-30765: Avoid blocking when PyThread_acquire_lock() is asked not to lock This is especially important if PyThread_acquire_lock() is called reentrantly (for example from a signal handler). * Update 2017-06-26-14-29-50.bpo-30765.Q5iBmf.rst * Avoid core logic when taking the mutex failed. (cherry picked from commit f84ac420c2af98339678744953869cad3c253281) * Remove test undef | ||||
* | bpo-23787: Change sum() docstring from sequence to iterable (GH-1859) | Mariatta | 2017-06-06 | 1 | -3/+3 |
| | | | | | * bpo-23787: Change sum() docstring from sequence to iterable Original patch by Raymond Hettinger. | ||||
* | bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1531) (#1480) | Xiang Zhang | 2017-05-10 | 1 | -1/+1 |
| | |||||
* | bpo-27593: Get SCM build info from git instead of hg (#1327) | Victor Stinner | 2017-05-02 | 1 | -3/+3 |
| | | | | | | | | | | | Based on commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178 by Ned Deily, which is based on original patches by Brett Cannon and Steve Dower. Remove also the private _Py_svnversion() function and SVNVERSION variable. Note: Py_SubversionRevision() and Py_SubversionShortBranch() are unchanged, they are part of the public API. | ||||
* | bpo-29935: Fixed error messages in the index() method of tuple and list ↵ | Serhiy Storchaka | 2017-03-30 | 1 | -1/+21 |
| | | | | | | | (#887) (#907) (#910) when pass indices of wrong type. (cherry picked from commit d4edfc9abffca965e76ebc5957a92031a4d6c4d4) (cherry picked from commit bf4bb2e43030661e568d5d4b046e8b9351cc164c) | ||||
* | bpo-29655: Fixed possible reference leaks in `import *`. (#301) (#510) | Serhiy Storchaka | 2017-03-08 | 1 | -0/+1 |
| | | | | Original patch by Matthias Bussonnier. (cherry picked from commit 160edb43571311a3785785c1dfa784afc52d87be) | ||||
* | bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting ↵ | Xiang Zhang | 2017-03-01 | 1 | -2/+6 |
| | | | | operations (GH-366) | ||||
* | Issue #14376: sys.exit now accepts longs as well as ints. Thanks Gareth Rees. | Mark Dickinson | 2017-02-02 | 1 | -1/+1 |
| | |||||
* | Don't use getentropy() on Linux | Victor Stinner | 2017-01-09 | 1 | -2/+9 |
| | | | | | | | Issue #29188: Support glibc 2.24 on Linux: don't use getentropy() function but read from /dev/urandom to get random bytes, for example in os.urandom(). On Linux, getentropy() is implemented which getrandom() is blocking mode, whereas os.urandom() should not block. | ||||
* | only include sys/random.h if it seems like it might have something useful ↵ | Benjamin Peterson | 2017-01-02 | 1 | -1/+1 |
| | | | | (#29057) | ||||
* | ring in 2017 for Python | Benjamin Peterson | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | add a specific configure check for sys/random.h (closes #28932) | Benjamin Peterson | 2016-12-20 | 1 | -1/+1 |
| | |||||
* | Issue #28676: Prevent missing 'getentropy' declaration warning on macOS. | Ned Deily | 2016-11-12 | 1 | -0/+3 |
| | | | | Initial patch by Gareth Rees. | ||||
* | Issue #28616: Correct help for sys.version_info releaselevel component. | Ned Deily | 2016-11-04 | 1 | -1/+1 |
| | | | | Patch by Anish Tambe. | ||||
* | Issue #21720: Improve exception message when the type of fromlist is unicode | Berker Peksag | 2016-10-16 | 1 | -2/+3 |
| | |||||
* | Issue #24098: Fixed possible crash when AST is changed in process of | Serhiy Storchaka | 2016-10-07 | 1 | -0/+180 |
| | | | | compiling it. | ||||
* | Issue #28139: Fix messed up indentation | Martin Panter | 2016-09-17 | 3 | -49/+47 |
| | | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation. | ||||
* | Issue #27806: Fix 32-bit builds on macOS Sierra 10.12 broken by removal of | sashk | 2016-09-16 | 1 | -4/+4 |
| | | | | deprecated QuickTime/QuickTime.h header file. Patch by sashk. | ||||
* | Issue #24366: Fix indentation | Martin Panter | 2016-09-15 | 2 | -6/+6 |
| | | | | | Backports changes by Victor Stinner, Hirokazu Yamamoto, li4ick and Benjamin Peterson. | ||||
* | fix misleading indentation (closes #28139) | Benjamin Peterson | 2016-09-14 | 1 | -1/+1 |
| | |||||
* | Issue #26020: Fix evaluation order for set literals | Raymond Hettinger | 2016-09-08 | 1 | -2/+4 |
| | |||||
* | Issue #15578: Correctly incref the parent module while importing. | Eric Snow | 2016-09-08 | 1 | -0/+2 |
| | |||||
* | Spelling and grammar fixes in code comments and documentation | Martin Panter | 2016-07-28 | 1 | -1/+1 |
| | |||||
* | make too many nested blocks be a SyntaxError instead of a SystemError ↵ | Benjamin Peterson | 2016-07-15 | 1 | -1/+1 |
| | | | | | | (closes #27514) Patch by Ammar Askar. | ||||
* | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -1/+1 |
| | | | | | | 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 to fix the grammar. | ||||
* | reduce marshal stack size in debug mode on windows (closes #27019) | Benjamin Peterson | 2016-07-07 | 1 | -0/+5 |
| | |||||
* | Issue #23908: os functions, open() and the io.FileIO constructor now reject | Serhiy Storchaka | 2016-07-01 | 1 | -1/+18 |
| | | | | | unicode paths with embedded null character on Windows instead of silently truncate them. | ||||
* | Issue #27301: Fixed incorrect return code for error in compile.c. | Serhiy Storchaka | 2016-06-15 | 1 | -1/+1 |
| | |||||
* | Fix typo in comment | Martin Panter | 2016-06-10 | 1 | -1/+1 |
| | |||||
* | Fix typo in code comment | Martin Panter | 2016-06-04 | 1 | -1/+1 |
| | |||||
* | Issue #27076: Doc, comment and test function name spelling fixes | Martin Panter | 2016-05-26 | 2 | -2/+2 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" | Serhiy Storchaka | 2016-05-20 | 1 | -42/+68 |
| | | | | format unit. | ||||
* | Issue #26874: Simplify the divmod docstring. | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
| | | | | Now it actually matches the prose docs. | ||||
* | Issue #26874: Make divmod docstring and full doc match | Zachary Ware | 2016-04-28 | 1 | -1/+1 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 2 | -2/+2 |
| | |||||
* | Issue #4806: Avoid masking TypeError when *-unpacking a generator | Martin Panter | 2016-01-31 | 1 | -2/+4 |
| | | | | Based on patch by Hagen Fürstenau. | ||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 1 | -2/+2 |
| | | | | This affects documentation and code comments. | ||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 3 | -4/+4 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 4 | -5/+5 |
| | |||||
* | Issue #26476: Fixed compilation error when use PyErr_BadInternalCall() in C++. | Serhiy Storchaka | 2016-03-03 | 1 | -1/+1 |
| | | | | Patch by Jeroen Demeyer. | ||||
* | Issue #22836: Keep exception reports sensible despite errors | Martin Panter | 2016-02-28 | 2 | -3/+15 |
| | |||||
* | Issue #25698: Importing module if the stack is too deep no longer replaces | Serhiy Storchaka | 2016-02-10 | 1 | -7/+25 |
| | | | | imported module with the empty one. | ||||
* | Issue #26198: Fixed error messages for some argument parsing errors. | Serhiy Storchaka | 2016-02-07 | 1 | -12/+21 |
| | | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units. | ||||
* | code_richcompare() now uses the constants types | Victor Stinner | 2016-01-22 | 1 | -47/+6 |
| | | | | | | | | | Issue #25843: When compiling code, don't merge constants if they are equal but have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now correctly compiled to two different functions: f1() returns 1 (int) and f2() returns 1.0 (int), even if 1 and 1.0 are equal. Add a new _PyCode_ConstantKey() private function. | ||||
* | Issue24733 - Remove unreachable code in traceback.c | Senthil Kumaran | 2016-01-05 | 1 | -4/+0 |
| | |||||
* | 2016 will be another year of writing copyrighted code | Benjamin Peterson | 2016-01-01 | 1 | -1/+1 |
| | |||||
* | 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. |