summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash caused by 8c1385205a35Antoine Pitrou2013-05-051-6/+8
|\ | | | | | | (thanks Arfrever for reporting).
| * Fix crash caused by 8c1385205a35Antoine Pitrou2013-05-051-6/+8
| | | | | | | | (thanks Arfrever for reporting).
* | #17115: I hate you MS for not supporting C99.Brett Cannon2013-05-041-2/+2
| |
* | Issue #17408: Avoid using an obsolete instance of the copyreg module when ↵Antoine Pitrou2013-05-041-3/+1
|\ \ | |/ | | | | the interpreter is shutdown and then started again.
| * Issue #17408: Avoid using an obsolete instance of the copyreg module when ↵Antoine Pitrou2013-05-041-3/+1
| | | | | | | | the interpreter is shutdown and then started again.
* | #17115,17116: Have modules initialize the __package__ and __loader__Brett Cannon2013-05-042-182/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes to None. The long-term goal is for people to be able to rely on these attributes existing and checking for None to see if they have been set. Since import itself sets these attributes when a loader does not the only instances when the attributes are None are from someone overloading __import__() and not using a loader or someone creating a module from scratch. This patch also unifies module initialization. Before you could have different attributes with default values depending on how the module object was created. Now the only way to not get the same default set of attributes is to circumvent initialization by calling ModuleType.__new__() directly.
* | Closes #17892: Fix the name of _PyObject_CallMethodObjIdArgsAlexandre Vassalotti2013-05-021-4/+4
| |
* | check local class namespace before reaching for cells (closes #17853)Benjamin Peterson2013-04-304-121/+157
| |
* | merge 3.3 (#17863)Benjamin Peterson2013-04-291-9/+8
|\ \ | |/
| * ignore errors when trying to fetch sys.stdin.encoding (closes #17863)Benjamin Peterson2013-04-291-9/+8
| |
* | merge 3.3Benjamin Peterson2013-04-291-1/+2
|\ \ | |/
| * raise an ImportError (rather than fatal) when __import__ is not found in ↵Benjamin Peterson2013-04-291-1/+2
| | | | | | | | __builtins__ (closes #17867)
* | Issue #17832: fix a compilation warning about a function prototype.Antoine Pitrou2013-04-241-1/+2
| | | | | | | | Also, make the private function static.
* | Merge #17413: make sure settrace funcs get passed exception instances for ↵R David Murray2013-04-191-0/+1
|\ \ | |/ | | | | | | | | 'value'. Patch by Ingrid Cheung and Brendan McLoughlin.
| * #17413: make sure settrace funcs get passed exception instances for 'value'.R David Murray2013-04-191-0/+1
| | | | | | | | Patch by Ingrid Cheung and Brendan McLoughlin.
* | Merge indentation fix from 3.3.Ezio Melotti2013-04-191-6/+6
|\ \ | |/
| * Fix indentation.Ezio Melotti2013-04-191-6/+6
| |
* | Issue #17244: Don't mask exceptions raised during the creation ofBrett Cannon2013-04-141-3467/+3479
| | | | | | | | | | | | bytecode files in py_compile. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug report.
* | properly lookup the __round__ special method (closes #17722)Benjamin Peterson2013-04-131-14/+11
| |
* | Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal.Antoine Pitrou2013-04-131-46/+1
| | | | | | | | Initial patch by Daniel Riti.
* | Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/returnBrett Cannon2013-04-091-1769/+1776
| | | | | | | | | | | | | | | | | | | | the default exception/value when called instead of raising/returning NotimplementedError/NotImplemented (except where appropriate). This should allow for the ABCs to act as the bottom/end of the MRO with expected default results. As part of this work, also make importlib.abc.Loader.module_repr() optional instead of an abstractmethod.
* | Revert a premature patch for issue #14010 (changeset 846bd418aee5).Serhiy Storchaka2013-04-061-21/+9
|\ \ | |/
| * Revert a premature patch for issue #14010 (changeset aaaf36026511).Serhiy Storchaka2013-04-061-21/+9
| |
* | Issue #17645: convert an assert() into a proper exception in _Py_Mangle().Antoine Pitrou2013-04-061-2/+5
|\ \ | |/
| * Issue #17645: convert an assert() into a proper exception in _Py_Mangle().Antoine Pitrou2013-04-061-2/+5
| |
* | Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka2013-04-061-9/+21
|\ \ | |/ | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc).
| * Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka2013-04-061-9/+21
| | | | | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc).
* | MergeRichard Oudkerk2013-04-031-0/+1
|\ \ | |/
| * Issue #17619: Make input() check for Ctrl-C correctly on Windows.Richard Oudkerk2013-04-031-0/+1
| |
* | Close #16757: Avoid calling the expensive _PyUnicode_FindMaxChar() functionVictor Stinner2013-04-031-1/+5
| | | | | | | | when possible
* | mergeBrett Cannon2013-04-011-3448/+3457
|\ \ | |/
| * Issue #17357: Add missing verbosity messages when running underBrett Cannon2013-04-011-4268/+4281
| | | | | | | | -v/-vv that were lost in the transition to importlib.
* | update importlib.hBenjamin Peterson2013-03-271-117/+117
| |
* | #17323: The "[X refs, Y blocks]" printed by debug builds has been disabled ↵Ezio Melotti2013-03-251-4/+20
| | | | | | | | by default. It can be re-enabled with the `-X showrefcount` option.
* | Fixes issue4653 - Correctly specify the buffer size to FormatMessageW andGregory P. Smith2013-03-231-1/+1
|\ \ | |/ | | | | correctly check for errors on two CreateFileMapping calls.
| * Fixes issue4653 - Correctly specify the buffer size to FormatMessageW andGregory P. Smith2013-03-231-1/+1
| | | | | | | | correctly check for errors on two CreateFileMapping calls.
| * Issue #15038 : Fixing the condition broadcast and docs.Kristján Valur Jónsson2013-03-201-6/+6
| |
* | Issue #17522: Add the PyGILState_Check() API.Kristján Valur Jónsson2013-03-231-0/+9
| |
* | copy 2.7 magic numbers for historical interestBenjamin Peterson2013-03-221-4092/+3158
| |
* | Issue #16475 : Correctly handle the EOF when reading marshal streams.Kristján Valur Jónsson2013-03-201-9/+9
| |
* | Issue #16475: Simplify the interface to r_ref_allocate and improve comments.Kristján Valur Jónsson2013-03-201-26/+33
| |
* | fix compiler warningBenjamin Peterson2013-03-201-1/+1
| |
* | Backed out changeset 521232b05b97Benjamin Peterson2013-03-202-265/+242
| |
* | fix compiler warningBenjamin Peterson2013-03-202-242/+265
| |
* | Issue #15038 : Fixing the condition broadcast and docs.Kristján Valur Jónsson2013-03-201-6/+6
| |
* | Issue #16475: Support object instancing, recursion and interned stringsKristján Valur Jónsson2013-03-201-27/+245
| | | | | | | | in marshal
* | bump Python-ast.cBenjamin Peterson2013-03-191-1/+2
| |
* | refactor to fix refleaksBenjamin Peterson2013-03-191-22/+34
| |
* | sprinkle constBenjamin Peterson2013-03-191-7/+7
| |
* | move declaration to top of blockBenjamin Peterson2013-03-181-1/+2
| |