summaryrefslogtreecommitdiff
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* Issue #3080: Drop OS/2 support for the import machineryVictor Stinner2011-03-131-52/+0
| | | | Sorry Andrew I MacIntyre!
* Issue #3080: Reindent and simplify import_submodule()Victor Stinner2011-03-131-42/+39
|
* Issue #3080: Use %R to format module name in error messagesVictor Stinner2011-03-131-2/+2
| | | | %R format instead of %U
* Issue #3080: Use Unicode for the "The Magnum Opus of dotted-name import"Victor Stinner2011-03-151-159/+222
| | | | | | | | | | | | | Use Unicode for module name and paths in the following functions: * PyImport_ImportModuleLevel() * add_submodule() * ensure_from_list() * get_parent() * import_module_level() * import_submodule() * load_next() * mark_miss()
* Issue #3080: PyImport_ImportModuleNoBlock() uses UnicodeVictor Stinner2011-03-131-11/+14
|
* Issue #3080: load_module() expects name and path as UnicodeVictor Stinner2011-03-131-81/+55
|
* Issue #3080: Use Unicode to import source and compiled modulesVictor Stinner2011-03-201-151/+201
| | | | | | | | | | | | | * Use Unicode for module name and path in the following functions: * get_file() * load_source_module(), parse_source_module() * make_compiled_pathname(), check_compiled_module(), read_compiled_module(), load_compiled_module(), write_compiled_module(), update_compiled_module() * On Windows, use CreateDirectoryW() instead of mkdir() * update_compiled_module() cannot fail anymore
* Issue #3080: get_sourcefile(), make_source_pathname(), load_package()Victor Stinner2011-03-141-88/+131
| | | | | Use Unicode for module name and path in get_sourcefile(), make_source_pathname() and load_package() functions.
* Issue #3080: Create find_module_path() subfunctionVictor Stinner2011-03-121-89/+139
|
* Issue #3080: Create find_module_path_list() subfunctionVictor Stinner2011-03-201-146/+164
|
* Issue #3080: Remove useless name buffer from find_module()Victor Stinner2011-03-121-9/+7
| | | | Rename subname argument to name, and mark it as constant.
* Issue #3080: find_module() initialize buf and *p_fpVictor Stinner2011-03-121-9/+33
| | | | Document also the find_module() function
* Issue #3080: _PyImport_LoadDynamicModule() uses Unicode for name and pathVictor Stinner2011-03-143-66/+60
| | | | Document also that dynamic module names are ASCII only
* Issue #3080: _PyWin_FindRegisteredModule() returns the path as UnicodeVictor Stinner2011-03-081-4/+17
| | | | | | | | | * Document the function * Use RegQueryValueW() instead of RegQueryValueA() * Use _Py_fopen() instead of fopen() * Allocate registry key on the heap, not on the stack, and handle memory allocation failure * Handle Python exception in find_module()
* Issue #3080: Use PyUnicode_InternFromString() for builtinsVictor Stinner2011-03-071-2/+2
| | | | | _PyImport_FixupBuiltin() and _PyImport_FindBuiltin() use PyUnicode_InternFromString() instead of PyUnicode_FromString().
* Issue #3080: Import builtins using Unicode stringsVictor Stinner2011-03-072-58/+78
| | | | | | | - is_builtin(), init_builtin(), load_builtin() and other builtin related functions use Unicode strings, instead of byte strings - Rename _PyImport_FixupExtensionUnicode() to _PyImport_FixupExtensionObject() - Rename _PyImport_FindExtensionUnicode() to _PyImport_FindExtensionObject()
* Issue #3080: Add PyImport_ImportFrozenModuleObject()Victor Stinner2011-03-201-37/+61
| | | | | find_frozen(), get_frozen_object(), is_frozen_package() and other functions related to frozen modules use Unicode strings instead of byte strings.
* Issue #3080: PyImport_Cleanup() uses UnicodeVictor Stinner2011-03-071-10/+7
| | | | Replace strcmp() by PyUnicode_CompareWithASCIIString()
* import.c: replace tab by spacesVictor Stinner2011-03-071-1/+1
|
* #11565: Merge with 3.2.Ezio Melotti2011-03-163-4/+4
|\
| * #11565: Merge with 3.1.Ezio Melotti2011-03-163-4/+4
| |\
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-163-4/+4
| | |
| * | Issue 11510: Fix BUILD_SET optimizer bug.Raymond Hettinger2011-03-151-1/+2
| | |
* | | Issue 11510: Fix BUILD_SET optimizer bug.Raymond Hettinger2011-03-151-1/+2
| | |
* | | #11515: Merge with 3.2.Ezio Melotti2011-03-152-2/+2
|\ \ \ | |/ /
| * | #11515: Merge with 3.1.Ezio Melotti2011-03-152-2/+2
| |\ \ | | |/
| | * #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-151-1/+1
| | |
* | | Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2Jesus Cea2011-03-142-9/+2
| | |
* | | use only the hex version, since the revno is unreliable across reposBenjamin Peterson2011-03-131-3/+2
| | |
* | | bump ast versionBenjamin Peterson2011-03-121-2/+2
| | |
* | | convert ast versioning to mercurialBenjamin Peterson2011-03-121-2/+3
| | |
* | | Issue #11244: The peephole optimizer is now able to constant-foldAntoine Pitrou2011-03-111-47/+120
| | | | | | | | | | | | | | | arbitrarily complex expressions. This also fixes a 3.2 regression where operations involving negative numbers were not constant-folded.
* | | Remove sys.subversion and svn build identification leftovers.Georg Brandl2011-03-061-94/+0
| | |
* | | Merge build identification to default branch.Georg Brandl2011-03-061-0/+3
|\ \ \ | |/ /
| * | Merge build identification to 3.2 branch.Georg Brandl2011-03-061-0/+3
| |\ \ | | |/
| | * Commit the hg build identification patch from the pymigr repo.Georg Brandl2011-03-051-0/+3
| | |
| | * Merged revisions 88430 via svnmerge fromGeorg Brandl2011-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r88430 | georg.brandl | 2011-02-15 20:48:59 +0100 (Di, 15 Feb 2011) | 1 line #730467: Another small AIX fix. ........
| | * Merged revisions 87796 via svnmerge fromDavid Malcolm2011-01-061-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87796 | david.malcolm | 2011-01-06 12:01:36 -0500 (Thu, 06 Jan 2011) | 6 lines Issue #10655: Fix the build on PowerPC on Linux with GCC when building with timestamp profiling (--with-tsc): the preprocessor test for the PowerPC support now looks for "__powerpc__" as well as "__ppc__": the latter seems to only be present on OS X; the former is the correct one for Linux with GCC. ........
| | * Merged revisions 87607 via svnmerge fromBenjamin Peterson2011-01-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87607 | benjamin.peterson | 2011-01-01 08:28:31 -0600 (Sat, 01 Jan 2011) | 1 line update copyright to 2011 ........
| | * Merged revisions 86545 via svnmerge fromBenjamin Peterson2010-11-201-20/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86545 | benjamin.peterson | 2010-11-19 22:31:07 -0600 (Fri, 19 Nov 2010) | 1 line new plan: functions that want 'tmp' can declare it ........
| | * Merged revisions 86540 via svnmerge fromBenjamin Peterson2010-11-201-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86540 | benjamin.peterson | 2010-11-19 20:01:45 -0600 (Fri, 19 Nov 2010) | 1 line c89 declarations ........
| | * Merged revisions 86538 via svnmerge fromBenjamin Peterson2010-11-201-50/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86538 | benjamin.peterson | 2010-11-19 19:38:49 -0600 (Fri, 19 Nov 2010) | 1 line use %R format code; fixes invalid dereferencing #10391 ........
| | * Merged revisions 85980 via svnmerge fromHirokazu Yamamoto2010-10-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85980 | hirokazu.yamamoto | 2010-10-31 00:08:15 +0900 | 1 line Issue #10157: Fixed refleaks in pythonrun.c. Patch by Stefan Krah. ........
| | * Merged revisions 85817,85904 via svnmerge fromBenjamin Peterson2010-10-291-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85817 | benjamin.peterson | 2010-10-23 22:41:46 -0500 (Sat, 23 Oct 2010) | 1 line tighten loop ........ r85904 | benjamin.peterson | 2010-10-28 22:28:14 -0500 (Thu, 28 Oct 2010) | 1 line decrement offset when it points to a newline (#10186 followup) ........
| | * Merged revisions 85896 via svnmerge fromAntoine Pitrou2010-10-281-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85896 | antoine.pitrou | 2010-10-29 00:56:58 +0200 (ven., 29 oct. 2010) | 4 lines Issue #5437: A preallocated MemoryError instance should not hold traceback data (including local variables caught in the stack trace) alive infinitely. ........
| | * Merged revisions 85814 via svnmerge fromBenjamin Peterson2010-10-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85814 | benjamin.peterson | 2010-10-23 21:52:05 -0500 (Sat, 23 Oct 2010) | 1 line remove broken code accounting an offset the size of the line #10186 ........
| | * Issue #10077: Fix logging of site module errors at startup.Victor Stinner2010-10-231-1/+4
| | |
| | * Merged revisions 85757 via svnmerge fromBenjamin Peterson2010-10-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85757 | benjamin.peterson | 2010-10-20 16:25:23 -0500 (Wed, 20 Oct 2010) | 1 line fix uninitialized struct member #10152 ........
| | * Recorded merge of revisions 85569-85570 via svnmerge fromVictor Stinner2010-10-195-26/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85569 | victor.stinner | 2010-10-16 15:14:10 +0200 (sam., 16 oct. 2010) | 4 lines Issue #9713, #10114: Parser functions (eg. PyParser_ASTFromFile) expects filenames encoded to the filesystem encoding with surrogateescape error handler (to support undecodable bytes), instead of UTF-8 in strict mode. ........ r85570 | victor.stinner | 2010-10-16 15:42:53 +0200 (sam., 16 oct. 2010) | 4 lines Fix ast_error_finish() and err_input(): filename can be NULL Fix my previous commit (r85569). ........
| | * Merged revisions 85562 via svnmerge fromBenjamin Peterson2010-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85562 | benjamin.peterson | 2010-10-15 22:45:45 -0500 (Fri, 15 Oct 2010) | 1 line don't identify the toplevel namespace by name #9997 ........