Benjamin Peterson
a8a93042dc
Merged revisions 66693 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66693 | benjamin.peterson | 2008-09-29 21:11:07 -0500 (Mon, 29 Sep 2008) | 4 lines
Victor Stinner's patches to check the return result of PyLong_Ssize_t
reviewed by Amaury
........
2008-09-30 02:18:09 +00:00
Benjamin Peterson
cb9a5517d0
remove a trace of the cmp argument for list.sort
2008-09-30 02:08:36 +00:00
Benjamin Peterson
05c262171f
Blocked revisions 66676,66682,66689 via svnmerge
...
........
r66676 | jesus.cea | 2008-09-28 18:24:19 -0500 (Sun, 28 Sep 2008) | 1 line
bsddb4.7.3pre9 renamed to 4.7.3
........
r66682 | bill.janssen | 2008-09-29 13:56:38 -0500 (Mon, 29 Sep 2008) | 1 line
fix for release blocker 3910, 2.6 regression in socket.ssl method
........
r66689 | benjamin.peterson | 2008-09-29 20:31:49 -0500 (Mon, 29 Sep 2008) | 5 lines
fix security issue 2: imageop's poor validation of arguments could result in segfaults
patch by Victor Stinner
reviewed by myself and Brett
........
2008-09-30 01:53:10 +00:00
Martin v. Löwis
601149bb8e
Merged revisions 66686 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66686 | martin.v.loewis | 2008-09-30 00:09:07 +0200 (Di, 30 Sep 2008) | 5 lines
Issue #3965 : Allow repeated calls to turtle.Screen, by making it a
true singleton object.
Reviewed by Gregor Lingl.
........
2008-09-29 22:19:08 +00:00
Thomas Heller
28acc6cae5
Merged revisions 66683 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66683 | thomas.heller | 2008-09-29 21:56:24 +0200 (Mo, 29 Sep 2008) | 1 line
Fix issue #3547 for MingW, update comments.
........
2008-09-29 20:03:53 +00:00
Georg Brandl
4970215bb5
#3993 : fix old-style print statements.
2008-09-29 06:43:45 +00:00
Brett Cannon
58e74c6e0a
Blocked revisions 66677 via svnmerge.
...
Should be merged once test_cProfile is no longer flagged as broken.
........
r66677 | brett.cannon | 2008-09-28 20:41:21 -0700 (Sun, 28 Sep 2008) | 7 lines
The _lsprof module could crash the interpreter if it was given an external
timer that did not return a float and a timer was still running when the
Profiler object was garbage collected.
Fixes issue 3895.
Code review by Benjamin Peterson.
........
2008-09-29 04:05:23 +00:00
Benjamin Peterson
d06e3b00e9
Merged revisions 66673 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66673 | benjamin.peterson | 2008-09-28 15:57:21 -0500 (Sun, 28 Sep 2008) | 1 line
merge in the fix for test_ftplib on some bots [reviewed by Georg]
........
2008-09-28 21:00:42 +00:00
Georg Brandl
89f09a687e
#3983 : typo fix.
2008-09-28 09:08:27 +00:00
Georg Brandl
850c5cd9cb
Merged revisions 66667 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66667 | georg.brandl | 2008-09-28 10:34:31 +0200 (Sun, 28 Sep 2008) | 2 lines
No downloads for RCs.
........
2008-09-28 08:38:49 +00:00
Benjamin Peterson
e9bbc8b257
Devil merge!
...
Merged revisions 66561,66564,66580,66610,66614,66618,66624-66625,66628-66629,66643,66645,66660-66665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66561 | benjamin.peterson | 2008-09-22 17:13:29 -0500 (Mon, 22 Sep 2008) | 1 line
clean up docs for platform's linux_distribution and dist functions
........
r66564 | benjamin.peterson | 2008-09-23 08:32:46 -0500 (Tue, 23 Sep 2008) | 1 line
mention how to override boolean evaluation
........
r66580 | georg.brandl | 2008-09-24 04:47:55 -0500 (Wed, 24 Sep 2008) | 2 lines
Indentation normalization.
........
r66610 | andrew.kuchling | 2008-09-24 12:27:55 -0500 (Wed, 24 Sep 2008) | 1 line
Improve wording
........
r66614 | benjamin.peterson | 2008-09-24 17:11:59 -0500 (Wed, 24 Sep 2008) | 4 lines
#3950 fix missing scale factors in turtle.py
reviewers: Georg, Benjamin
........
r66618 | benjamin.peterson | 2008-09-25 15:35:45 -0500 (Thu, 25 Sep 2008) | 1 line
add a NEWs entry for r66614
........
r66624 | raymond.hettinger | 2008-09-25 18:31:52 -0500 (Thu, 25 Sep 2008) | 1 line
Fix namedtuple bug reported by Glenn Linderman. Template did not form correctly if the field names were input in Unicode.
........
r66625 | benjamin.peterson | 2008-09-25 21:58:36 -0500 (Thu, 25 Sep 2008) | 1 line
add the beginnings of a C-API 2 -> 3 porting guide
........
r66628 | benjamin.peterson | 2008-09-26 15:52:06 -0500 (Fri, 26 Sep 2008) | 1 line
add an 'other options' section
........
r66629 | georg.brandl | 2008-09-26 16:15:21 -0500 (Fri, 26 Sep 2008) | 2 lines
typos.
........
r66643 | andrew.kuchling | 2008-09-27 09:12:33 -0500 (Sat, 27 Sep 2008) | 1 line
Add a last bunch of items
........
r66645 | benjamin.peterson | 2008-09-27 11:23:55 -0500 (Sat, 27 Sep 2008) | 1 line
2to3's api should be considered unstable
........
r66660 | andrew.kuchling | 2008-09-27 17:54:08 -0500 (Sat, 27 Sep 2008) | 1 line
#3510 : future-proof text
........
r66661 | benjamin.peterson | 2008-09-27 18:28:43 -0500 (Sat, 27 Sep 2008) | 1 line
clarify a few things
........
r66662 | andrew.kuchling | 2008-09-27 19:15:27 -0500 (Sat, 27 Sep 2008) | 1 line
#1579477 : mention necessity to flush output before exec'ing
........
r66663 | andrew.kuchling | 2008-09-27 20:08:47 -0500 (Sat, 27 Sep 2008) | 1 line
#1415508 : Document two functions
........
r66664 | benjamin.peterson | 2008-09-27 20:51:36 -0500 (Sat, 27 Sep 2008) | 1 line
better grammar
........
r66665 | benjamin.peterson | 2008-09-27 20:53:29 -0500 (Sat, 27 Sep 2008) | 1 line
note the 2to3 -d could be useful for other refactoring
........
2008-09-28 02:06:32 +00:00
Benjamin Peterson
d61de7f18d
Merged revisions 66653-66654 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
................
r66653 | benjamin.peterson | 2008-09-27 16:09:10 -0500 (Sat, 27 Sep 2008) | 49 lines
Merged revisions 66511,66548-66549,66644,66646-66652 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r66511 | benjamin.peterson | 2008-09-18 21:49:27 -0500 (Thu, 18 Sep 2008) | 1 line
remove a useless if __name__ == '__main__'
........
r66548 | benjamin.peterson | 2008-09-21 21:14:14 -0500 (Sun, 21 Sep 2008) | 1 line
avoid the perils of mutable default arguments
........
r66549 | benjamin.peterson | 2008-09-21 21:26:11 -0500 (Sun, 21 Sep 2008) | 1 line
some places in RefactoringTool should raise an error instead of logging it
........
r66644 | benjamin.peterson | 2008-09-27 10:45:10 -0500 (Sat, 27 Sep 2008) | 1 line
fix doctest refactoring
........
r66646 | benjamin.peterson | 2008-09-27 11:40:13 -0500 (Sat, 27 Sep 2008) | 1 line
don't print to stdout when 2to3 is used as a library
........
r66647 | benjamin.peterson | 2008-09-27 12:28:28 -0500 (Sat, 27 Sep 2008) | 1 line
let fixer modules and classes have different prefixes
........
r66648 | benjamin.peterson | 2008-09-27 14:02:13 -0500 (Sat, 27 Sep 2008) | 1 line
raise errors when 2to3 is used as a library
........
r66649 | benjamin.peterson | 2008-09-27 14:03:38 -0500 (Sat, 27 Sep 2008) | 1 line
fix docstring
........
r66650 | benjamin.peterson | 2008-09-27 14:22:21 -0500 (Sat, 27 Sep 2008) | 1 line
make use of enumerate
........
r66651 | benjamin.peterson | 2008-09-27 14:24:13 -0500 (Sat, 27 Sep 2008) | 1 line
revert last revision; it breaks things
........
r66652 | benjamin.peterson | 2008-09-27 16:03:06 -0500 (Sat, 27 Sep 2008) | 1 line
add tests for lib2to3.refactor
........
................
r66654 | benjamin.peterson | 2008-09-27 16:12:20 -0500 (Sat, 27 Sep 2008) | 1 line
enable refactor tests
................
2008-09-27 22:17:35 +00:00
Benjamin Peterson
027951f16d
Blocked revisions 66657 via svnmerge
...
........
r66657 | benjamin.peterson | 2008-09-27 17:08:12 -0500 (Sat, 27 Sep 2008) | 1 line
backport r66656 so people using -Qnew aren't affected
........
2008-09-27 22:10:28 +00:00
Benjamin Peterson
3a53fbbfcf
#3911 FTP.makeport was giving bad port numbers
...
reviewed by Benjamin and Antoine
2008-09-27 22:04:16 +00:00
Benjamin Peterson
be17a11721
Merged revisions 66634 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66634 | benjamin.peterson | 2008-09-26 21:49:54 -0500 (Fri, 26 Sep 2008) | 7 lines
give ftplib a real test suite
A asyncore based mock ftp server is used to test the protocol.
This is all thanks to Giampaolo Rodola #3939
(Barry gave me permission to do this before final on IRC.)
........
2008-09-27 21:49:47 +00:00
Amaury Forgeot d'Arc
f2e9368021
Merged revisions 66631 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66631 | amaury.forgeotdarc | 2008-09-27 00:34:08 +0200 (sam., 27 sept. 2008) | 7 lines
#3967 : Correct a crash in count() and find() methods of string-like objects.
For example:
"".count("xxxx", sys.maxint, 0)
Reviewed by Benjamin Peterson.
Will port to 2.5 and 3.0.
........
2008-09-26 22:48:41 +00:00
Benjamin Peterson
60320cb3e4
#3946 fix PyObject_CheckBuffer on a memoryview object
...
reviewed by Antoine
2008-09-26 21:49:22 +00:00
Amaury Forgeot d'Arc
8a1b689e85
Blocked revisions 66568 via svnmerge
...
........
r66568 | jesus.cea | 2008-09-23 20:54:08 +0200 (mar., 23 sept. 2008) | 1 line
Bugfix for issue3885 and 'DB.verify()' crash
........
2008-09-25 22:55:06 +00:00
Amaury Forgeot d'Arc
b5cf301b8e
#3929 : dbm.open() would try to raise a tuple. This does not work anymore with python 3.0.
...
Reviewed by Georg Brandl.
2008-09-25 22:27:43 +00:00
Amaury Forgeot d'Arc
7de5f29972
Blocked revisions 66620 via svnmerge
...
........
r66620 | amaury.forgeotdarc | 2008-09-25 22:52:56 +0200 (jeu., 25 sept. 2008) | 5 lines
#3965 : on Windows, open() crashes if the filename or the mode is invalid,
and if the filename is a unicode string.
Reviewed by Martin von Loewis.
........
2008-09-25 20:57:46 +00:00
Martin v. Löwis
6fea2339d8
Merged revisions 66616 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66616 | martin.v.loewis | 2008-09-25 06:12:50 +0200 (Do, 25 Sep 2008) | 2 lines
Bug #3951 : Py_USING_MEMORY_DEBUGGER should not be enabled by default.
........
2008-09-25 04:15:27 +00:00
Benjamin Peterson
78cb491de3
Merged revisions 66496 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66496 | benjamin.peterson | 2008-09-17 20:22:16 -0500 (Wed, 17 Sep 2008) | 1 line
fix possible integer overflows in _hashopenssl #3886
........
2008-09-24 22:53:33 +00:00
Thomas Heller
1308c26cf4
Merged revisions 66611 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66611 | thomas.heller | 2008-09-24 20:26:05 +0200 (Mi, 24 Sep 2008) | 3 lines
Fix issue #3547 : ctypes is confused by bitfields of varying integer types
Reviewed by Fredrik Lundh and Skip Montanaro.
........
2008-09-24 19:01:29 +00:00
Georg Brandl
05f5ab7ee3
Remove references to __cmp__.
2008-09-24 09:11:47 +00:00
Benjamin Peterson
23dbc6eeca
Blocked revisions 66569 via svnmerge
...
........
r66569 | benjamin.peterson | 2008-09-23 15:43:09 -0500 (Tue, 23 Sep 2008) | 1 line
backport the atexit test for r66563
........
2008-09-23 20:53:33 +00:00
Hirokazu Yamamoto
f8ce60d32d
Blocked revisions 66566 via svnmerge
...
........
r66566 | hirokazu.yamamoto | 2008-09-24 01:11:09 +0900 | 2 lines
Issue #3945 : Fixed compile error on cygwin. (initializer element is not constant)
Reviewed by Amaury Forgeot d'Arc.
........
2008-09-23 16:18:18 +00:00
Benjamin Peterson
0931042997
fix some more cases of reduce's move to functools from Tim Pietzcker
2008-09-23 13:44:44 +00:00
Benjamin Peterson
b8401c7cb1
add a test for bad atexit arguments
2008-09-23 03:14:49 +00:00
Skip Montanaro
711552bb40
Fix for issue 3666 - atexit.register with bad inputs segfaults on exit.
...
Reviewed by Christian Heimes.
2008-09-23 00:52:29 +00:00
Benjamin Peterson
9bc9351c04
Merged revisions 66508,66510,66512-66513,66523-66526,66529-66530,66532,66535,66538,66544,66546 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66508 | benjamin.peterson | 2008-09-18 18:20:28 -0500 (Thu, 18 Sep 2008) | 1 line
tabify
........
r66510 | josiah.carlson | 2008-09-18 21:07:22 -0500 (Thu, 18 Sep 2008) | 2 lines
Fix for documentation bug. Fixes issue 3904.
........
r66512 | raymond.hettinger | 2008-09-19 03:07:48 -0500 (Fri, 19 Sep 2008) | 1 line
Improve docs for super().
........
r66513 | lars.gustaebel | 2008-09-19 07:39:23 -0500 (Fri, 19 Sep 2008) | 2 lines
Correct information about the tarfile module.
........
r66523 | georg.brandl | 2008-09-21 02:14:44 -0500 (Sun, 21 Sep 2008) | 2 lines
#3852 : fix some select.kqueue and kevent docs.
........
r66524 | georg.brandl | 2008-09-21 02:15:59 -0500 (Sun, 21 Sep 2008) | 2 lines
#3912 : document default for *places* arg.
........
r66525 | georg.brandl | 2008-09-21 02:17:00 -0500 (Sun, 21 Sep 2008) | 2 lines
#3916 : fixes for docs wrt. Windows directory layout
........
r66526 | georg.brandl | 2008-09-21 02:18:28 -0500 (Sun, 21 Sep 2008) | 2 lines
#3914 : add //= to the augmented assign operators.
........
r66529 | georg.brandl | 2008-09-21 02:24:11 -0500 (Sun, 21 Sep 2008) | 2 lines
#3901 : bsddb fix.
........
r66530 | georg.brandl | 2008-09-21 02:31:52 -0500 (Sun, 21 Sep 2008) | 2 lines
#3897 : _collections now has an underscore.
........
r66532 | georg.brandl | 2008-09-21 02:36:22 -0500 (Sun, 21 Sep 2008) | 2 lines
Update readme and Makefile (web builder doesn't exist).
........
r66535 | georg.brandl | 2008-09-21 03:03:21 -0500 (Sun, 21 Sep 2008) | 2 lines
#3918 : note that uniform() args can be swapped.
........
r66538 | georg.brandl | 2008-09-21 05:03:39 -0500 (Sun, 21 Sep 2008) | 2 lines
Add "dist" target.
........
r66544 | benjamin.peterson | 2008-09-21 16:27:51 -0500 (Sun, 21 Sep 2008) | 4 lines
#3879 fix a regression in urllib.getproxies_environment
reviewers: Benjamin, Georg
........
r66546 | georg.brandl | 2008-09-21 17:31:59 -0500 (Sun, 21 Sep 2008) | 2 lines
Fill out download page.
........
2008-09-22 22:10:59 +00:00
Benjamin Peterson
81817ad5cd
Removed merge tracking for "svnmerge" for
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k-struni
2008-09-22 21:22:17 +00:00
Benjamin Peterson
07317b12f3
Merged revisions 66557 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66557 | benjamin.peterson | 2008-09-22 16:11:43 -0500 (Mon, 22 Sep 2008) | 1 line
use the new threading properties for multiprocessing (reviewed by Jesse #3927 )
........
2008-09-22 21:17:49 +00:00
Andrew MacIntyre
4561257c34
Merged revisions 66552-66553 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66552 | andrew.macintyre | 2008-09-23 00:10:54 +1000 (Tue, 23 Sep 2008) | 5 lines
should use macro'ed symbols not direct
Part of source_os2emx.patch in issue 3868
Reviewed by Amaury Forgeot d'Arc
........
r66553 | andrew.macintyre | 2008-09-23 00:11:41 +1000 (Tue, 23 Sep 2008) | 5 lines
any platform without HAVE_LOG1P should have DBL_EPSILON in <float.h>
Part of source_os2emx.patch in issue 3868
Reviewed by Amaury Forgeot d'Arc
........
2008-09-22 14:49:01 +00:00
Andrew MacIntyre
a74e4bf4c3
Blocked revisions 66554 via svnmerge
...
........
r66554 | andrew.macintyre | 2008-09-23 00:23:45 +1000 (Tue, 23 Sep 2008) | 8 lines
build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files
Part of source_os2emx.patch in issue 3868:
Include/pystrcmp.h: OS/2 has same C APIs as Windows
Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test
Reviewed by Amaury Forgeot d'Arc
........
Reason for block: other work needs to be done for this platform - aimacintyre
2008-09-22 14:41:22 +00:00
Andrew MacIntyre
905d27c35f
Initialized merge tracking via "svnmerge" with revisions "1-56848" from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k-struni
2008-09-22 14:01:03 +00:00
Gerhard Häring
6117f423c4
Issue #3659 : Values of string subclasses were not handled correctly when used
...
as bind parameters.
Reviewed by Bejnamin Peterson.
2008-09-22 06:04:51 +00:00
Amaury Forgeot d'Arc
d0db98fcd8
#1688 : On Windows, the input() prompt was not correctly displayed if it
...
contains non-ascii characters.
Reviewed by Benjamin Peterson.
2008-09-21 21:49:01 +00:00
Hirokazu Yamamoto
956ffd75af
Merged revisions 66542 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66542 | hirokazu.yamamoto | 2008-09-22 05:48:41 +0900 | 2 lines
Issue #3925 : Ignores shutil.rmtree error on cygwin too.
Reviewed by Benjamin Peterson.
........
2008-09-21 20:52:42 +00:00
Georg Brandl
dc529c1e1f
#3923 : fix undefined token.
2008-09-21 17:03:29 +00:00
Hirokazu Yamamoto
af079d4c14
Merged revisions 66539 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66539 | hirokazu.yamamoto | 2008-09-21 20:44:23 +0900 | 2 lines
Issue #3838 : TarFile object assigned to self.tar should be closed explicitly.
Reviewed by Lars Gustäbel.
........
2008-09-21 11:50:03 +00:00
Georg Brandl
23d11d31fe
Handle documentation for turtle rename.
2008-09-21 07:50:52 +00:00
Georg Brandl
33d1ae8563
Remove stray question mark.
2008-09-21 07:40:25 +00:00
Martin v. Löwis
60ebb8b0aa
Bug #3884 : Make the turtle module toplevel again.
2008-09-21 07:32:10 +00:00
Georg Brandl
8e3548350d
Remove duplicate production.
2008-09-21 07:21:20 +00:00
Georg Brandl
3ad8166ee9
#3913 : Remove "decorated" from production, it is handled differently from Grammar/Grammar here.
2008-09-21 07:20:11 +00:00
Georg Brandl
528cdb1281
#3917 : don't allow {} as a set display.
2008-09-21 07:09:51 +00:00
Benjamin Peterson
8b6dc5cfab
kill another set_daemon instance
2008-09-20 12:52:07 +00:00
Benjamin Peterson
71088cc200
fix #3628 ; idle wouldn't start because of a typo
2008-09-19 21:49:37 +00:00
Martin v. Löwis
8a2e90e5e7
Merged revisions 66516 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66516 | martin.v.loewis | 2008-09-19 21:20:03 +0200 (Fr, 19 Sep 2008) | 1 line
Use AMD64 version of CRT in just-for-me installations for Win64 installers.
........
2008-09-19 19:21:20 +00:00
Martin v. Löwis
df014bf604
Merged revisions 66514 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66514 | martin.v.loewis | 2008-09-19 17:21:07 +0200 (Fr, 19 Sep 2008) | 2 lines
Bug #3887 : Package x64 version of CRT for AMD64
Windows binaries.
........
2008-09-19 15:24:28 +00:00