Benjamin Peterson
a933e520e8
add grammar tests for nonlocal
2008-10-24 22:16:39 +00:00
Hirokazu Yamamoto
d0d0b65885
Issue #4183 : Some tests didn't run with pickle.HIGHEST_PROTOCOL.
...
Reviewed by Benjamin Peterson.
2008-10-23 00:38:15 +00:00
Amaury Forgeot d'Arc
87eee631fb
#3664 : The pickle module could segfault if a Pickler instance is not correctly initialized:
...
when a subclass forgets to call the base __init__ method,
or when __init__ is called a second time with invalid parameters
Patch by Alexandre Vassalotti.
2008-10-17 20:15:53 +00:00
Brett Cannon
da78043237
Latin-1 source code was not being properly decoded when passed through
...
compile(). This was due to left-over special-casing before UTF-8 became the
default source encoding.
Closes issue #3574 . Thanks to Victor Stinner for help with the patch.
2008-10-17 03:38:50 +00:00
Barry Warsaw
9e9dcd6d42
STINNER Victor (haypo)'s patch for bug 3988, Byte warning mode and b'' != ''
...
Also, his patch to runtests.sh to pass the -bb option (issue 4125).
2008-10-17 01:50:37 +00:00
Barry Warsaw
e94a37f3a1
Benjamin Peterson's patch to fix bug 3661, sys.call_tracing segfaults.
2008-10-17 01:29:56 +00:00
Benjamin Peterson
9b6df6afe0
add tests for PyInstanceMethod_Type
2008-10-16 23:56:29 +00:00
Benjamin Peterson
fcf5d639f5
forward port r66386
2008-10-16 23:24:44 +00:00
Benjamin Peterson
60192084c4
remove some more references to __cmp__ #1717
2008-10-16 19:34:46 +00:00
Benjamin Peterson
1bc15c21d6
fix merge boo-boo
2008-10-11 02:19:18 +00:00
Benjamin Peterson
f10a79aad4
merge from trunk
2008-10-11 00:49:57 +00:00
Benjamin Peterson
bcd8ac3964
Merged revisions 66703,66708 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66703 | gregory.p.smith | 2008-09-30 15:41:13 -0500 (Tue, 30 Sep 2008) | 6 lines
Works around issue3863: freebsd4/5/6 and os2emx are known to have OS bugs when
calling fork() from a child thread. This disables that unit test (with a note
printed to stderr) on those platforms.
A caveat about buggy platforms is added to the os.fork documentation.
........
r66708 | andrew.macintyre | 2008-09-30 22:25:25 -0500 (Tue, 30 Sep 2008) | 9 lines
fix for issue 3862: test_array fails FreeBSD 7 amd64
FreeBSD 7's underlying malloc() is behaves differently to earlier versions
and seriously overcommits available memory on amd64. This may affect
other 64bit platforms in some circumstances, so the scale of the
problematic test is wound back.
Patch by Mark Dickinson, reviewed by Martin von Loewis.
........
2008-10-10 22:20:52 +00:00
Amaury Forgeot d'Arc
cf8016a8d6
Issues #2384 and #3975 : Tracebacks were not correctly printed when the source file
...
contains a ``coding:`` header: the wrong line was displayed, and the encoding was not respected.
Patch by Victor Stinner.
2008-10-09 23:37:48 +00:00
Benjamin Peterson
6ccc703865
Merged revisions 66677,66700 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66677 | brett.cannon | 2008-09-28 22:41:21 -0500 (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.
........
r66700 | brett.cannon | 2008-09-30 12:46:03 -0500 (Tue, 30 Sep 2008) | 5 lines
Fix a refleak introduced by r66677.
Fix suggested by Amaury Forgeot d'Arc.
Closes issue #4003 .
........
2008-10-07 02:32:59 +00:00
Benjamin Peterson
7d7665384c
a trival fix to let test_profile pass if it runs after test_cprofile
2008-10-06 22:05:00 +00:00
Benjamin Peterson
4e299c709b
unbreak test_cprofile
2008-10-06 21:03:05 +00:00
Hirokazu Yamamoto
e674840916
Added the test for issue3762.
2008-10-06 04:51:11 +00:00
Benjamin Peterson
e5384b0886
Merged revisions 66670,66681,66688,66696-66699 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66670 | georg.brandl | 2008-09-28 15:01:36 -0500 (Sun, 28 Sep 2008) | 2 lines
Don't show version in title.
........
r66681 | georg.brandl | 2008-09-29 11:51:35 -0500 (Mon, 29 Sep 2008) | 2 lines
Update nasm location.
........
r66688 | jesse.noller | 2008-09-29 19:15:45 -0500 (Mon, 29 Sep 2008) | 2 lines
issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick Coghlan, Damien Miller
........
r66696 | andrew.kuchling | 2008-09-30 07:31:07 -0500 (Tue, 30 Sep 2008) | 1 line
Edits, and add markup
........
r66697 | andrew.kuchling | 2008-09-30 08:00:34 -0500 (Tue, 30 Sep 2008) | 1 line
Markup fix
........
r66698 | andrew.kuchling | 2008-09-30 08:00:51 -0500 (Tue, 30 Sep 2008) | 1 line
Markup fixes
........
r66699 | andrew.kuchling | 2008-09-30 08:01:46 -0500 (Tue, 30 Sep 2008) | 1 line
Markup fixes. (optparse.rst probably needs an entire revision pass.)
........
2008-10-04 22:00:42 +00:00
Amaury Forgeot d'Arc
b186f34384
Issue3187 for Macintosh platform:
...
macpath.py now accepts both unicode string and bytes as file names.
Also add more tests for these functions.
Reviewed by Benjamin.
2008-10-03 21:57:20 +00:00
Amaury Forgeot d'Arc
84e1715dd7
Make the test more robust in face of remaining files.
2008-10-03 19:34:30 +00:00
Amaury Forgeot d'Arc
c72ef8b6df
Second part of #3187 , for windows:
...
os and os.path functions now accept both unicode and byte strings for file names.
Reviewed by Guido.
2008-10-03 18:38:26 +00:00
Martin v. Löwis
04dc25c537
Issue #3187 : Add sys.setfilesystemencoding.
2008-10-03 16:09:28 +00:00
Guido van Rossum
f0af3e30db
Issue #3187 : Better support for "undecodable" filenames. Code by Victor
...
Stinner, with small tweaks by GvR.
2008-10-02 18:55:37 +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
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
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
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
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
Benjamin Peterson
b8401c7cb1
add a test for bad atexit arguments
2008-09-23 03:14:49 +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
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
Robert Schuppenies
357877c8f1
Issue #3859 : Fixed test_sys.Sizeof failure on win64.
...
Reviewed by Benjamin Peterson.
2008-09-16 07:21:01 +00:00
Antoine Pitrou
d62269f920
Fix Windows buildbot failures after r66469.
2008-09-15 23:54:52 +00:00
Antoine Pitrou
9cadb1b6e0
Issue #3782 : os.write() must not accept unicode strings
2008-09-15 23:02:56 +00:00
Amaury Forgeot d'Arc
a083f1eb5f
The Unicode database was updated to 5.1, and some characters have become printable.
...
Change the tests and use another code point.
2008-09-10 23:51:42 +00:00
Benjamin Peterson
9aa4299882
Merged revisions 66337,66347,66350,66352,66358 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66337 | vinay.sajip | 2008-09-09 08:42:08 -0500 (Tue, 09 Sep 2008) | 1 line
Issue #3809 : Fixed spurious 'test.blah' file left behind by test_logging.
........
r66347 | georg.brandl | 2008-09-09 14:26:00 -0500 (Tue, 09 Sep 2008) | 2 lines
Fix varname in docstring. #3822 .
........
r66350 | georg.brandl | 2008-09-09 15:28:31 -0500 (Tue, 09 Sep 2008) | 2 lines
#3472 : update Mac-bundled Python version info.
........
r66352 | benjamin.peterson | 2008-09-09 15:55:01 -0500 (Tue, 09 Sep 2008) | 4 lines
Fix #3634 invalid return value from _weakref.ref(Exception).__init__
Reviewers: Amaury, Antoine, Benjamin
........
r66358 | benjamin.peterson | 2008-09-09 18:16:48 -0500 (Tue, 09 Sep 2008) | 1 line
use the latest pygments version
........
2008-09-10 21:57:34 +00:00
Benjamin Peterson
5e19e44413
kill memoryview.size in favor of len(view)
...
Reviewer: Antoine Pitrou #3827
2008-09-10 21:47:03 +00:00
Martin v. Löwis
bb417dcc49
Merged revisions 66369 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66369 | martin.v.loewis | 2008-09-10 21:16:35 +0200 (Mi, 10 Sep 2008) | 4 lines
Read unidata_version from unicodedata module.
Delete old NormalizationTest.txt if it doesn't match
unidata_version.
........
2008-09-10 21:15:32 +00:00
Martin v. Löwis
997a6b032a
Merged revisions 66367 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66367 | martin.v.loewis | 2008-09-10 20:43:49 +0200 (Mi, 10 Sep 2008) | 2 lines
Update to test Unicode 5.1.
........
2008-09-10 18:54:20 +00:00
Guido van Rossum
698280df7c
Issue #3756 : make re.escape() handle bytes as well as str.
...
Patch by Andrew McNamara, reviewed and tweaked by myself.
2008-09-10 17:44:35 +00:00
Guido van Rossum
92f8f3e013
Merged revisions 66364 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66364 | guido.van.rossum | 2008-09-10 07:27:00 -0700 (Wed, 10 Sep 2008) | 3 lines
Issue #3629 : Fix sre "bytecode" validator for an end case.
Reviewed by Amaury.
........
2008-09-10 14:30:50 +00:00
Martin v. Löwis
93cbca33f2
Merged revisions 66362 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66362 | martin.v.loewis | 2008-09-10 15:38:12 +0200 (Mi, 10 Sep 2008) | 3 lines
Issue #3811 : The Unicode database was updated to 5.1.
Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
........
2008-09-10 14:08:48 +00:00
Hirokazu Yamamoto
36144098e3
Issue #3806 : LockTests in test_imp should be skipped when thread is not available.
...
Reviewed by Benjamin Peterson.
2008-09-09 07:33:27 +00:00
Amaury Forgeot d'Arc
8530e8590f
Revert r33661, which broke all buildbots.
2008-09-09 07:28:22 +00:00
Amaury Forgeot d'Arc
14b785192b
#3705 : Fix crash when given a non-ascii value on the command line for the "-c" and "-m" parameters
...
Second part, for Windows.
Reviewed by Antoine Pitrou
2008-09-09 07:04:36 +00:00
Facundo Batista
a27244bfa1
Added a warning filter to don't show the warning during
...
the tests. Also fixed the warning message in cgi.py
2008-09-09 02:43:19 +00:00
Brett Cannon
1cd0247a4d
Merged revisions 66321 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66321 | brett.cannon | 2008-09-08 17:49:16 -0700 (Mon, 08 Sep 2008) | 7 lines
warnings.catch_warnings() now returns a list or None instead of the custom
WarningsRecorder object. This makes the API simpler to use as no special object
must be learned.
Closes issue 3781.
Review by Benjamin Peterson.
........
2008-09-09 01:52:27 +00:00
Hirokazu Yamamoto
4c19e6e02d
Issue #3804 : Added test for Issue #2222 .
...
Reviewed by Benjamin Peterson.
2008-09-08 23:41:21 +00:00
Benjamin Peterson
ae5360b31e
Merged revisions 66141,66145,66150,66180,66211,66217,66219,66226,66231,66244,66246,66249-66250,66264,66268,66272,66294,66306 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66141 | gregory.p.smith | 2008-09-02 00:29:51 -0500 (Tue, 02 Sep 2008) | 3 lines
Issue #3678 : Correctly pass LDFLAGS and LDLAST to the linker on shared
library targets in the Makefile.
........
r66145 | marc-andre.lemburg | 2008-09-02 05:32:34 -0500 (Tue, 02 Sep 2008) | 5 lines
Add quotes around the file name to avoid issues with spaces.
Closes #3719 .
........
r66150 | marc-andre.lemburg | 2008-09-02 07:11:19 -0500 (Tue, 02 Sep 2008) | 3 lines
Add news item for #3719 .
........
r66180 | vinay.sajip | 2008-09-03 04:20:05 -0500 (Wed, 03 Sep 2008) | 1 line
Issue #3726 : Allowed spaces in separators in logging configuration files.
........
r66211 | vinay.sajip | 2008-09-04 02:31:21 -0500 (Thu, 04 Sep 2008) | 1 line
Issue #3772 : Fixed regression problem in StreamHandler.emit().
........
r66217 | andrew.kuchling | 2008-09-04 08:26:24 -0500 (Thu, 04 Sep 2008) | 1 line
#3671 : various corrections and markup fixes noted by Kent Johnson
........
r66219 | hirokazu.yamamoto | 2008-09-04 09:25:30 -0500 (Thu, 04 Sep 2008) | 1 line
Added NEWS
........
r66226 | benjamin.peterson | 2008-09-04 18:31:27 -0500 (Thu, 04 Sep 2008) | 1 line
flesh out the documentation on using 2to3
........
r66231 | andrew.kuchling | 2008-09-05 10:15:56 -0500 (Fri, 05 Sep 2008) | 1 line
#3671 : Typo fix
........
r66244 | jesse.noller | 2008-09-05 20:20:11 -0500 (Fri, 05 Sep 2008) | 2 lines
Fix typo in multiprocessing doc, cancel_join_thread was missing _thread
........
r66246 | benjamin.peterson | 2008-09-05 22:00:00 -0500 (Fri, 05 Sep 2008) | 1 line
actually tell the name of the flag to use
........
r66249 | andrew.kuchling | 2008-09-06 07:50:05 -0500 (Sat, 06 Sep 2008) | 1 line
Various corrections
........
r66250 | andrew.kuchling | 2008-09-06 08:04:02 -0500 (Sat, 06 Sep 2008) | 1 line
#3040 : include 'dest' argument in example; trim some trailing whitespace
........
r66264 | benjamin.peterson | 2008-09-06 14:42:39 -0500 (Sat, 06 Sep 2008) | 1 line
docs are pretty good about new-style classes these days
........
r66268 | andrew.kuchling | 2008-09-06 15:28:01 -0500 (Sat, 06 Sep 2008) | 1 line
#3669 from Robert Lehmann: simplify use of iterator in example
........
r66272 | andrew.kuchling | 2008-09-06 16:26:02 -0500 (Sat, 06 Sep 2008) | 1 line
#1317 : describe the does_esmtp, ehlo_resp, esmtp_features, and helo_resp attributes
........
r66294 | georg.brandl | 2008-09-07 12:00:17 -0500 (Sun, 07 Sep 2008) | 2 lines
Add a new howto about Python and the web, by Marek Kubica.
........
r66306 | mark.summerfield | 2008-09-08 09:45:37 -0500 (Mon, 08 Sep 2008) | 3 lines
Added xrefs to each other.
........
2008-09-08 23:05:23 +00:00
Bill Janssen
58afe4c194
fixes from issue 3162 for SSL module
2008-09-08 16:45:19 +00:00
Facundo Batista
bd18fd6710
Added sanity checks for the deprecated parse_qs() and
...
parse_qsl() functions in cgi module.
2008-09-08 00:23:29 +00:00
Benjamin Peterson
d43029ba5a
Merged revisions 66277 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66277 | benjamin.peterson | 2008-09-06 18:19:15 -0500 (Sat, 06 Sep 2008) | 1 line
fix missing module
........
2008-09-06 23:33:21 +00:00
Antoine Pitrou
5fe291f817
Issue #874900 : fix behaviour of threading module after a fork.
...
Reviewed by Gregory P. Smith.
2008-09-06 23:00:03 +00:00
Amaury Forgeot d'Arc
7e958d1ceb
I modified the tests a bit to account for unicode string
...
Merged revisions 66270 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66270 | amaury.forgeotdarc | 2008-09-06 22:53:51 +0200 (sam., 06 sept. 2008) | 3 lines
#3796 : A test class was not run in test_float.
Reviewed by Benjamin.
........
2008-09-06 21:03:22 +00:00
Gregory P. Smith
693fc4604f
Fixes release blocker issue #3492 and #3790 .
...
Make zlib and zipimport to return bytes instead of bytearray and use bytes
rather than bytearray for their internal leftover data storages.
2008-09-06 20:13:06 +00:00
Antoine Pitrou
b305aeb1dd
Merged revisions 66235 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66235 | antoine.pitrou | 2008-09-06 00:04:54 +0200 (sam., 06 sept. 2008) | 6 lines
#3601 : test_unicode.test_raiseMemError fails in UCS4
Reviewed by Benjamin Peterson on IRC.
........
2008-09-05 22:13:06 +00:00
Benjamin Peterson
88d9498e6b
fix small typo
2008-09-05 00:43:33 +00:00
Brett Cannon
8a9583ec5c
PyTokenizer_FindEncoding() always failed because it set the tokenizer state
...
with only a file pointer when it called fp_setreadl() which expected a file
path. Changed fp_setreadl() to use either a file path or file descriptor
(derived from the file pointer) to fix the issue.
Closes issue 3594.
Reviewed by Antoine Pitrou and Benjamin Peterson.
2008-09-04 05:04:25 +00:00
Benjamin Peterson
a7f4f5a772
#2501 xml.sax.parser doesn't terminate when given a filename; enable some more tests!
...
Reviewed by myself
2008-09-04 02:22:52 +00:00
Barry Warsaw
ecaab837b6
Committing the patch in issue 2965, so that weakref dicts have a closer
...
interface to normal dictionaries. keys(), values() and items() still return
iterators instead of views, but that can be fixed later (or not).
2008-09-04 01:42:51 +00:00
Facundo Batista
c469d4c3aa
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
...
to the urlparse one. Added a DeprecationWarning in the old module, it
will be deprecated in the future. Docs and tests updated.
2008-09-03 22:49:01 +00:00
Benjamin Peterson
b98eb875dc
remove bsddb
2008-09-03 22:30:12 +00:00
Jesus Cea
a64072f994
Python3.0 bsddb testsuite compatibility improvements
2008-09-03 22:07:33 +00:00
Jesus Cea
d6a6d3fcff
The decode is used to workaround this:
...
http://mail.python.org/pipermail/python-3000/2008-September/014709.html
2008-09-03 20:23:47 +00:00
Hirokazu Yamamoto
7aa42ea1bb
Merged revisions 66162 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66162 | hirokazu.yamamoto | 2008-09-03 05:36:44 +0900 | 2 lines
Issue #3759 : test_asyncore.py leaked handle.
Reviewed by Amaury Forgeot d'Arc
........
2008-09-02 20:41:25 +00:00
Brett Cannon
54bd41d81b
The _warnings module did not properly handle cases where strings were not being
...
passed in as the message to use for a warning. Fixed along with making the code
more robust against other errors where return values were not checked.
Closes issue 3639.
Code review by Benjamin Peterson.
2008-09-02 04:01:42 +00:00
Brett Cannon
ec92e181fb
Merge in r66135. Doing also required removing a stale DeprecationWarning along
...
with moving warnings.catch_warnings() over to keyword-only parameters for its
constructor (as documented in the 2.6 docs).
2008-09-02 02:46:59 +00:00
Jesus Cea
3a2bd7d5c5
Improve compatibility with Python3.0 testsuite
2008-09-02 02:30:21 +00:00
Benjamin Peterson
3e4f055602
Merged revisions 66045,66048-66049,66053,66060,66062-66063,66065,66067,66071-66074,66080,66082-66083,66090-66093,66097-66099,66103,66105,66110,66118 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66045 | andrew.kuchling | 2008-08-26 19:27:18 -0500 (Tue, 26 Aug 2008) | 1 line
Trim whitespace; add a few updates
........
r66048 | andrew.kuchling | 2008-08-26 19:45:02 -0500 (Tue, 26 Aug 2008) | 1 line
Add an item and a note
........
r66049 | andrew.kuchling | 2008-08-26 21:12:18 -0500 (Tue, 26 Aug 2008) | 1 line
Add various items
........
r66053 | georg.brandl | 2008-08-28 04:40:18 -0500 (Thu, 28 Aug 2008) | 2 lines
#3711 : .dll isn't a valid Python extension anymore.
........
r66060 | armin.rigo | 2008-08-29 16:21:52 -0500 (Fri, 29 Aug 2008) | 3 lines
A collection of crashers, all variants of the idea
of issue #3720 .
........
r66062 | georg.brandl | 2008-08-30 04:49:36 -0500 (Sat, 30 Aug 2008) | 2 lines
#3730 : mention "server" attribute explicitly.
........
r66063 | georg.brandl | 2008-08-30 04:52:44 -0500 (Sat, 30 Aug 2008) | 2 lines
#3716 : fix typo.
........
r66065 | georg.brandl | 2008-08-30 05:03:09 -0500 (Sat, 30 Aug 2008) | 2 lines
#3569 : eval() also accepts "exec"able code objects.
........
r66067 | georg.brandl | 2008-08-30 08:17:39 -0500 (Sat, 30 Aug 2008) | 2 lines
super() actually returns a super object.
........
r66071 | andrew.kuchling | 2008-08-30 10:19:57 -0500 (Sat, 30 Aug 2008) | 1 line
Partial edits from revision and tidying pass
........
r66072 | andrew.kuchling | 2008-08-30 10:21:23 -0500 (Sat, 30 Aug 2008) | 1 line
Tidy up some sentences
........
r66073 | andrew.kuchling | 2008-08-30 10:25:47 -0500 (Sat, 30 Aug 2008) | 1 line
Correction from Antoine Pitrou: BufferedWriter and Reader support seek()
........
r66074 | andrew.kuchling | 2008-08-30 11:44:54 -0500 (Sat, 30 Aug 2008) | 1 line
Edit four more sections
........
r66080 | georg.brandl | 2008-08-30 17:00:28 -0500 (Sat, 30 Aug 2008) | 2 lines
Fix markup.
........
r66082 | andrew.kuchling | 2008-08-30 17:56:54 -0500 (Sat, 30 Aug 2008) | 1 line
More edits; markup fixes
........
r66083 | andrew.kuchling | 2008-08-30 21:24:08 -0500 (Sat, 30 Aug 2008) | 1 line
More edits
........
r66090 | andrew.kuchling | 2008-08-31 09:29:31 -0500 (Sun, 31 Aug 2008) | 1 line
Edit the library section, rearranging items to flow better and making lots of edits
........
r66091 | andrew.kuchling | 2008-08-31 10:41:48 -0500 (Sun, 31 Aug 2008) | 1 line
Last batch of edits; remove the 'other changes' section
........
r66092 | andrew.kuchling | 2008-08-31 10:48:44 -0500 (Sun, 31 Aug 2008) | 1 line
Update patch/bug count
........
r66093 | gregory.p.smith | 2008-08-31 11:34:18 -0500 (Sun, 31 Aug 2008) | 3 lines
issue3715: docstring representation of hex escaped string needs to be double
escaped.
........
r66097 | benjamin.peterson | 2008-09-01 09:13:43 -0500 (Mon, 01 Sep 2008) | 4 lines
#3703 unhelpful _fileio.FileIO error message when trying to open a directory
Reviewer: Gregory P. Smith
........
r66098 | georg.brandl | 2008-09-01 09:15:55 -0500 (Mon, 01 Sep 2008) | 2 lines
#3749 : fix c'n'p errors.
........
r66099 | benjamin.peterson | 2008-09-01 09:18:30 -0500 (Mon, 01 Sep 2008) | 4 lines
Fix compilation when --without-threads is given #3683
Reviewer: Georg Brandl, Benjamin Peterson
........
r66103 | vinay.sajip | 2008-09-01 09:30:10 -0500 (Mon, 01 Sep 2008) | 1 line
logging: fixed lack of use of encoding attribute specified on a stream.
........
r66105 | vinay.sajip | 2008-09-01 09:33:59 -0500 (Mon, 01 Sep 2008) | 1 line
logging: fixed lack of use of encoding attribute specified on a stream.
........
r66110 | vinay.sajip | 2008-09-01 10:08:07 -0500 (Mon, 01 Sep 2008) | 1 line
Added section about configuring logging in a library. Thanks to Thomas Heller for the idea.
........
r66118 | vinay.sajip | 2008-09-01 12:44:14 -0500 (Mon, 01 Sep 2008) | 1 line
Bug #3738 : Documentation is now more accurate in describing handler close methods.
........
2008-09-02 00:31:15 +00:00
Jesus Cea
d098ff2324
Port Python 2.6 bsddb3 testdriver to Python 3.0
2008-09-02 00:06:22 +00:00
Benjamin Peterson
b3085c9e26
remove the deprecation warnings for the old threading API; update the docs
...
Reviewer: Benjamin Peterson
2008-09-01 23:09:31 +00:00
Antoine Pitrou
c6b09ebe58
#3712 : The memoryview object had a reference leak and didn't support cyclic garbage collection.
...
Reviewed by Benjamin Peterson.
2008-09-01 15:10:14 +00:00
Amaury Forgeot d'Arc
db26f7c137
Issue 3611: in some cases (a __del__ re-raising an exception, when called from inside
...
an 'except' clause), the exception __context__ would be reset to None.
This crases the interpreter if this precisely happens inside PyErr_SetObject.
- now the __context__ is properly preserved
- in any case, PyErr_SetObject now saves the current exc_value in a local variable, to
avoid such crashes in the future.
Reviewer: Antoine Pitrou.
2008-08-29 07:13:32 +00:00
Antoine Pitrou
ec569b7947
Issue #2534 : speed up isinstance() and issubclass() by 50-70%, so as to
...
match Python 2.5 speed despite the __instancecheck__ / __subclasscheck__
mechanism. In the process, fix a bug where isinstance() and issubclass(),
when given a tuple of classes as second argument, were looking up
__instancecheck__ / __subclasscheck__ on the tuple rather than on each
type object.
Reviewed by Benjamin Peterson and Raymond Hettinger.
2008-08-26 22:40:48 +00:00
Benjamin Peterson
c15a07333e
make bytes(o) respect __bytes__ #2415
...
This adds two new C-API functions: PyObject_Bytes and PyBytes_FromObject.
Reviewer: Barry
2008-08-26 16:46:47 +00:00
Benjamin Peterson
a786b026c9
Merged revisions 65910,65977,65980,65984,65986,66000,66011-66012,66014,66017,66020 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65910 | benjamin.peterson | 2008-08-20 09:07:59 -0500 (Wed, 20 Aug 2008) | 1 line
fix up the multiprocessing docs a little
........
r65977 | christian.heimes | 2008-08-22 14:47:25 -0500 (Fri, 22 Aug 2008) | 3 lines
Silenced compiler warning
Objects/stringlib/find.h:97: warning: 'stringlib_contains_obj' defined but not used
Reviewed by Benjamin Peterson
........
r65980 | christian.heimes | 2008-08-22 15:10:27 -0500 (Fri, 22 Aug 2008) | 3 lines
Fixed two format strings in the _collections module. For example
Modules/_collectionsmodule.c:674: warning: format '%i' expects type 'int', but argument 2 has type 'Py_ssize_t'
Reviewed by Benjamin Peterson
........
r65984 | christian.heimes | 2008-08-22 16:23:47 -0500 (Fri, 22 Aug 2008) | 1 line
d is the correct format string
........
r65986 | mark.hammond | 2008-08-22 19:59:14 -0500 (Fri, 22 Aug 2008) | 2 lines
Fix bug 3625: test issues on 64bit windows. r=pitrou
........
r66000 | benjamin.peterson | 2008-08-23 15:27:43 -0500 (Sat, 23 Aug 2008) | 5 lines
#3643 add a few more checks to _testcapi to prevent segfaults
Author: Victor Stinner
Reviewer: Benjamin Peterson
........
r66011 | neal.norwitz | 2008-08-24 12:27:43 -0500 (Sun, 24 Aug 2008) | 1 line
Ignore a couple more tests that report leaks inconsistently.
........
r66012 | neal.norwitz | 2008-08-24 12:29:53 -0500 (Sun, 24 Aug 2008) | 1 line
Use the actual blacklist of leaky tests
........
r66014 | georg.brandl | 2008-08-24 13:11:07 -0500 (Sun, 24 Aug 2008) | 2 lines
#3654 : fix duplicate test method name. Review by Benjamin P.
........
r66017 | benjamin.peterson | 2008-08-24 16:55:03 -0500 (Sun, 24 Aug 2008) | 1 line
remove note about unimplemented feature
........
r66020 | brett.cannon | 2008-08-24 18:15:19 -0500 (Sun, 24 Aug 2008) | 1 line
Clarify that some attributes/methods are listed somewhat separately because they are not part of the threading API.
........
2008-08-25 21:05:21 +00:00
Neal Norwitz
2532967122
Merged revisions 66028 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66028 | neal.norwitz | 2008-08-24 20:52:40 -0700 (Sun, 24 Aug 2008) | 1 line
Try to reduce the flakiness of this test
........
2008-08-25 03:55:03 +00:00
Neal Norwitz
ec105ad47f
Merged revisions 66026 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66026 | neal.norwitz | 2008-08-24 20:03:25 -0700 (Sun, 24 Aug 2008) | 6 lines
Use bytes as return type from recv_bytes() methods. Not sure why this only
affects some buildbots.
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
........
2008-08-25 03:05:54 +00:00
Neal Norwitz
5d6415ee26
Merged revisions 66023 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66023 | neal.norwitz | 2008-08-24 18:50:24 -0700 (Sun, 24 Aug 2008) | 6 lines
Fix problem reported by pychecker where AuthenticationError wasn't imported.
Add some test coverage to this code. More tests should be added (TODO added).
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
........
2008-08-25 01:53:32 +00:00
Neal Norwitz
c34177ccb2
Try to fix the sporadic problems on the Solaris buildbot with removing
...
the directories/files.
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_posix
2008-08-25 01:04:16 +00:00
Neal Norwitz
6e0e0e6749
Merged revisions 66018 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66018 | neal.norwitz | 2008-08-24 15:03:05 -0700 (Sun, 24 Aug 2008) | 6 lines
#3662 : Fix segfault introduced when fixing memory leaks.
TESTED=./python -E -tt ./Lib/test/regrtest.py test_fileio
R (approach from bug)=Amaury and Benjamin
........
2008-08-24 22:07:28 +00:00
Neal Norwitz
3ce5d9207e
Closes release blocker #3627 .
...
Merged revisions 65335 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt)
........
r65335 | neal.norwitz | 2008-07-31 10:17:14 -0700 (Thu, 31 Jul 2008) | 1 line
Security patches from Apple: prevent int overflow when allocating memory
........
2008-08-24 07:08:55 +00:00
Benjamin Peterson
bc74e5be1a
add NEWS note and test for last commit
2008-08-23 20:19:17 +00:00
Mark Dickinson
589b795986
Merged revisions 65958 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65958 | mark.dickinson | 2008-08-21 21:02:24 +0100 (Thu, 21 Aug 2008) | 5 lines
Fix float.fromhex test to give additional information on failure. This
change is aimed at diagnosing issue 3633 (test_float fails on Solaris).
Reviewed by Benjamin Peterson
........
2008-08-21 20:05:56 +00:00
Benjamin Peterson
9b6760225a
move test to a better location
2008-08-21 17:00:40 +00:00
Benjamin Peterson
6e7740c790
apply a fix for #3611 where the current exception context was deleted with a generator causing a segfault
2008-08-20 23:23:34 +00:00
Hirokazu Yamamoto
ca765d5828
Reverted r65901 and uses GetVolumeInformationW because string in py3k is unicode.
...
See http://mail.python.org/pipermail/python-checkins/2008-August/073116.html
2008-08-20 16:18:19 +00:00
Benjamin Peterson
b71caf186a
revert 65897
2008-08-20 12:55:31 +00:00
Hirokazu Yamamoto
5ef6d18bdf
Merged revisions 65900 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65900 | hirokazu.yamamoto | 2008-08-20 13:13:28 +0900 | 1 line
fixed get_file_system in test_os.py ('path' is unicode on py3k and ansi on trunk)
........
2008-08-20 04:17:24 +00:00
Benjamin Peterson
3938a90a4a
Merged revisions 65885,65892,65894,65898 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65885 | benjamin.peterson | 2008-08-19 17:06:11 -0500 (Tue, 19 Aug 2008) | 1 line
check that the parser module can handle the new keyword syntax
........
r65892 | benjamin.peterson | 2008-08-19 20:27:30 -0500 (Tue, 19 Aug 2008) | 1 line
add a NEWS note for new args syntax
........
r65894 | benjamin.peterson | 2008-08-19 20:44:45 -0500 (Tue, 19 Aug 2008) | 2 lines
newSymbolTable is not public API
........
r65898 | benjamin.peterson | 2008-08-19 21:15:42 -0500 (Tue, 19 Aug 2008) | 1 line
fix silly errors of mine
........
2008-08-20 02:33:00 +00:00
Benjamin Peterson
9f9fc68b0f
return sets instead of tuples from some symtable methods
2008-08-20 02:06:00 +00:00
Benjamin Peterson
e9ea19e2e3
disable test_nis; it hangs
2008-08-19 23:02:38 +00:00
Antoine Pitrou
616d28566b
Issue #2394 : implement more of the memoryview API.
2008-08-19 22:09:34 +00:00
Guido van Rossum
3ad89100c1
Remove four uu-encoded image files that were once useful for testing
...
imgfile, rgbimg and imageop. None of those modules exist any more...
2008-08-19 21:04:40 +00:00
Benjamin Peterson
2d735bc098
allow keyword args after *args in a function call
2008-08-19 20:57:10 +00:00
Benjamin Peterson
58ea9fedc8
Merged revisions 65864 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65864 | jesse.noller | 2008-08-19 14:06:19 -0500 (Tue, 19 Aug 2008) | 2 lines
issue3352: clean up the multiprocessing API to remove many get_/set_ methods and convert them to properties. Update the docs and the examples included.
........
2008-08-19 19:17:39 +00:00