summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clarify an assumption that importlib.abc.PyLoader makes when importing aBrett Cannon2009-03-091-1/+4
| | | | package and setting __path__.
* Introduce importlib.abc. The module contains various ABCs related to importsBrett Cannon2009-03-099-171/+739
| | | | | | | (mostly stuff specified by PEP 302). There are two ABCs, PyLoader and PyPycLoader, which help with implementing source and source/bytecode loaders by implementing load_module in terms of other methods. This removes a lot of gritty details loaders typically have to worry about.
* fix StringIO constructor docs #5452Benjamin Peterson2009-03-091-4/+4
|
* Remove a dead XXX comment.Brett Cannon2009-03-091-1/+0
|
* Fix importlib._bootstrap.PyPycLoader.load_module() to better handleBrett Cannon2009-03-091-3/+10
| | | | source/bytecode paths and what to do when they don't exist.
* hack StringIO's repr, so it doesn't give an encodingBenjamin Peterson2009-03-091-0/+5
|
* give TextIOWrapper a repr that tells you the encodingBenjamin Peterson2009-03-093-2/+19
|
* Make importlib.test.source.util.write_bytecode reset sys.dont_write_bytecode.Brett Cannon2009-03-091-1/+5
|
* PyObject_Unicode -> PyObject_StrBenjamin Peterson2009-03-081-1/+1
|
* Minor changes to Python source base loader.Brett Cannon2009-03-081-3/+7
| | | | | | | Fixed a bug where 'self' was left off a method call. Was masked by the fact the source/bytecode loader subclass is always used. Cleaned up when the source path is fetched. Also made sure ImportError is raised when a source path cannot be found.
* Skip case-sensitivity tests for extension modules if _testcapi cannot be found.Brett Cannon2009-03-081-0/+2
|
* Fix a typo in a comment.Brett Cannon2009-03-081-1/+1
|
* Add notice about strange behaviour of the bigmem testsAntoine Pitrou2009-03-071-0/+4
|
* Issue #3700: make test_bigmem py3k-compatible, and add bytes/bytearray testsAntoine Pitrou2009-03-072-278/+395
| | | | | (please note: some of the tests /do/ fail when run with a sufficiently large memory parameter (-M), perhaps because of the str/bytes/bytearray overhaul)
* let's get cracking on 3.1a2!Benjamin Peterson2009-03-072-1/+13
|
* tag 3.1a1Benjamin Peterson2009-03-071-0/+1
|
* bump version to 3.1a1v3.1a1Benjamin Peterson2009-03-076-10/+10
|
* update rpm filenameBenjamin Peterson2009-03-071-0/+0
|
* Redocument the empty() and full() methods.Raymond Hettinger2009-03-071-0/+16
|
* Merged revisions 70223 via svnmerge fromGuilherme Polo2009-03-072-3/+10
| | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r70223 | guilherme.polo | 2009-03-06 23:14:38 -0300 (Fri, 06 Mar 2009) | 4 lines Fixed issue #2638: Show a window constructed with tkSimpleDialog.Dialog only after it is has been populated and properly configured in order to prevent window flashing. ........
* Merged revisions 70218-70219 via svnmerge fromGuilherme Polo2009-03-073-2/+8
| | | | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r70218 | guilherme.polo | 2009-03-06 22:19:12 -0300 (Fri, 06 Mar 2009) | 1 line Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string. ........ r70219 | guilherme.polo | 2009-03-06 22:47:49 -0300 (Fri, 06 Mar 2009) | 4 lines Fixed issue #4792: Prevent a segfault in _tkinter by using the guaranteed to be safe interp argument given to the PythonCmd in place of the Tcl interpreter taken from a PythonCmd_ClientData. ........
* fixed except syntax for py3Tarek Ziadé2009-03-071-6/+6
|
* Merged revisions 70212 via svnmerge fromTarek Ziadé2009-03-073-16/+45
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70212 | tarek.ziade | 2009-03-07 01:32:45 +0100 (Sat, 07 Mar 2009) | 1 line Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler ........
* simplify and beautify codeBenjamin Peterson2009-03-061-23/+12
|
* Remove double negativeAntoine Pitrou2009-03-061-1/+1
|
* Document the suggested alternative to emtpy() and full().Raymond Hettinger2009-03-061-2/+19
|
* Issue #5433: Excessive newline detection optimization in ↵Antoine Pitrou2009-03-062-12/+43
| | | | IncrementalNewlineDecoder
* Issue #5429: unaligned access in TextIOWrapper cookie parsing (segfaults on ↵Antoine Pitrou2009-03-061-10/+10
| | | | SPARC CPUs, and possibly others)
* Issue #5334: array.fromfile() failed to insert values when EOFError was raised.Hirokazu Yamamoto2009-03-063-8/+14
| | | | Reviewed by Benjamin Peterson.
* Blocked revisions 70166-70167,70169,70176,70178,70197 via svnmergeBenjamin Peterson2009-03-050-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ........ r70166 | georg.brandl | 2009-03-04 12:24:41 -0600 (Wed, 04 Mar 2009) | 2 lines Remove obsolete stuff from string module docs. ........ r70167 | ronald.oussoren | 2009-03-04 15:07:19 -0600 (Wed, 04 Mar 2009) | 2 lines Fix issue 5224. ........ r70169 | ronald.oussoren | 2009-03-04 15:12:17 -0600 (Wed, 04 Mar 2009) | 2 lines Fix for issue 5226. ........ r70176 | ronald.oussoren | 2009-03-04 15:35:05 -0600 (Wed, 04 Mar 2009) | 2 lines Fixes issues 3883 and 5194 ........ r70178 | ronald.oussoren | 2009-03-04 16:49:36 -0600 (Wed, 04 Mar 2009) | 2 lines Fix for issue #1113328. ........ r70197 | jesus.cea | 2009-03-05 13:37:37 -0600 (Thu, 05 Mar 2009) | 1 line Minor bsddb documentation glitch ........
* remove usage of the deprecated max_buffer_sizeBenjamin Peterson2009-03-052-14/+14
|
* properly export PyExc_BlockingIOErrorBenjamin Peterson2009-03-051-1/+1
|
* Merged revisions 70193 via svnmerge fromHirokazu Yamamoto2009-03-051-15/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70193 | hirokazu.yamamoto | 2009-03-05 23:52:44 +0900 | 1 line mmap.resize for anonymous map is not working yet, so changed to real file mapping... ........
* Merged revisions 70189 via svnmerge fromHirokazu Yamamoto2009-03-053-7/+48
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70189 | hirokazu.yamamoto | 2009-03-05 23:21:12 +0900 | 4 lines Issue #5385: Fixed mmap crash after resize failure on windows. Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle because CreateFileMapping returns NULL when error occurs. ........
* FileIO.readinto() isn't going anywhereBenjamin Peterson2009-03-052-4/+1
|
* rather pointless XXXBenjamin Peterson2009-03-051-2/+0
|
* renameBenjamin Peterson2009-03-051-3/+3
|
* fix #4862 in _pyio: reset the decoder on seek(0)Benjamin Peterson2009-03-052-1/+5
|
* These are present in the trunk but no longer in 3.x, which causes problemsRonald Oussoren2009-03-042-0/+665
| | | | during the build of the Mac binary installer.
* Fix for issue #5408. This only enables test_osx_env when the current buildRonald Oussoren2009-03-041-1/+3
| | | | | is actually a framework build on OSX (the only environment where this test is valid).
* Merged revisions 70172 via svnmerge fromRonald Oussoren2009-03-041-1/+1
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70172 | ronald.oussoren | 2009-03-04 22:30:12 +0100 (Wed, 04 Mar 2009) | 7 lines Change framework search order when looking for Tcl/Tk on OSX. This is needed because the system linker looks in /Library/Framework before it looks in /System/Library frameworks. Without this patch _tkinter will be unusable when it is compiled on a system that has Tk 8.5 installed in /Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks) ........
* Rename importlib.util.set___package__ to set_package.Brett Cannon2009-03-044-9/+9
|
* Fix failures introduced by buggy merge (2)Antoine Pitrou2009-03-042-4/+1
|
* Fix failures introduced by buggy merge (1)Antoine Pitrou2009-03-042-15/+29
|
* Removed merge tracking for "svnmerge" forBenjamin Peterson2009-03-040-0/+0
| | | | svn+ssh://pythondev@svn.python.org/python/branches/io-c
* Update project file.Raymond Hettinger2009-03-041-0/+16
|
* Issue #5273: Fixed import failure on unicode path. (especially on windows)Hirokazu Yamamoto2009-03-041-4/+6
|
* Move importlib over to _io.Brett Cannon2009-03-041-5/+5
|
* Blocked revisions 70153 via svnmergeBrett Cannon2009-03-040-0/+0
| | | | | | | | | | ........ r70153 | brett.cannon | 2009-03-03 17:00:53 -0800 (Tue, 03 Mar 2009) | 4 lines Fix some more bugs caused by the backport from 3.x for importlib. Do a more exact copy of the final 3.x code to resolve bugs and add appropriate tests. ........
* Add a test for importlib.import_module.Brett Cannon2009-03-041-1/+10
|