Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Martin Panter | 2016-09-07 | 2 | -2/+2 |
| | |||||
* | Issue #27782: Fix m_methods handling in multiphase init | Nick Coghlan | 2016-08-21 | 1 | -1/+1 |
| | | | | | | | | Multi-phase extension module import now correctly allows the ``m_methods`` field to be used to add module level functions to instances of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang. | ||||
* | Minor spelling fixes | Martin Panter | 2016-08-20 | 1 | -2/+2 |
| | |||||
* | Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround. | Ned Deily | 2016-08-15 | 1 | -1/+3 |
| | | | | | The original problem has been fixed in newer versions of FreeBSD. Patch by Dimitry Andric of the FreeBSD project. | ||||
* | Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X. | Ned Deily | 2016-08-15 | 1 | -0/+7 |
| | | | | Patch by Ronald Oussoren. | ||||
* | Fix spelling and grammar in documentation and code comments | Martin Panter | 2016-08-04 | 1 | -1/+1 |
| | |||||
* | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -1/+1 |
| | | | | Based on patch by Ville Skyttä. | ||||
* | Post-release fixups for Python 3.5.2. | Larry Hastings | 2016-06-27 | 1 | -1/+1 |
| | |||||
* | Version number bump for 3.5.2 final.v3.5.2 | Larry Hastings | 2016-06-25 | 1 | -3/+3 |
| | |||||
* | Post-release fixups for Python 3.5.2rc1. | Larry Hastings | 2016-06-13 | 1 | -1/+1 |
| | |||||
* | Release bump for 3.5.2rc1. | Larry Hastings | 2016-06-12 | 1 | -4/+4 |
| | |||||
* | Issue #27243: Fix __aiter__ protocol | Yury Selivanov | 2016-06-09 | 1 | -0/+3 |
| | |||||
* | fix indentation of comment | Benjamin Peterson | 2016-06-04 | 1 | -7/+7 |
| | |||||
* | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | |||||
* | Corrections for a/an in code comments and documentation | Martin Panter | 2016-05-08 | 1 | -1/+1 |
| | |||||
* | Fixed declarations of _Py_DumpTraceback() and _Py_DumpTracebackThreads(). | Serhiy Storchaka | 2016-05-01 | 1 | -2/+2 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 2 | -2/+2 |
| | |||||
* | Issue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docs | Martin Panter | 2016-04-15 | 1 | -16/+8 |
| | |||||
* | Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc | Martin Panter | 2016-04-15 | 2 | -5/+5 |
| | | | | This affects documentation, code comments, and a debugging messages. | ||||
* | Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF | Serhiy Storchaka | 2016-04-10 | 1 | -2/+12 |
| | | | | in places where Py_DECREF was used. | ||||
* | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -2/+2 |
| | |||||
* | Fix typos in documentation and comments | Martin Panter | 2016-04-05 | 1 | -1/+1 |
| | |||||
* | Use Py_uintptr_t for atomic pointers | Victor Stinner | 2016-01-22 | 1 | -3/+3 |
| | | | | | | | | Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used. Using void* causes compilation warnings depending on which implementation of atomic types is used. | ||||
* | pystate.h: fix _PyThreadState_UncheckedGet() | Victor Stinner | 2016-03-24 | 1 | -2/+0 |
| | | | | Declare the function even if thread support is disabled. | ||||
* | coroutines: Error when awaiting on coroutine that's being awaited | Yury Selivanov | 2016-03-02 | 1 | -0/+1 |
| | | | | Issue #25888 | ||||
* | Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar | Martin Panter | 2016-02-10 | 1 | -1/+1 |
| | | | | | The original form is incorrect grammar and feels awkward, even though the meaning is clear. | ||||
* | code_richcompare() now uses the constants types | Victor Stinner | 2016-01-22 | 1 | -1/+10 |
| | | | | | | | | | 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. | ||||
* | issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and | Senthil Kumaran | 2016-01-21 | 1 | -7/+7 |
| | | | | | | PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst. Patch contributed by Sonali Gupta. | ||||
* | Add _PyThreadState_UncheckedGet() | Victor Stinner | 2016-01-20 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which gets the current thread state, but don't call Py_FatalError() if it is NULL. Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to no more expose complex and private atomic types. Atomic types depends on the compiler or can even depend on compiler options. The new function _PyThreadState_UncheckedGet() allows to get the variable value without having to care of the exact implementation of atomic types. Changes: * Replace direct usage of the _PyThreadState_Current variable with a call to _PyThreadState_UncheckedGet(). * In pystate.c, replace direct usage of the _PyThreadState_Current variable with the PyThreadState_GET() macro for readability. * Document also PyThreadState_Get() in pystate.h | ||||
* | Issue #20440: Massive replacing unsafe attribute setting code with special | Serhiy Storchaka | 2015-12-24 | 1 | -0/+26 |
| | | | | macro Py_SETREF. | ||||
* | Issue #25914: Fixed and simplified OrderedDict.__sizeof__. | Serhiy Storchaka | 2015-12-22 | 1 | -1/+1 |
| | |||||
* | Issue #25701: Document C API functions that both set and delete objects | Martin Panter | 2015-12-08 | 1 | -10/+10 |
| | | | | | | Also document that the separate functions that delete objects are preferred; using PyObject_SetAttr(), _SetAttrString(), and PySequence_SetItem() to delete is deprecated. | ||||
* | Post-release fixups for Python 3.5.1. | Larry Hastings | 2015-12-07 | 1 | -1/+1 |
| | |||||
* | Version bump for 3.5.1 final.v3.5.1 | Larry Hastings | 2015-12-06 | 1 | -3/+3 |
| | |||||
* | Post-release updates for Python 3.5.1rc1. | Larry Hastings | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Version bump for Python 3.5.1rc1.v3.5.1rc1 | Larry Hastings | 2015-11-22 | 1 | -4/+4 |
| | |||||
* | Issue #25555: Fix parser and AST: fill lineno and col_offset of "arg" node when | Victor Stinner | 2015-11-06 | 1 | -2/+3 |
| | | | | compiling AST from Python objects. | ||||
* | Issue #25523: Merge a-to-an corrections from 3.4. | Serhiy Storchaka | 2015-11-02 | 1 | -2/+2 |
|\ | |||||
| * | Issue #25523: Further a-to-an corrections. | Serhiy Storchaka | 2015-11-02 | 1 | -2/+2 |
| | | |||||
* | | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 2 | -3/+3 |
|\ \ | |/ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 2 | -3/+3 |
| | | | | | | | | | | | | 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. | ||||
| * | #21167: Fix definition of NAN when ICC used without -fp-model strict. | R David Murray | 2015-08-13 | 1 | -1/+23 |
| | | | | | | | | Patch from Chris Hogan of Intel, reviewed by Mark Dickinson. | ||||
* | | sys.setrecursionlimit() now raises RecursionError | Victor Stinner | 2015-10-12 | 1 | -3/+9 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Issue #24483: C implementation of functools.lru_cache() now calculates key's | Serhiy Storchaka | 2015-10-02 | 1 | -0/+4 |
| | | | | | | | | hash only once. | ||||
* | | Issue #25150: Hide the private _Py_atomic_xxx symbols from the public | Victor Stinner | 2015-09-18 | 2 | -16/+7 |
| | | | | | | | | | | | | | | | | | | Python.h header to fix a compilation error with OpenMP. PyThreadState_GET() becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies. It is important that the _PyThreadState_Current variable is always accessed with the same implementation of pyatomic.h. Use the PyThreadState_Get() function so extension modules will all reuse the same implementation. | ||||
* | | Issue #25155: Add _PyTime_AsTimevalTime_t() function | Victor Stinner | 2015-09-18 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, the tv_sec field of the timeval structure has the type C long, whereas it has the type C time_t on all other platforms. A C long has a size of 32 bits (signed inter, 1 bit for the sign, 31 bits for the value) which is not enough to store an Epoch timestamp after the year 2038. Add the _PyTime_AsTimevalTime_t() function written for datetime.datetime.now(): convert a _PyTime_t timestamp to a (secs, us) tuple where secs type is time_t. It allows to support dates after the year 2038 on Windows. Enhance also _PyTime_AsTimeval_impl() to detect overflow on the number of seconds when rounding the number of microseconds. | ||||
* | | Merge release engineering work from Python 3.5.0. | Larry Hastings | 2015-09-13 | 1 | -3/+3 |
|\ \ | |||||
| * | | Post-release updates for Python 3.5.0. | Larry Hastings | 2015-09-13 | 1 | -1/+1 |
| | | | |||||
| * | | Version bump for Python 3.5.0 final. | Larry Hastings | 2015-09-12 | 1 | -3/+3 |
| | | | |||||
* | | | Merge Python 3.5.0rc4 back to hg.python.org. | Larry Hastings | 2015-09-09 | 1 | -2/+2 |
|\ \ \ | |/ / |