summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* long -> intGuilherme Polo2009-02-071-1/+1
|
* Merged revisions 69385 via svnmerge fromTarek Ziadé2009-02-072-16/+47
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69385 | tarek.ziade | 2009-02-07 01:05:39 +0100 (Sat, 07 Feb 2009) | 1 line #3986 replacing string and types call (like in the Py3k branch), and put exec_msg call at the right place ........
* Fixing changes from the last merge.Guilherme Polo2009-02-062-2/+3
|
* Make test_build_ext.py use sysconfig "srcdir" to find the source forNeil Schemenauer2009-02-062-5/+23
| | | | | xxmodule.c. Have sysconfig make the srcdir path absolute if that seems necessary (running non-installed Python outside the build directory).
* Merged revisions 69366 via svnmerge fromTarek Ziadé2009-02-061-0/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69366 | tarek.ziade | 2009-02-06 14:27:38 +0100 (Fri, 06 Feb 2009) | 1 line Fixed #5167: test_customize_compiler does not apply under non unix compilers ........
* Merged revisions 69360 via svnmerge fromTarek Ziadé2009-02-062-1/+39
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69360 | tarek.ziade | 2009-02-06 09:55:23 +0100 (Fri, 06 Feb 2009) | 1 line removed types usage and added test coverage (work for #3986) ........
* Merged revisions 69141,69211-69212 via svnmerge fromBenjamin Peterson2009-02-062-9/+6
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69141 | benjamin.peterson | 2009-01-31 14:01:48 -0600 (Sat, 31 Jan 2009) | 1 line fix indentation ........ r69211 | guilherme.polo | 2009-02-02 14:23:29 -0600 (Mon, 02 Feb 2009) | 1 line Restore the previous geometry before leaving the test ........ r69212 | guilherme.polo | 2009-02-02 14:28:59 -0600 (Mon, 02 Feb 2009) | 1 line Moving to importlib ........
* Initial, untested stab at writing a common denominator function for __import__Brett Cannon2009-02-062-0/+56
| | | | and import_module.
* Merged revisions ↵Benjamin Peterson2009-02-065-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 69129-69131,69139-69140,69143,69154-69159,69169,69288-69289,69293,69297-69301,69348 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r69129 | benjamin.peterson | 2009-01-30 19:42:55 -0600 (Fri, 30 Jan 2009) | 1 line check the errno in bad fd cases ........ r69130 | andrew.kuchling | 2009-01-30 20:50:09 -0600 (Fri, 30 Jan 2009) | 1 line Add a section ........ r69131 | andrew.kuchling | 2009-01-30 21:26:02 -0600 (Fri, 30 Jan 2009) | 1 line Text edits and markup fixes ........ r69139 | mark.dickinson | 2009-01-31 10:44:04 -0600 (Sat, 31 Jan 2009) | 2 lines Add an extra test for long <-> float hash equivalence. ........ r69140 | benjamin.peterson | 2009-01-31 10:52:03 -0600 (Sat, 31 Jan 2009) | 1 line PyErr_BadInternalCall() raises a SystemError, not TypeError #5112 ........ r69143 | benjamin.peterson | 2009-01-31 15:00:10 -0600 (Sat, 31 Jan 2009) | 1 line I believe the intention here was to avoid a global lookup ........ r69154 | benjamin.peterson | 2009-01-31 16:33:02 -0600 (Sat, 31 Jan 2009) | 1 line fix indentation in comment ........ r69155 | david.goodger | 2009-01-31 16:53:46 -0600 (Sat, 31 Jan 2009) | 1 line markup fix ........ r69156 | gregory.p.smith | 2009-01-31 16:57:30 -0600 (Sat, 31 Jan 2009) | 4 lines - Issue #5104: The socket module now raises OverflowError when 16-bit port and protocol numbers are supplied outside the allowed 0-65536 range on bind() and getservbyport(). ........ r69157 | benjamin.peterson | 2009-01-31 17:43:25 -0600 (Sat, 31 Jan 2009) | 1 line add explanatory comment ........ r69158 | benjamin.peterson | 2009-01-31 17:54:38 -0600 (Sat, 31 Jan 2009) | 1 line more flags which only work for function blocks ........ r69159 | gregory.p.smith | 2009-01-31 18:16:01 -0600 (Sat, 31 Jan 2009) | 2 lines Update doc wording as suggested in issue4903. ........ r69169 | guilherme.polo | 2009-01-31 20:56:16 -0600 (Sat, 31 Jan 2009) | 3 lines Restore Tkinter.Tk._loadtk so this test doesn't fail for problems related to ttk. ........ r69288 | georg.brandl | 2009-02-05 04:30:57 -0600 (Thu, 05 Feb 2009) | 1 line #5153: fix typo in example. ........ r69289 | georg.brandl | 2009-02-05 04:37:07 -0600 (Thu, 05 Feb 2009) | 1 line #5144: document that PySys_SetArgv prepends the script directory (or the empty string) to sys.path. ........ r69293 | georg.brandl | 2009-02-05 04:59:28 -0600 (Thu, 05 Feb 2009) | 1 line #5059: fix example. ........ r69297 | georg.brandl | 2009-02-05 05:32:18 -0600 (Thu, 05 Feb 2009) | 1 line #5015: document PythonHome API functions. ........ r69298 | georg.brandl | 2009-02-05 05:33:21 -0600 (Thu, 05 Feb 2009) | 1 line #4827: fix callback example. ........ r69299 | georg.brandl | 2009-02-05 05:35:28 -0600 (Thu, 05 Feb 2009) | 1 line #4820: use correct module for ctypes.util. ........ r69300 | georg.brandl | 2009-02-05 05:38:23 -0600 (Thu, 05 Feb 2009) | 1 line #4563: disable alpha and roman lists, fixes wrong formatting of contributor list. ........ r69301 | georg.brandl | 2009-02-05 05:40:35 -0600 (Thu, 05 Feb 2009) | 1 line #5031: fix Thread.daemon property docs. ........ r69348 | benjamin.peterson | 2009-02-05 19:47:31 -0600 (Thu, 05 Feb 2009) | 1 line fix download link ........
* Merged revisions 69331 via svnmerge fromEric Smith2009-02-061-1/+13
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69331 | eric.smith | 2009-02-05 19:48:26 -0500 (Thu, 05 Feb 2009) | 2 lines Implement issue #4285, convert sys.version_info to a named tuple. Patch by Ross Light. ........
* Merged revisions 69342 via svnmerge fromTarek Ziadé2009-02-062-3/+28
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69342 | tarek.ziade | 2009-02-06 02:15:51 +0100 (Fri, 06 Feb 2009) | 1 line fixed #1520877: now distutils reads Read from the environment/Makefile ........
* Merged revisions 69332 via svnmerge fromTarek Ziadé2009-02-062-6/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69332 | tarek.ziade | 2009-02-06 01:49:45 +0100 (Fri, 06 Feb 2009) | 1 line using >= so setting verbose to 2 will work as well ........
* Merged revisions 69330 via svnmerge fromTarek Ziadé2009-02-061-16/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69330 | tarek.ziade | 2009-02-06 01:46:57 +0100 (Fri, 06 Feb 2009) | 1 line README now reflects the current state ........
* Merged revisions 69324 via svnmerge fromTarek Ziadé2009-02-064-24/+185
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69324 | tarek.ziade | 2009-02-06 01:31:59 +0100 (Fri, 06 Feb 2009) | 1 line Fixed #1276768: verbose option was not used in the code. ........
* Finish implementing tests for importlib.machinery.PathFinder by testing thatBrett Cannon2009-02-062-14/+31
| | | | implicit hooks are handled properly.
* Add tests for using sys.path_hooks by importlib.machinery.PathFinder.Brett Cannon2009-02-052-3/+11
|
* Merged revisions 69316 via svnmerge fromTarek Ziadé2009-02-052-3/+26
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69316 | tarek.ziade | 2009-02-05 23:52:52 +0100 (Thu, 05 Feb 2009) | 1 line Fixed #5132: enable extensions to link on Solaris ........
* Implement test for sys.path_importer_cache having None forBrett Cannon2009-02-051-2/+14
| | | | importlib.machinery.PathFinder.
* Since sysconfig.get_python_inc() now works when building in aNeil Schemenauer2009-02-051-21/+4
| | | | | directory other than the source directory, simplify the test code in test_sysconfig.py.
* Fix get_python_inc() to work when building in a directory separate fromNeil Schemenauer2009-02-051-5/+8
| | | | the source. Also, define 'srcdir' on non-posix platforms.
* 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.
* Minor doc fixes.Raymond Hettinger2009-02-041-3/+6
|
* 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.
* The default shelve pickle protocol should have been 3.Raymond Hettinger2009-02-031-1/+1
|
* Register decimals as numbers.NumberRaymond Hettinger2009-02-032-0/+14
|
* Validate that __length_hint__ returns a usable result.Raymond Hettinger2009-02-031-0/+10
|
* Issue 1242657: list(obj) can swallow KeyboardInterrupt.Raymond Hettinger2009-02-021-0/+24
|
* 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
* 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. ........
* Issue #1717: remove the cmp builtin function, the C-API functionsMark Dickinson2009-02-011-3/+1
| | | | PyObject_Cmp, PyObject_Compare, and various support functions.
* Issue #1717, stage 2: remove uses of tp_compare in Modules and mostMark Dickinson2009-02-013-2/+103
| | | | 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
|