summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 69285 via svnmerge fromTarek Ziadé2009-02-051-6/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69285 | tarek.ziade | 2009-02-05 10:06:23 +0100 (Thu, 05 Feb 2009) | 1 line Fix comment for #1835 ........
* Update NOTES for importlib about PathFinder.Brett Cannon2009-02-051-0/+2
|
* Begin writing tests for importlib.machinery.PathFinder.Brett Cannon2009-02-051-1/+57
|
* Check in the fact that importlib.machinery.PathFinder now exists.Brett Cannon2009-02-051-0/+1
|
* Rename importlib._bootstrap.SysPathFinder to PathFinder and expose off ofBrett Cannon2009-02-051-18/+16
| | | | importlib.machinery. Also make the methods either class or staticmethods.
* Blocked revisions 69276 via svnmergeBenjamin Peterson2009-02-050-0/+0
| | | | | | | | ........ r69276 | raymond.hettinger | 2009-02-04 13:25:17 -0600 (Wed, 04 Feb 2009) | 1 line Clarify that named tuples do not have to subclass tuple. ........
* Minor doc fixes.Raymond Hettinger2009-02-044-8/+11
|
* Tweak the docs for Counter() objects.Raymond Hettinger2009-02-041-4/+4
|
* Merged revisions 69260 via svnmerge fromThomas Heller2009-02-033-400/+29
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69260 | thomas.heller | 2009-02-03 18:07:40 +0100 (Di, 03 Feb 2009) | 9 lines This refactoring should make it easier to add new calling conventions. Replace ffi_call_STDCALL and ffi_call_SYSV by a ffi_call_x86 function that cleans up the stack when FFI_SYSV is used, and does nothing for FFI_STDCALL. Remove libffi_msvc\win32.S, which is out of date and also unused; it was only used for building ctypes with the MingW compiler. ........
* r69209 caused the fp of HTTPResponse objects to be a io.BufferedReader ↵Kristján Valur Jónsson2009-02-031-4/+4
| | | | instead of a socket.SocketIO. This moves the underlying socket.socket object from r.fp._sock to r.fp.raw._sock. Since _sock is an internal object, this should be ok. The change is for the testsuite only, to assert socket state.
* Blocked revisions 69252 via svnmergeBrett Cannon2009-02-030-0/+0
| | | | | | | | | ........ r69252 | brett.cannon | 2009-02-02 20:58:29 -0800 (Mon, 02 Feb 2009) | 3 lines Make importlib a package. This allows using svn:externals in the sandbox to package up the code for separate distribution. ........
* Add importlib to the Makefile.Brett Cannon2009-02-031-0/+3
|
* The default shelve pickle protocol should have been 3.Raymond Hettinger2009-02-033-2/+4
|
* Blocked revisions 69242 via svnmergeBenjamin Peterson2009-02-030-0/+0
| | | | | | | | ........ r69242 | raymond.hettinger | 2009-02-02 21:37:03 -0600 (Mon, 02 Feb 2009) | 1 line Register decimals as numbers.Number ........
* Register decimals as numbers.NumberRaymond Hettinger2009-02-032-0/+14
|
* Blocked revisions 69237 via svnmergeBenjamin Peterson2009-02-030-0/+0
| | | | | | | | ........ r69237 | raymond.hettinger | 2009-02-02 20:23:19 -0600 (Mon, 02 Feb 2009) | 1 line Validate that __length_hint__ returns a usable result. ........
* Validate that __length_hint__ returns a usable result.Raymond Hettinger2009-02-032-1/+11
|
* Blocked revisions 68532,69161,69227 via svnmergeBenjamin Peterson2009-02-030-0/+0
| | | | | | | | | | | | | | | | ........ r68532 | kristjan.jonsson | 2009-01-11 10:23:37 -0600 (Sun, 11 Jan 2009) | 1 line Issue 4879: Allow buffering for HTTPResponse ........ r69161 | gregory.p.smith | 2009-01-31 18:24:21 -0600 (Sat, 31 Jan 2009) | 2 lines wording for for issue4903. ........ r69227 | raymond.hettinger | 2009-02-02 15:50:13 -0600 (Mon, 02 Feb 2009) | 1 line Issue 1242657: list(obj) can swallow KeyboardInterrupt. ........
* Issue 1242657: list(obj) can swallow KeyboardInterrupt.Raymond Hettinger2009-02-026-15/+55
|
* Issue #1717, continued: Doc fixes and other cleanup relatedMark Dickinson2009-02-029-36/+25
| | | | to renaming of tp_compare.
* Merged revisions 69217,69219 via svnmerge fromGuilherme Polo2009-02-022-2/+3
| | | | | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69217 | guilherme.polo | 2009-02-02 19:08:32 -0200 (Mon, 02 Feb 2009) | 1 line Fix for issue #1581476 ........ r69219 | guilherme.polo | 2009-02-02 19:14:14 -0200 (Mon, 02 Feb 2009) | 1 line NEWS entry for issue #1581476 ........
* Change type of tp_reserved from cmpfunc to (void *); remove definitionMark Dickinson2009-02-021-2/+1
| | | | of cmpfunc.
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-0299-216/+215
| | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong.
* Add some notes for importlib to package up what is in Python 2.7 as well as ↵Brett Cannon2009-02-021-0/+8
| | | | modules that can probably get replaced by importlib at some point.
* To prevent another screw-up on my part where my prototype gets lost thanks toBrett Cannon2009-02-021-0/+76
| | | | | | an ``svn revert`` (gee, maybe more atomic commits by use of something like a DVCS would help with this? Wish someone would get on that ...), I am checking in an untested, work-in-progress meta path finder to handle sys.path.
* merging / reimplementing r68532 from the trunk to Py3kKristján Valur Jónsson2009-02-022-24/+7
| | | | | Enable buffering for HTTPResponse's fp. read() behaves identically for buffered and non-buffered IO. read(n) also won't block if n bytes are availble on the socket. There is therefore no reason not to use buffering. The reason 2.x disables buffering by default, that some clients may be accessing the underlying socket directly and so bypass the buffering buffer, doesn't apply in 3.x with its redesigned IO library. See issue 4448 and issue 4879
* Merged revisions 69205 via svnmerge fromMartin v. Löwis2009-02-022-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69205 | martin.v.loewis | 2009-02-02 15:23:16 +0100 (Mo, 02 Feb 2009) | 1 line Issue #4494: Fix build with Py_NO_ENABLE_SHARED on Windows. ........
* Merged revisions 69200 via svnmerge fromHirokazu Yamamoto2009-02-020-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69200 | hirokazu.yamamoto | 2009-02-02 17:01:17 +0900 | 1 line Set native svn:eol-style property for text files. ........
* Note to move __package__ stuff over to rpartition to make Nick happy. Also makeBrett Cannon2009-02-021-0/+4
| | | | sure that accepting the empty string for top-level modules is okay.
* Recorded merge of revisions 69195 via svnmerge fromGuilherme Polo2009-02-024-16/+34
| | | | | | | | | | | svn+ssh://pythondev/python/trunk ........ r69195 | guilherme.polo | 2009-02-01 22:38:54 -0200 (Sun, 01 Feb 2009) | 3 lines Use a single Tcl interpreter through all these tests, this may help some failing buildbots. ........
* Remove exception for non-NULL tp_compare that was introduced in r69188.Mark Dickinson2009-02-011-7/+0
|
* Issue #1717: documentation fixes related to the cmp removal.Mark Dickinson2009-02-016-36/+45
|
* Issue #1717, continued: remove PyObject_Compare and Py_CmpToRich declarationsMark Dickinson2009-02-015-38/+24
| | | | | | from object.h; don't inherit tp_compare slot on subclasses; and raise TypeError when initializing a type that has a nonzero tp_compare slot. Fix up comparison-related comments in object.c and code.h.
* Issue #1717: remove the cmp builtin function, the C-API functionsMark Dickinson2009-02-018-184/+6
| | | | PyObject_Cmp, PyObject_Compare, and various support functions.
* Issue #1717, stage 2: remove uses of tp_compare in Modules and mostMark Dickinson2009-02-0115-113/+385
| | | | Objects.
* Simplify write_bytecode for importlib.Brett Cannon2009-02-011-30/+7
|
* Update importlib notes.Brett Cannon2009-02-011-12/+11
|
* Ditch read_source() and read_bytecode() and replace with *_path() andBrett Cannon2009-02-012-40/+8
| | | | get_data().
* Expose source_path and bytecode_path on _PyFileLoader.Brett Cannon2009-02-012-11/+13
|
* Remove an outdated todo item from importlib.Brett Cannon2009-02-011-6/+0
|
* Move import semantic util code to importlib.test.import_.util.Brett Cannon2009-02-0110-92/+99
|
* Rename importlib.test.support to importlib.test.util.Brett Cannon2009-02-0122-191/+163
|
* Do not execute the .pyc/.pyo files as well as the .py files.Brett Cannon2009-02-011-1/+4
|
* Split out support code that is specific to source tests out ofBrett Cannon2009-02-018-113/+123
| | | | importlib.test.support to importlib.test.source.util.
* Move source loader tests (including reload tests) over toBrett Cannon2009-02-013-77/+72
| | | | importlib.test.abc.LoaderTests.
* Fix importlib.machinery.FrozenImporter.load_module() to set __package__Brett Cannon2009-02-013-20/+57
| | | | | properly. Discovered by also moving the loader tests over to importlib.test.abc.LoaderTests.
* Move extension module loader tests over to importlib.test.abc.LoaderTests.Brett Cannon2009-02-012-4/+22
|
* Move built-in loader tests to importlib.test.abc.LoaderTests.Brett Cannon2009-02-012-5/+24
|
* documentation wording fix for issue4903Gregory P. Smith2009-02-012-6/+6
|
* Blocked revisions 69146,69149 via svnmergeBenjamin Peterson2009-01-310-0/+0
| | | | | | | | | | | | ........ r69146 | benjamin.peterson | 2009-01-31 15:47:42 -0600 (Sat, 31 Jan 2009) | 1 line fix indentation ........ r69149 | benjamin.peterson | 2009-01-31 16:03:19 -0600 (Sat, 31 Jan 2009) | 1 line fix indentation; looks like all I managed to do the first time is make things uglier ........