summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Merge w/ 3.3 more fixes thanks to issue #17098Brett Cannon2013-02-011-269/+282
|\
| * Issue #17098: Be more stringent of setting __loader__ on early importedBrett Cannon2013-02-011-292/+299
| | | | | | | | modules. Also made test more rigorous.
| * Issue #17098: Make sure every module has __loader__ defined.Brett Cannon2013-02-011-283/+289
| | | | | | | | Thanks to Thomas Heller for the bug report.
* | Tweak an exception messageBrett Cannon2013-01-271-2943/+2943
| |
* | Port py_compile over to importlibBrett Cannon2013-01-261-4269/+4295
| |
* | Touch up exception messagingBrett Cannon2013-01-251-2921/+2923
| |
* | Replace WaitForSingleObject with WaitForSingleObjectEx,Martin v. Löwis2013-01-252-2/+2
| | | | | | | | for better WinRT compatibility.
* | Drop support for Windows 2000; allow any XP API (but not Vista+).Martin v. Löwis2013-01-251-30/+3
| | | | | | | | | | Drop SDK version configuration for Tk compilation, to not bind it to W2k anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.
* | revert #16672 for incorrect semanticsBenjamin Peterson2013-01-231-4/+3
| |
* | merge 3.3Benjamin Peterson2013-01-191-7/+0
|\ \ | |/
| * remove unnecessary clearing of listBenjamin Peterson2013-01-191-7/+0
| |
* | thinkoPhilip Jenvey2013-01-151-1/+1
| |
* | Issue #15031: Refactor some code in importlib pertaining to validatingBrett Cannon2013-01-111-4226/+4262
| | | | | | | | | | | | | | and compiling bytecode. Thanks to Ronan Lamy for pointing the redundancy and taking an initial stab at the refactor (as did Nick Coghlan).
* | Merge from 3.3 for fix for issue #16730Brett Cannon2013-01-111-938/+941
|\ \ | |/
| * Issue #16730: Don't raise an exception inBrett Cannon2013-01-111-943/+946
| | | | | | | | | | | | | | | | importlib.machinery.FileFinder when the directory has become unreadable or a file. This brings semantics in line with Python 3.2 import. Reported and diagnosed by David Pritchard.
| * (Merge 3.2) Issue #16455: On FreeBSD and Solaris, if the locale is C, theVictor Stinner2013-01-031-23/+217
| |\ | | | | | | | | | | | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
| | * Issue #16455: On FreeBSD and Solaris, if the locale is C, theVictor Stinner2013-01-031-23/+222
| | | | | | | | | | | | | | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
| | * Issue #16416: Fix compilation errorVictor Stinner2012-12-031-1/+3
| | |
* | | merge 3.3Benjamin Peterson2013-01-011-1/+1
|\ \ \ | |/ /
| * | bring Python into 2013Benjamin Peterson2013-01-011-1/+1
| | |
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-252-3/+2
| | |
* | | Issue #15422: get rid of PyCFunction_New macroAndrew Svetlov2012-12-251-1/+1
| | |
* | | improve tracing performance when f_trace is NULL (closes #16672)Benjamin Peterson2012-12-241-3/+4
| | | | | | | | | | | | Patch by Xavier de Gaye.
* | | update importlib.hBenjamin Peterson2012-12-191-2633/+2632
| | |
* | | Issue #16719: Get rid of WindowsError. Use OSError insteadAndrew Svetlov2012-12-191-3/+3
| | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | Add sanity assertions in some import lock code (issue #15599).Antoine Pitrou2012-12-181-0/+2
|\ \ \ | |/ /
| * | Add sanity assertions in some import lock code (issue #15599).Antoine Pitrou2012-12-181-0/+2
| | |
| * | (Merge 3.2) Issue #16416: On Mac OS X, operating system data are now alwaysVictor Stinner2012-12-031-6/+54
| |\ \ | | |/ | | | | | | | | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
| | * Issue #16416: On Mac OS X, operating system data are now alwaysVictor Stinner2012-12-031-6/+54
| | | | | | | | | | | | | | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape.
* | | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-4034/+3999
| | |
* | | use error label instead of breaking eval loop (closes #16693)Benjamin Peterson2012-12-151-3/+2
| | |
* | | cleanup and fix refleaksBenjamin Peterson2012-12-151-8/+12
| | |
* | | Issue #16421: allow to load multiple modules from the same shared object.Andrew Svetlov2012-12-141-10/+17
| | | | | | | | | | | | Patch by Václav Šmilauer.
* | | compile doesn't accept code objectsPhilip Jenvey2012-12-131-1/+1
| | |
* | | Issue #13390: New function :func:`sys.getallocatedblocks()` returns the ↵Antoine Pitrou2012-12-092-3/+19
| | | | | | | | | | | | | | | | | | number of memory blocks currently allocated. Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks.
* | | assert than we never try to deal with True, False, or None as a nameBenjamin Peterson2012-12-061-0/+4
| | |
* | | create NameConstant AST class for None, True, and False literals (closes #16619)Benjamin Peterson2012-12-065-56/+107
| | |
* | | Issue #15627: This is simply an update to the name of a new method recently ↵Eric Snow2012-12-051-8/+8
| | | | | | | | | | | | | | | | | | added to importlib.abc.SourceLoader.
* | | Issue #16455: On FreeBSD and Solaris, if the locale is C, theVictor Stinner2012-12-041-23/+217
| | | | | | | | | | | | | | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.
* | | Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.hChristian Heimes2012-12-021-0/+3
|\ \ \ | |/ /
| * | Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.hChristian Heimes2012-12-021-0/+3
| |\ \ | | |/
| | * Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.hChristian Heimes2012-12-021-0/+3
| | |
* | | Issue #16546: merge fix from 3.3Mark Dickinson2012-11-254-23/+25
|\ \ \ | |/ /
| * | Issue #16546: make ast.YieldFrom argument mandatory.Mark Dickinson2012-11-254-23/+25
| | |
* | | #16306: merge with 3.3.Ezio Melotti2012-11-231-1/+1
|\ \ \ | |/ /
| * | #16306: merge with 3.2.Ezio Melotti2012-11-231-1/+1
| |\ \ | | |/
| | * #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-1/+1
| | | | | | | | | | | | Serhiy Storchaka.
| | * Remove unused variabile "plain" in builtin_exec.Ezio Melotti2012-11-211-2/+0
| | |
* | | - Issue #16514: Fix regression causing a traceback when sys.path[0] is NoneBarry Warsaw2012-11-201-63/+67
|\ \ \ | |/ / | | | | | | (actually, any non-string or non-bytes type).
| * | - Issue #16514: Fix regression causing a traceback when sys.path[0] is NoneBarry Warsaw2012-11-201-63/+67
| | | | | | | | | | | | (actually, any non-string or non-bytes type).