Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 14 | -350/+1824 |
| | |||||
* | Merge 3.2: Issue #7732: Don't open a directory as a file anymore while | Victor Stinner | 2011-09-23 | 1 | -0/+9 |
|\ | | | | | | | | | importing a module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead. | ||||
| * | Issue #7732: Don't open a directory as a file anymore while importing a | Victor Stinner | 2011-09-23 | 1 | -1/+8 |
| | | | | | | | | | | module. Ignore the direcotry if its name matchs the module name (e.g. "__init__.py") and raise a ImportError instead. | ||||
* | | Issue #13002: Fix Visual Studio warning (not enough actual parameters). | Stefan Krah | 2011-09-21 | 1 | -1/+1 |
| | | |||||
* | | - Issue #13021: Missing decref on an error path. Thanks to Suman Saha for | Barry Warsaw | 2011-09-20 | 1 | -1/+3 |
|\ \ | |/ | | | | | finding the bug and providing a patch. | ||||
| * | - Issue #13021: Missing decref on an error path. Thanks to Suman Saha for | Barry Warsaw | 2011-09-20 | 1 | -1/+3 |
| | | | | | | | | finding the bug and providing a patch. | ||||
* | | import.c: remove now useless arbitrary limit | Victor Stinner | 2011-09-15 | 1 | -6/+0 |
| | | |||||
* | | Merge 3.2: Fix the import machinery if there is an error on sys.path or ↵ | Victor Stinner | 2011-09-15 | 1 | -4/+4 |
|\ \ | |/ | | | | | | | | | | | | | sys.meta_path find_module() now raises a RuntimeError, instead of ImportError, on an error on sys.path or sys.meta_path because load_package() and import_submodule() returns None and clear the exception if a ImportError occurred. | ||||
| * | Fix the import machinery if there is an error on sys.path or sys.meta_path | Victor Stinner | 2011-09-15 | 1 | -4/+4 |
| | | | | | | | | | | | | find_module() now raises a RuntimeError, instead of ImportError, on an error on sys.path or sys.meta_path because load_package() and import_submodule() returns None and clear the exception if a ImportError occurred. | ||||
* | | Merge 3.2 | Éric Araujo | 2011-09-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
* | | Merge 3.2: Remove unused variable if Python is build without threads | Victor Stinner | 2011-09-01 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Remove unused variable if Python is build without threads | Victor Stinner | 2011-09-01 | 1 | -0/+2 |
| | | |||||
| * | accept bytes for the AST 'string' type | Benjamin Peterson | 2011-09-01 | 1 | -1/+1 |
| | | | | | | | | This is a temporary kludge and all is well in 3.3. | ||||
* | | include header with PyAST_Validate | Benjamin Peterson | 2011-08-13 | 1 | -0/+3 |
| | | |||||
* | | add a AST validator (closes #12575) | Benjamin Peterson | 2011-08-09 | 2 | -4/+486 |
| | | |||||
* | | add a asdl bytes type, so Bytes.s be properly typechecked | Benjamin Peterson | 2011-08-09 | 1 | -4/+14 |
| | | |||||
* | | plug refleak | Benjamin Peterson | 2011-07-30 | 1 | -0/+1 |
| | | |||||
* | | bytes -> bytearray | Benjamin Peterson | 2011-07-29 | 1 | -1/+1 |
| | | |||||
* | | bytes should be verboten in sum() (fixes #12654) | Benjamin Peterson | 2011-07-29 | 1 | -0/+5 |
| | | |||||
* | | Branch merge | Éric Araujo | 2011-07-29 | 1 | -3/+3 |
|\ \ | |||||
| * \ | Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes) | Éric Araujo | 2011-07-29 | 1 | -3/+3 |
| |\ \ | | |/ | |||||
| | * | Fix style in code added by edba722f3b02 | Éric Araujo | 2011-07-26 | 1 | -3/+3 |
| | | | |||||
* | | | Issue #12380: PyArg_ParseTuple now accepts a bytearray for the 'c' format. | Eli Bendersky | 2011-07-29 | 1 | -0/+2 |
|/ / | | | | | | | | | | | | | As a side effect, this now allows the rjust, ljust and center methods of bytes and bytearray to accept a bytearray argument. Patch by Petri Lehtinen | ||||
* | | Add a test for issue #1813: getlocale() failing under a Turkish locale | Antoine Pitrou | 2011-07-24 | 1 | -1/+1 |
|\ \ | |/ | | | | | (not a problem under 3.x) | ||||
| * | Issue #1813: Fix codec lookup under Turkish locales. | Antoine Pitrou | 2011-07-24 | 1 | -1/+1 |
| | | |||||
* | | Issue 12620: Make pendingbusy flag static to Py_MakePendingCalls(). | Charles-François Natali | 2011-07-23 | 1 | -4/+4 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-22 | 1 | -10/+8 |
|\ \ | |/ | |||||
| * | None is ok for identifiers but not strings | Benjamin Peterson | 2011-07-22 | 1 | -10/+8 |
| | | |||||
| * | hardcode the old svn __version__ | Benjamin Peterson | 2011-07-22 | 1 | -2/+2 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-22 | 1 | -2/+19 |
|\ \ | |/ | |||||
| * | type check AST strings and identifiers | Benjamin Peterson | 2011-07-22 | 1 | -4/+21 |
| | | | | | | | | This is related to a21829180423 as well as #12609 and #12610. | ||||
* | | merge heads | Benjamin Peterson | 2011-07-18 | 1 | -2/+2 |
|\ \ | |||||
| * | | Make warnings accept a callable for showwarnings instead of | Brett Cannon | 2011-07-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | restricting itself to just functions and methods (which allows built-in functions to be used, etc.). Closes issue #10271. Thanks to lekma for the bug report. | ||||
* | | | excise the remains of STOP_CODE, which hasn't done anything useful for years | Benjamin Peterson | 2011-07-18 | 2 | -5/+0 |
|/ / | |||||
* | | remove ast.__version__ (closes #12273) | Benjamin Peterson | 2011-07-16 | 1 | -11/+0 |
| | | |||||
* | | merge 3.2 (#11627) | Benjamin Peterson | 2011-07-15 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | catch nasty exception classes with __new__ that doesn't return a exception ↵ | Benjamin Peterson | 2011-07-15 | 1 | -0/+7 |
| | | | | | | | | | | | | (closes #11627) Patch from Andreas Stührk. | ||||
* | | Py_BuildValue("C") supports non-BMP characters on narrow build | Victor Stinner | 2011-07-14 | 1 | -5/+0 |
| | | | | | | | | | | | | Py_BuildValue("C") doesn't have to check the code point, PyUnicode_FromOrdinal() checks its input and now supports non-BMP characters (range U+10000-U+10FFFF). | ||||
* | | Issue #11863: Remove support for legacy systems deprecated in Python 3.2 | Antoine Pitrou | 2011-07-08 | 5 | -657/+0 |
| | | | | | | | | | | (following PEP 11). These systems are systems using Mach C Threads, SunOS lightweight processes, GNU pth threads and IRIX threads. | ||||
* | | Issue #11863: remove unused file Python/thread_wince.h | Antoine Pitrou | 2011-07-08 | 1 | -136/+0 |
| | | |||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | start out this branch always with filename NULL | Benjamin Peterson | 2011-07-05 | 1 | -1/+1 |
| | | |||||
* | | Issue #12469: partial revert of 024827a9db64, freebsd6 thread initialization | Victor Stinner | 2011-07-04 | 1 | -4/+1 |
| | | | | | | | | | | | | | | * Don't create a thread at startup anymore to initialize the pthread library: it changes the behaviour of many functions related to signal handling like sigwait() * Reenable test_sigtimedwait_poll() on FreeBSD 6 | ||||
* | | Issue #9642: Uniformize the tests on the availability of the mbcs codec | Victor Stinner | 2011-07-04 | 1 | -1/+1 |
| | | | | | | | | Add a new HAVE_MBCS define. | ||||
* | | Issue #9642: Fix filesystem encoding initialization: use the ANSI code page on | Victor Stinner | 2011-07-04 | 2 | -19/+16 |
| | | | | | | | | | | | | Windows if the mbcs codec is not available, and fail with a fatal error if we cannot get the locale encoding (if nl_langinfo(CODESET) is not available) instead of using UTF-8. | ||||
* | | merge 3.2 | Benjamin Peterson | 2011-07-04 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | plug refleak | Benjamin Peterson | 2011-07-04 | 1 | -0/+1 |
| | | |||||
* | | (merge 3.2) Issue #12467: warnings: fix a race condition if a warning is | Victor Stinner | 2011-07-04 | 1 | -1/+1 |
|\ \ | |/ | | | | | emitted at shutdown, if globals()['__file__'] is None. | ||||
| * | Issue #12467: warnings: fix a race condition if a warning is emitted at | Victor Stinner | 2011-07-04 | 1 | -1/+1 |
| | | | | | | | | shutdown, if globals()['__file__'] is None. | ||||
* | | no one passes NULL here (or should anyway) | Benjamin Peterson | 2011-07-03 | 1 | -3/+0 |
| | |