]>
granicus.if.org Git - python/log
Mark Dickinson [Sun, 1 Feb 2009 13:59:22 +0000 (13:59 +0000)]
Issue #1717, continued: remove PyObject_Compare and Py_CmpToRich declarations
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.
Mark Dickinson [Sun, 1 Feb 2009 12:13:56 +0000 (12:13 +0000)]
Issue #1717: remove the cmp builtin function, the C-API functions
PyObject_Cmp, PyObject_Compare, and various support functions.
Mark Dickinson [Sun, 1 Feb 2009 10:28:51 +0000 (10:28 +0000)]
Issue #1717, stage 2: remove uses of tp_compare in Modules and most
Objects.
Brett Cannon [Sun, 1 Feb 2009 06:07:57 +0000 (06:07 +0000)]
Simplify write_bytecode for importlib.
Brett Cannon [Sun, 1 Feb 2009 05:55:23 +0000 (05:55 +0000)]
Update importlib notes.
Brett Cannon [Sun, 1 Feb 2009 05:43:31 +0000 (05:43 +0000)]
Ditch read_source() and read_bytecode() and replace with *_path() and
get_data().
Brett Cannon [Sun, 1 Feb 2009 05:33:17 +0000 (05:33 +0000)]
Expose source_path and bytecode_path on _PyFileLoader.
Brett Cannon [Sun, 1 Feb 2009 05:04:06 +0000 (05:04 +0000)]
Remove an outdated todo item from importlib.
Brett Cannon [Sun, 1 Feb 2009 04:28:04 +0000 (04:28 +0000)]
Move import semantic util code to importlib.test.import_.util.
Brett Cannon [Sun, 1 Feb 2009 04:00:05 +0000 (04:00 +0000)]
Rename importlib.test.support to importlib.test.util.
Brett Cannon [Sun, 1 Feb 2009 03:51:54 +0000 (03:51 +0000)]
Do not execute the .pyc/.pyo files as well as the .py files.
Brett Cannon [Sun, 1 Feb 2009 03:08:31 +0000 (03:08 +0000)]
Split out support code that is specific to source tests out of
importlib.test.support to importlib.test.source.util.
Brett Cannon [Sun, 1 Feb 2009 02:05:11 +0000 (02:05 +0000)]
Move source loader tests (including reload tests) over to
importlib.test.abc.LoaderTests.
Brett Cannon [Sun, 1 Feb 2009 01:34:13 +0000 (01:34 +0000)]
Fix importlib.machinery.FrozenImporter.load_module() to set __package__
properly. Discovered by also moving the loader tests over to
importlib.test.abc.LoaderTests.
Brett Cannon [Sun, 1 Feb 2009 00:49:41 +0000 (00:49 +0000)]
Move extension module loader tests over to importlib.test.abc.LoaderTests.
Brett Cannon [Sun, 1 Feb 2009 00:37:13 +0000 (00:37 +0000)]
Move built-in loader tests to importlib.test.abc.LoaderTests.
Gregory P. Smith [Sun, 1 Feb 2009 00:30:50 +0000 (00:30 +0000)]
documentation wording fix for issue4903
Benjamin Peterson [Sat, 31 Jan 2009 22:17:25 +0000 (22:17 +0000)]
Blocked revisions 69146,69149 via svnmerge
........
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
........
Benjamin Peterson [Sat, 31 Jan 2009 22:14:21 +0000 (22:14 +0000)]
fix indentation again
Benjamin Peterson [Sat, 31 Jan 2009 16:41:58 +0000 (16:41 +0000)]
Blocked revisions 69134 via svnmerge
........
r69134 | benjamin.peterson | 2009-01-31 10:29:18 -0600 (Sat, 31 Jan 2009) | 1 line
completely detabify unicodeobject.c
........
Benjamin Peterson [Sat, 31 Jan 2009 16:36:08 +0000 (16:36 +0000)]
detabify Objects/unicodeobject.c
Mark Dickinson [Sat, 31 Jan 2009 12:12:41 +0000 (12:12 +0000)]
Make Python/makeopcodetargets runnable with Python 2.3. With any luck, this
should solve the 'failed compile' on the x86 gentoo 3.x buildbot.
Benjamin Peterson [Sat, 31 Jan 2009 03:57:19 +0000 (03:57 +0000)]
comprehrensions now have proper scoping #5106
Benjamin Peterson [Fri, 30 Jan 2009 04:00:29 +0000 (04:00 +0000)]
Merged revisions 68840,68881,68943,68945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68840 | andrew.kuchling | 2009-01-20 20:15:43 -0600 (Tue, 20 Jan 2009) | 1 line
Add some items
........
r68881 | andrew.kuchling | 2009-01-23 21:28:18 -0600 (Fri, 23 Jan 2009) | 1 line
Add various items
........
r68943 | tarek.ziade | 2009-01-25 16:09:10 -0600 (Sun, 25 Jan 2009) | 1 line
Issue #5052: removed backward compatibility information (out of date)
........
r68945 | tarek.ziade | 2009-01-25 16:11:04 -0600 (Sun, 25 Jan 2009) | 1 line
added missing module docstring
........
Benjamin Peterson [Fri, 30 Jan 2009 03:39:35 +0000 (03:39 +0000)]
Merged revisions 68884,68973,68978,69003,69083,69112-69113 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68884 | kristjan.jonsson | 2009-01-24 04:52:26 -0600 (Sat, 24 Jan 2009) | 1 line
Add a test for UNC import paths, see issue 3677
........
r68973 | georg.brandl | 2009-01-26 15:29:38 -0600 (Mon, 26 Jan 2009) | 2 lines
Copy over docs on advanced role features from Sphinx docs.
........
r68978 | mark.dickinson | 2009-01-26 15:51:56 -0600 (Mon, 26 Jan 2009) | 3 lines
Issue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks
Hirokazu Yamamoto for the patch.
........
r69003 | benjamin.peterson | 2009-01-26 21:07:53 -0600 (Mon, 26 Jan 2009) | 1 line
excellent place to use a set() #5069
........
r69083 | benjamin.peterson | 2009-01-28 21:03:00 -0600 (Wed, 28 Jan 2009) | 1 line
fix download url
........
r69112 | benjamin.peterson | 2009-01-29 20:02:25 -0600 (Thu, 29 Jan 2009) | 1 line
pep8tify conditionals
........
r69113 | benjamin.peterson | 2009-01-29 20:24:39 -0600 (Thu, 29 Jan 2009) | 1 line
make _tkinter._flatten check the result of PySequence_Size for errors #3880
........
Hirokazu Yamamoto [Fri, 30 Jan 2009 03:15:05 +0000 (03:15 +0000)]
Issue #5041: Fixed memory leak.
Benjamin Peterson [Fri, 30 Jan 2009 03:01:08 +0000 (03:01 +0000)]
Blocked revisions 68772,68892,69039 via svnmerge
........
r68772 | benjamin.peterson | 2009-01-19 09:42:23 -0600 (Mon, 19 Jan 2009) | 1 line
add a note about the ftruncate change
........
r68892 | martin.v.loewis | 2009-01-24 09:45:18 -0600 (Sat, 24 Jan 2009) | 2 lines
Add heading for 2.7a0.
........
r69039 | benjamin.peterson | 2009-01-27 17:15:48 -0600 (Tue, 27 Jan 2009) | 1 line
use True and False
........
Benjamin Peterson [Fri, 30 Jan 2009 02:29:43 +0000 (02:29 +0000)]
fix a case of set_daemon #5087
Brett Cannon [Fri, 30 Jan 2009 01:31:34 +0000 (01:31 +0000)]
The trace module was trying to turn ints into ints since co_lnotab was changed
to a bytes object.
Brett Cannon [Fri, 30 Jan 2009 00:22:35 +0000 (00:22 +0000)]
Merge testing ABCs for importlib into importlib.test.abc.
Tarek Ziadé [Thu, 29 Jan 2009 23:54:06 +0000 (23:54 +0000)]
Merged revisions 69106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69106 | tarek.ziade | 2009-01-30 00:49:17 +0100 (Fri, 30 Jan 2009) | 1 line
fixed test_make_distribution so it runs on any platform, as long as tar an gzip are available
........
Raymond Hettinger [Thu, 29 Jan 2009 22:26:20 +0000 (22:26 +0000)]
Fix error in docs. The source says proto 2 is the default.
Antoine Pitrou [Thu, 29 Jan 2009 20:26:59 +0000 (20:26 +0000)]
Merged revisions 69100 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69100 | antoine.pitrou | 2009-01-29 21:19:34 +0100 (jeu., 29 janv. 2009) | 5 lines
Issue #2047: shutil.move() could believe that its destination path was
inside its source path if it began with the same letters (e.g. "src" vs.
"src.new").
........
Mark Hammond [Thu, 29 Jan 2009 13:08:01 +0000 (13:08 +0000)]
Fix issue5076: bdist_wininst fails on py3k
Mark Hammond [Thu, 29 Jan 2009 12:36:50 +0000 (12:36 +0000)]
Merged revisions 69094 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69094 | mark.hammond | 2009-01-29 23:13:31 +1100 (Thu, 29 Jan 2009) | 2 lines
Fix issue5075: bdist_wininst should not depend on the vc runtime?
........
Brett Cannon [Thu, 29 Jan 2009 04:10:21 +0000 (04:10 +0000)]
Merged revisions 69078-69080 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69078 | brett.cannon | 2009-01-28 16:54:11 -0800 (Wed, 28 Jan 2009) | 2 lines
Clarify some __del__ stuff.
........
r69079 | brett.cannon | 2009-01-28 16:54:32 -0800 (Wed, 28 Jan 2009) | 2 lines
Minor spelling mistake in datetime docs.
........
r69080 | brett.cannon | 2009-01-28 16:55:33 -0800 (Wed, 28 Jan 2009) | 2 lines
Ignore .pyc and .pyo files.
........
Benjamin Peterson [Thu, 29 Jan 2009 03:52:26 +0000 (03:52 +0000)]
Blocked revisions 69085,69087 via svnmerge
........
r69085 | raymond.hettinger | 2009-01-28 21:21:42 -0600 (Wed, 28 Jan 2009) | 1 line
Update itertools.__doc__ to include all tools.
........
r69087 | raymond.hettinger | 2009-01-28 21:43:44 -0600 (Wed, 28 Jan 2009) | 1 line
Fix typo.
........
Raymond Hettinger [Thu, 29 Jan 2009 03:48:02 +0000 (03:48 +0000)]
Fix typo.
Raymond Hettinger [Thu, 29 Jan 2009 03:41:55 +0000 (03:41 +0000)]
Update itertools.__doc__ to include all tools.
Benjamin Peterson [Thu, 29 Jan 2009 02:14:30 +0000 (02:14 +0000)]
Blocked revisions 68521 via svnmerge
........
r68521 | hirokazu.yamamoto | 2009-01-10 21:28:13 -0600 (Sat, 10 Jan 2009) | 1 line
Fixed version number in build_ssl.bat.
........
Benjamin Peterson [Thu, 29 Jan 2009 01:59:38 +0000 (01:59 +0000)]
Blocked revisions 69070,69074 via svnmerge
........
r69070 | raymond.hettinger | 2009-01-28 17:02:26 -0600 (Wed, 28 Jan 2009) | 6 lines
Issue 4920: Fixed next() vs __next__() issues in the ABCs
for Iterator and MutableSet. Also added thorough test for
required abstractmethods.
........
r69074 | raymond.hettinger | 2009-01-28 17:58:16 -0600 (Wed, 28 Jan 2009) | 1 line
Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods.
........
Raymond Hettinger [Thu, 29 Jan 2009 00:01:27 +0000 (00:01 +0000)]
Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods.
Raymond Hettinger [Wed, 28 Jan 2009 23:33:59 +0000 (23:33 +0000)]
Beef-up tests for collections ABCs.
Mark Dickinson [Wed, 28 Jan 2009 21:25:58 +0000 (21:25 +0000)]
Issue #4707: round(x, n) now returns an integer when x is an integer.
Previously it returned a float.
Guilherme Polo [Wed, 28 Jan 2009 20:40:48 +0000 (20:40 +0000)]
Merged revisions 69060-69063 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r69060 | guilherme.polo | 2009-01-28 17:23:28 -0200 (Wed, 28 Jan 2009) | 2 lines
Added support for collecting tests only from specific packages.
........
r69061 | guilherme.polo | 2009-01-28 17:28:04 -0200 (Wed, 28 Jan 2009) | 4 lines
* Renaming test_tk_* to test_ttk_* since that is what they are testing.
* Added ttk tests to the expected skips mapping just like where test_tcl
was expected to be skipped too.
........
r69062 | guilherme.polo | 2009-01-28 18:02:01 -0200 (Wed, 28 Jan 2009) | 1 line
Make sure the root windows gets destroyed
........
r69063 | guilherme.polo | 2009-01-28 18:03:26 -0200 (Wed, 28 Jan 2009) | 2 lines
Issue #5083: New 'gui' resource for regrtest.
........
Guilherme Polo [Wed, 28 Jan 2009 16:06:51 +0000 (16:06 +0000)]
Merged revisions 69053 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r69053 | guilherme.polo | 2009-01-28 13:56:01 -0200 (Wed, 28 Jan 2009) | 2 lines
Demos for ttk added.
........
Guilherme Polo [Wed, 28 Jan 2009 14:41:10 +0000 (14:41 +0000)]
Merged revisions 69050 via svnmerge from
svn+ssh://pythondev/python/trunk
........
r69050 | guilherme.polo | 2009-01-28 11:09:03 -0200 (Wed, 28 Jan 2009) | 2 lines
Added the ttk module. See issue #2983: Ttk support for Tkinter.
........
Mark Hammond [Tue, 27 Jan 2009 23:46:57 +0000 (23:46 +0000)]
Merged revisions 69038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69038 | mark.hammond | 2009-01-28 10:12:23 +1100 (Wed, 28 Jan 2009) | 3 lines
On Windows, use the Python 'Activation Context' when loading extensions
to avoid problems loading the CRT from a private assembly. Via bug 4566.
........
Benjamin Peterson [Tue, 27 Jan 2009 21:37:33 +0000 (21:37 +0000)]
Blocked revisions 69001,69010,69012,69014,69018,69023 via svnmerge
........
r69001 | raymond.hettinger | 2009-01-26 20:58:49 -0600 (Mon, 26 Jan 2009) | 1 line
Promote combinations_with_replacement() from a recipe to a regular itertool.
........
r69010 | raymond.hettinger | 2009-01-27 03:33:06 -0600 (Tue, 27 Jan 2009) | 1 line
Add tests to verify combinatoric relationships.
........
r69012 | raymond.hettinger | 2009-01-27 03:52:35 -0600 (Tue, 27 Jan 2009) | 1 line
Stronger tests for combinatoric relationships.
........
r69014 | raymond.hettinger | 2009-01-27 04:03:04 -0600 (Tue, 27 Jan 2009) | 1 line
Issue 5021: doctest.testfile should set __name__
........
r69018 | raymond.hettinger | 2009-01-27 04:36:14 -0600 (Tue, 27 Jan 2009) | 1 line
More exhaustive combinatoric checks.
........
r69023 | raymond.hettinger | 2009-01-27 07:26:35 -0600 (Tue, 27 Jan 2009) | 1 line
Add more tests for the powerset() recipe.
........
Mark Dickinson [Tue, 27 Jan 2009 20:27:05 +0000 (20:27 +0000)]
Fix an occurrence of cmp that was missed in r69025
Mark Dickinson [Tue, 27 Jan 2009 18:17:45 +0000 (18:17 +0000)]
Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from
the standard library and tests.
Raymond Hettinger [Tue, 27 Jan 2009 13:29:43 +0000 (13:29 +0000)]
Add more tests for the powerset() recipe.
Raymond Hettinger [Tue, 27 Jan 2009 11:06:40 +0000 (11:06 +0000)]
Resurrect two buffer tests, converting irepeat() to imul(). Undoes part of r68962.
Antoine Pitrou [Tue, 27 Jan 2009 10:49:58 +0000 (10:49 +0000)]
Add executable property to Python/makeopcodetargets.py
Raymond Hettinger [Tue, 27 Jan 2009 10:39:42 +0000 (10:39 +0000)]
More exhaustive combinatoric checks.
Raymond Hettinger [Tue, 27 Jan 2009 10:06:09 +0000 (10:06 +0000)]
Issue 5021: doctest.testfile should set __name__
Raymond Hettinger [Tue, 27 Jan 2009 09:56:30 +0000 (09:56 +0000)]
Stronger tests for combinatoric relationships.
Raymond Hettinger [Tue, 27 Jan 2009 09:35:21 +0000 (09:35 +0000)]
Add tests to verify combinatoric relationships.
Raymond Hettinger [Tue, 27 Jan 2009 04:57:51 +0000 (04:57 +0000)]
Beautify grouper() recipe in docs.
Raymond Hettinger [Tue, 27 Jan 2009 04:42:48 +0000 (04:42 +0000)]
Put functions back in alphabetical order.
Raymond Hettinger [Tue, 27 Jan 2009 04:20:44 +0000 (04:20 +0000)]
Forward port r69001: itertools.combinations_with_replacement().
Benjamin Peterson [Tue, 27 Jan 2009 03:02:38 +0000 (03:02 +0000)]
Blocked revisions 68998 via svnmerge
........
r68998 | raymond.hettinger | 2009-01-26 20:36:33 -0600 (Mon, 26 Jan 2009) | 3 lines
Tweak column alignment for collections docs.
........
Brett Cannon [Tue, 27 Jan 2009 02:39:33 +0000 (02:39 +0000)]
Initial take on importlib.test.loader_tests.
Raymond Hettinger [Tue, 27 Jan 2009 02:38:22 +0000 (02:38 +0000)]
Tweak column alignment in collections docs.
Benjamin Peterson [Tue, 27 Jan 2009 02:30:47 +0000 (02:30 +0000)]
Blocked revisions 68964,68985 via svnmerge
........
r68964 | raymond.hettinger | 2009-01-26 10:52:22 -0600 (Mon, 26 Jan 2009) | 1 line
Fix signed/unsigned mismatch.
........
r68985 | raymond.hettinger | 2009-01-26 17:29:09 -0600 (Mon, 26 Jan 2009) | 6 lines
Remove startup firewall message. That is handled by an error dialog
whenever a connection cannot be formed. Also, the Idle version number
is already in the About Idle dialog. Now, the startup is clean looking
once again.
........
Brett Cannon [Tue, 27 Jan 2009 01:46:04 +0000 (01:46 +0000)]
Update importlib NOTES.
Brett Cannon [Tue, 27 Jan 2009 01:44:50 +0000 (01:44 +0000)]
Move importlib.test.frozen.test_finder over to importlib.test.finder_tests.
Brett Cannon [Tue, 27 Jan 2009 01:41:57 +0000 (01:41 +0000)]
Move importlib.test.builtin.test_finder over to importlib.test.finder_tests.
Brett Cannon [Tue, 27 Jan 2009 01:34:30 +0000 (01:34 +0000)]
Make importlib.test.finder_tests an ABC.
Brett Cannon [Tue, 27 Jan 2009 01:33:54 +0000 (01:33 +0000)]
Move importlib.test.extension.test_finder over to importlib.test.finder_tests.
Raymond Hettinger [Tue, 27 Jan 2009 00:28:36 +0000 (00:28 +0000)]
Forward port r68985: Idle startup message.
Antoine Pitrou [Mon, 26 Jan 2009 22:00:21 +0000 (22:00 +0000)]
Fix test so as to also pass in debug mode
Mark Dickinson [Mon, 26 Jan 2009 21:56:07 +0000 (21:56 +0000)]
Merged revisions 68974-68975 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68974 | mark.dickinson | 2009-01-26 21:36:30 +0000 (Mon, 26 Jan 2009) | 4 lines
Fix undefined behaviour (left shift of negative value) in long_hash. Also,
rewrap a line of length > 79, and update comments.
........
r68975 | mark.dickinson | 2009-01-26 21:40:08 +0000 (Mon, 26 Jan 2009) | 2 lines
Fix comment.
........
Antoine Pitrou [Mon, 26 Jan 2009 21:48:00 +0000 (21:48 +0000)]
Followup of #4705: we can't skip the binary buffering layer for stdin because FileIO doesn't have a read1() method
Tarek Ziadé [Mon, 26 Jan 2009 17:23:20 +0000 (17:23 +0000)]
Merged revisions 68951 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68951 | tarek.ziade | 2009-01-26 00:34:00 +0100 (Mon, 26 Jan 2009) | 1 line
Fixed #1885: --formats=tar,gztar was not working properly in the sdist command
........
Raymond Hettinger [Mon, 26 Jan 2009 16:53:29 +0000 (16:53 +0000)]
Fix signed/unsigned mismatch.
Benjamin Peterson [Mon, 26 Jan 2009 03:50:45 +0000 (03:50 +0000)]
Blocked revisions 68941-68942 via svnmerge
........
r68941 | raymond.hettinger | 2009-01-25 15:04:14 -0600 (Sun, 25 Jan 2009) | 1 line
Promote compress() from a recipe to being a regular itertool.
........
r68942 | raymond.hettinger | 2009-01-25 15:31:47 -0600 (Sun, 25 Jan 2009) | 1 line
Improved itertools recipe for generating powerset().
........
Raymond Hettinger [Mon, 26 Jan 2009 02:56:58 +0000 (02:56 +0000)]
Forward port r68941 adding itertools.compress().
Raymond Hettinger [Mon, 26 Jan 2009 02:23:50 +0000 (02:23 +0000)]
Backport r68942: update powerset() recipe.
Raymond Hettinger [Mon, 26 Jan 2009 02:09:03 +0000 (02:09 +0000)]
As discussed on python-dev, remove several operator functions
isSequenceType(), isMappingType(), and isNumberType() in favor
of using abstract base classes. Also, remove repeat() and irepeat()
in favor of mul() and imul().
After the buildbots have had a go at this. Will backport to Py3.0.1.
For Py2.7, will just mark as deprecated.
Brett Cannon [Mon, 26 Jan 2009 01:54:40 +0000 (01:54 +0000)]
Update NOTES for importlib.
Brett Cannon [Mon, 26 Jan 2009 01:21:47 +0000 (01:21 +0000)]
Blocked revisions 68953 via svnmerge
........
r68953 | brett.cannon | 2009-01-25 17:16:50 -0800 (Sun, 25 Jan 2009) | 3 lines
Backport importlib in the form of providing importlib.import_module(). This has
been done purely to help transitions from 2.7 to 3.1.
........
Mark Dickinson [Sun, 25 Jan 2009 22:25:06 +0000 (22:25 +0000)]
Merged revisions 68947 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68947 | mark.dickinson | 2009-01-25 22:12:31 +0000 (Sun, 25 Jan 2009) | 3 lines
No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
This change should silence a compiler warning on Windows.
........
Benjamin Peterson [Sun, 25 Jan 2009 19:44:16 +0000 (19:44 +0000)]
use the classmethod directive
Tarek Ziadé [Sun, 25 Jan 2009 19:31:22 +0000 (19:31 +0000)]
Merged revisions 68933 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68933 | tarek.ziade | 2009-01-25 20:29:10 +0100 (Sun, 25 Jan 2009) | 1 line
Issue #4863, removing remaining bits
........
Tarek Ziadé [Sun, 25 Jan 2009 18:27:45 +0000 (18:27 +0000)]
Merged revisions 68929 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68929 | tarek.ziade | 2009-01-25 19:19:25 +0100 (Sun, 25 Jan 2009) | 1 line
Fixed #4863: removed distutils.mwerkscompiler
........
Hirokazu Yamamoto [Sun, 25 Jan 2009 17:50:07 +0000 (17:50 +0000)]
Blocked revisions 68927 via svnmerge
........
r68927 | hirokazu.yamamoto | 2009-01-26 02:46:48 +0900 | 1 line
Fixed compile error on windows.
........
Benjamin Peterson [Sun, 25 Jan 2009 17:19:17 +0000 (17:19 +0000)]
Blocked revisions 68925 via svnmerge
........
r68925 | benjamin.peterson | 2009-01-25 11:15:10 -0600 (Sun, 25 Jan 2009) | 5 lines
fix building the core with --disable-unicode
I changed some bytearray methods to use strings instead of unicode like bytes_repr
Also, bytearray.fromhex() can take strings as well as unicode
........
Antoine Pitrou [Sun, 25 Jan 2009 16:34:23 +0000 (16:34 +0000)]
Issue #4753: By enabling a configure option named '--with-computed-gotos'
on compilers that support it (notably: gcc, SunPro, icc), the bytecode
evaluation loop is compiled with a new dispatch mechanism which gives
speedups of up to 20%, depending on the system, on various benchmarks.
Mark Dickinson [Sun, 25 Jan 2009 10:48:51 +0000 (10:48 +0000)]
Merged revisions 68920 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68920 | mark.dickinson | 2009-01-25 10:39:15 +0000 (Sun, 25 Jan 2009) | 2 lines
Remove uses of cmp from the decimal module.
........
Brett Cannon [Sun, 25 Jan 2009 04:56:30 +0000 (04:56 +0000)]
Document both importlib.machinery.BuiltinImporter and FrozenImporter.
Brett Cannon [Sun, 25 Jan 2009 04:21:39 +0000 (04:21 +0000)]
Add the terms "finder", "loader", and "importer" to the glossary.
Jesse Noller [Sun, 25 Jan 2009 03:45:53 +0000 (03:45 +0000)]
merge r68915 to py3k
Mark Dickinson [Sat, 24 Jan 2009 21:46:33 +0000 (21:46 +0000)]
Merged revisions 68903,68906 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68903 | mark.dickinson | 2009-01-24 16:40:29 +0000 (Sat, 24 Jan 2009) | 5 lines
Issue #
1672332 : Fix unpickling of subnormal floats, which was raising
ValueError on some platforms as a result of the platform strtod setting
errno on underflow.
........
r68906 | mark.dickinson | 2009-01-24 21:08:38 +0000 (Sat, 24 Jan 2009) | 2 lines
Issue #3657: fix occasional test_pickletools failures.
........
Mark Dickinson [Sat, 24 Jan 2009 16:22:21 +0000 (16:22 +0000)]
Merged revisions 68897 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68897 | mark.dickinson | 2009-01-24 16:17:27 +0000 (Sat, 24 Jan 2009) | 2 lines
Issue #5025: Fix occasional test_kqueue failure on OS X.
........
Martin v. Löwis [Sat, 24 Jan 2009 16:19:45 +0000 (16:19 +0000)]
Merged revisions 68893 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68893 | martin.v.loewis | 2009-01-24 16:47:27 +0100 (Sa, 24 Jan 2009) | 3 lines
Issue #3881: Help Tcl to load even when started through the
unreadable local symlink to "Program Files" on Vista.
........
Mark Dickinson [Sat, 24 Jan 2009 15:56:57 +0000 (15:56 +0000)]
Merged revisions 68890 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68890 | mark.dickinson | 2009-01-24 15:27:44 +0000 (Sat, 24 Jan 2009) | 6 lines
Issue #4393: fix 3 classes of potential portability problems in longobject.c:
- fix some places where counters into ob_digit were declared as
int instead of Py_ssize_t
- add (twodigit) casts where necessary
- fix code in _PyLong_AsByteArray that uses << on negative values
........
Mark Dickinson [Sat, 24 Jan 2009 15:02:35 +0000 (15:02 +0000)]
Some minor cleanups in PyLong_FromLong:
- fast path wasn't being properly taken for negative ints;
thanks Victor Stinner for pointing this out.
- use Py_SAFE_DOWNCAST instead of direct casting to digit
(it's safer, especially if we ever consider moving to 30-bit
digits)
- cleaner way to write negation
Martin v. Löwis [Sat, 24 Jan 2009 14:10:07 +0000 (14:10 +0000)]
Merged revisions 68885 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68885 | martin.v.loewis | 2009-01-24 15:00:33 +0100 (Sa, 24 Jan 2009) | 3 lines
Issue #4710: Extract directories properly in the zipfile module;
allow adding directories to a zipfile.
........
Kristján Valur Jónsson [Sat, 24 Jan 2009 10:50:45 +0000 (10:50 +0000)]
Add a test for UNC import paths, see issue 3677