Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Guard an LLTRACE variable to silence an unused variable warning. | Brett Cannon | 2012-04-02 | 1 | -0/+2 |
| | |||||
* | Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions | Victor Stinner | 2012-03-26 | 1 | -4/+11 |
| | | | | | These functions simplify the usage of static constant Unicode strings. Generalize the usage of _Py_Identifier in ceval.c and typeobject.c. | ||||
* | Merge with 3.2 | Kristján Valur Jónsson | 2012-03-23 | 1 | -1/+1 |
|\ | |||||
| * | Fix typo when "PyObject*" was changed to "identifier" | Kristján Valur Jónsson | 2012-03-23 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-03-22 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | this should technicaly be identifier | Benjamin Peterson | 2012-03-22 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-03-22 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | check for NULL | Benjamin Peterson | 2012-03-22 | 1 | -1/+2 |
| | | |||||
* | | merge 3.2 (#14378) | Benjamin Peterson | 2012-03-22 | 1 | -8/+2 |
|\ \ | |/ | |||||
| * | check by equality for __future__ not identity (closes #14378) | Benjamin Peterson | 2012-03-22 | 1 | -8/+2 |
| | | |||||
| * | Fixes Issue #14331: Use significantly less stack space when importing modules by | Gregory P. Smith | 2012-03-18 | 1 | -39/+127 |
| | | | | | | | | allocating path buffers on the heap instead of the stack. | ||||
* | | use identifier api | Benjamin Peterson | 2012-03-20 | 1 | -1/+2 |
| | | |||||
* | | Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords. | Larry Hastings | 2012-03-20 | 1 | -1/+33 |
| | | | | | | | | | | | | They're optional-only for now (unlike in pure Python) but that's all I needed. The syntax can easily be relaxed if we want to support required keyword-only arguments for extension types in the future. | ||||
* | | plug memory leak (closes #14325) | Benjamin Peterson | 2012-03-16 | 1 | -1/+1 |
| | | |||||
* | | kill capsule names that we don't need anymore | Benjamin Peterson | 2012-03-16 | 1 | -4/+0 |
| | | |||||
* | | use memory macros | Benjamin Peterson | 2012-03-16 | 1 | -3/+3 |
| | | |||||
* | | check result of PyMem_New | Benjamin Peterson | 2012-03-16 | 1 | -0/+8 |
| | | |||||
* | | in 72556ff86828, I should have updated the magic as well as the comment (#14230) | Benjamin Peterson | 2012-03-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #14325: Stop using python lists, capsules, and the garbage collector ↵ | Jean-Paul Calderone | 2012-03-16 | 1 | -120/+85 |
| | | | | | | | | to deal with PyArg_Parse* cleanup. | ||||
* | | fix comment | Benjamin Peterson | 2012-03-15 | 1 | -2/+2 |
| | | |||||
* | | perform yield from delegation by repeating YIELD_FROM opcode (closes #14230) | Benjamin Peterson | 2012-03-15 | 3 | -38/+29 |
| | | | | | | | | | | | | | | This allows generators that are using yield from to be seen by debuggers. It also kills the f_yieldfrom field on frame objects. Patch mostly from Mark Shannon with a few tweaks by me. | ||||
* | | free AST's dict | Benjamin Peterson | 2012-03-14 | 1 | -1/+7 |
| | | |||||
* | | Issue #14184: merge | Ned Deily | 2012-03-13 | 1 | -8/+12 |
|\ \ | |/ | |||||
| * | Issue #14184: Increase the default stack size for secondary threads on | Ned Deily | 2012-03-13 | 1 | -8/+12 |
| | | | | | | | | Mac OS X to prevent interpreter crashes when compiled on 10.7. | ||||
* | | Issue #14180: Fix an invalid rounding when compiler optimization are enabled | Victor Stinner | 2012-03-13 | 1 | -1/+3 |
| | | | | | | | | Use volatile keyword to disable localy unsafe float optimizations. | ||||
* | | Issue #14180: Remove commented code | Victor Stinner | 2012-03-13 | 1 | -2/+0 |
| | | |||||
* | | Close #14180: Factorize code to convert a number of seconds to time_t, ↵ | Victor Stinner | 2012-03-13 | 1 | -22/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | timeval or timespec time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now raises an OverflowError, instead of a ValueError, if the timestamp does not fit in time_t. datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now round microseconds towards zero instead of rounding to nearest with ties going away from zero. | ||||
* | | Try to fix compilation of Python-ast.c on Visual Studio 2008 | Victor Stinner | 2012-03-13 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-03-12 | 1 | -6/+0 |
|\ \ | |/ | |||||
| * | kill this disabled code | Benjamin Peterson | 2012-03-12 | 1 | -6/+0 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-03-12 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | use correct naming convention | Benjamin Peterson | 2012-03-12 | 1 | -2/+2 |
| | | |||||
* | | give the AST class a __dict__ | Benjamin Peterson | 2012-03-12 | 1 | -3/+15 |
| | | |||||
* | | Update copyright years and version name.v3.3.0a1 | Georg Brandl | 2012-03-04 | 1 | -1/+1 |
| | | |||||
* | | Basic support for PEP 414 without docs or tests. | Armin Ronacher | 2012-03-04 | 1 | -0/+3 |
| | | |||||
* | | - Issue #14177: marshal.loads() now raises TypeError when given an unicode | Antoine Pitrou | 2012-03-03 | 1 | -4/+4 |
|\ \ | |/ | | | | | string. Patch by Guilherme Gonçalves. | ||||
| * | Issue #14177: marshal.loads() now raises TypeError when given an unicode string. | Antoine Pitrou | 2012-03-03 | 1 | -4/+4 |
| | | | | | | | | Patch by Guilherme Gonçalves. | ||||
* | | Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tuple | Victor Stinner | 2012-03-02 | 1 | -0/+45 |
| | | | | | | | | Add a private API to convert an int or float to a C timespec structure. | ||||
* | | Simplify code in marshal.c. | Antoine Pitrou | 2012-03-02 | 1 | -7/+1 |
| | | |||||
* | | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵ | Antoine Pitrou | 2012-03-02 | 1 | -4/+4 |
|\ \ | |/ | | | | | (other than a bytes object). | ||||
| * | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵ | Antoine Pitrou | 2012-03-02 | 1 | -4/+4 |
| | | | | | | | | (other than a bytes object). | ||||
* | | Issue #14153 Create _Py_device_encoding() to prevent _io from having to import | Brett Cannon | 2012-02-29 | 1 | -0/+34 |
| | | | | | | | | the os module. | ||||
* | | Close issue #6210: Implement PEP 409 | Nick Coghlan | 2012-02-26 | 2 | -9/+14 |
| | | |||||
* | | Issue #13706: Fix format(float, "n") for locale with non-ASCII decimal point ↵ | Victor Stinner | 2012-02-24 | 1 | -9/+6 |
| | | | | | | | | (e.g. ps_aF) | ||||
* | | Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separator | Victor Stinner | 2012-02-24 | 1 | -53/+89 |
| | | | | | | | | | | | | | | | | | | | | | | * Decode thousands separator and decimal point using PyUnicode_DecodeLocale() (from the locale encoding), instead of decoding them implicitly from latin1 * Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used * Change _PyUnicode_InsertThousandsGrouping() API to return the maximum character if unicode is NULL * Replace MIN/MAX macros by Py_MIN/Py_MAX * stringlib/undef.h undefines STRINGLIB_IS_UNICODE * stringlib/localeutil.h only supports Unicode | ||||
* | | Issue #14084: Fix a file descriptor leak when importing a module with a bad ↵ | Antoine Pitrou | 2012-02-22 | 1 | -4/+3 |
|\ \ | |/ | | | | | encoding. | ||||
| * | Issue #14084: Fix a file descriptor leak when importing a module with a bad ↵ | Antoine Pitrou | 2012-02-22 | 1 | -1/+3 |
| | | | | | | | | encoding. | ||||
| * | In find_module(), do not silence fileno() and dup() errors. | Antoine Pitrou | 2012-02-22 | 1 | -0/+2 |
| | | |||||
* | | enable hash randomization by default | Benjamin Peterson | 2012-02-21 | 1 | -11/+0 |
| | | |||||
* | | Fix test failure in test_cmd_line by initializing the hash secret at the ↵ | Antoine Pitrou | 2012-02-21 | 2 | -2/+10 |
|\ \ | |/ | | | | | earliest point. |