Senthil Kumaran
5dba6dfe6a
Fixing Issue1712522 - urllib.quote to support Unicode. The default
...
encoding='utf-8' and errors='strict'.
2010-07-18 02:27:10 +00:00
Senthil Kumaran
9a5bc1d001
Merged revisions 82881 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82881 | senthil.kumaran | 2010-07-14 15:51:22 +0530 (Wed, 14 Jul 2010) | 3 lines
Fix Issue5842 - Moving the tests out of urllib.parse module
........
2010-07-14 10:39:35 +00:00
Alexander Belopolsky
eeb666ccf3
Merged revisions 82850 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82850 | alexander.belopolsky | 2010-07-13 10:50:16 -0400 (Tue, 13 Jul 2010) | 1 line
Set sys.modules[name] to None instead of 0 to block module import.
........
2010-07-14 00:05:00 +00:00
Stefan Krah
182ae64235
Issue #9185 : On Solaris and OpenBSD, posix_getcwd() could loop indefinitely
...
if the path length exceeded PATH_MAX.
2010-07-13 19:17:08 +00:00
Mark Dickinson
42add99f77
Merged revisions 82821 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82821 | mark.dickinson | 2010-07-11 19:53:06 +0100 (Sun, 11 Jul 2010) | 3 lines
Issue #9137 : Fix issue in MutableMapping.update, which incorrectly
treated keyword arguments called 'self' or 'other' specially.
........
2010-07-11 19:17:28 +00:00
Senthil Kumaran
87ed31a414
Merged revisions 82780 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82780 | senthil.kumaran | 2010-07-11 08:42:43 +0530 (Sun, 11 Jul 2010) | 3 lines
Stricter verification for file based url scheme and reliance on ftp protocol.
........
2010-07-11 03:18:51 +00:00
Benjamin Peterson
9d8c456696
Merged revisions 82777 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82777 | benjamin.peterson | 2010-07-10 10:14:45 -0500 (Sat, 10 Jul 2010) | 1 line
ValueError is eventually what we want to move to, I suppose
........
2010-07-10 15:17:08 +00:00
R. David Murray
2ab02f0e16
Merged revisions 82766 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
Since 'purge' is an API change, modified it to be _purge for 2.x
and deleted the doc update.
........
r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines
Fix 'refleak' introduced by fnmatch cache purge tests.
This introduces a 'purge' function for the fnmatch module analogous
to the 'purge' function in the re module.
........
2010-07-10 14:06:51 +00:00
Benjamin Peterson
8e93f4e791
this makes checking for warnings less error prone
2010-07-09 18:15:28 +00:00
Benjamin Peterson
0b00b6b987
Merged revisions 82739,82741 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82739 | benjamin.peterson | 2010-07-09 08:28:42 -0500 (Fri, 09 Jul 2010) | 1 line
allow more exceptions
........
r82741 | benjamin.peterson | 2010-07-09 08:31:11 -0500 (Fri, 09 Jul 2010) | 1 line
wrap
........
2010-07-09 13:33:03 +00:00
Benjamin Peterson
306d88fc76
Merged revisions 82735 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82735 | benjamin.peterson | 2010-07-09 08:20:40 -0500 (Fri, 09 Jul 2010) | 1 line
OverflowError is fine
........
2010-07-09 13:21:35 +00:00
R. David Murray
abd4553fd4
Merged revisions 82730 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
'merge' in the sense that this is the same fix by the same author.
........
r82730 | r.david.murray | 2010-07-09 08:23:21 -0400 (Fri, 09 Jul 2010) | 4 lines
7846: limit fnmatch pattern cache to _MAXCACHE=100 entries.
Patch by Andrew Clegg.
........
2010-07-09 13:16:00 +00:00
Mark Dickinson
e85aa739ab
Merged revisions 82646,82649-82650 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82646 | mark.dickinson | 2010-07-08 18:23:40 +0100 (Thu, 08 Jul 2010) | 1 line
In test_decimal, convert heuristic for skipping tests into an explicit skiplist.
........
r82649 | mark.dickinson | 2010-07-08 20:03:34 +0100 (Thu, 08 Jul 2010) | 1 line
Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this.
........
r82650 | mark.dickinson | 2010-07-08 20:09:16 +0100 (Thu, 08 Jul 2010) | 1 line
Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__.
........
2010-07-08 19:24:40 +00:00
Antoine Pitrou
22db73523c
Merged revisions 82647 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82647 | antoine.pitrou | 2010-07-08 20:51:30 +0200 (jeu., 08 juil. 2010) | 3 lines
Issue #8605 : Skip test_gdb if Python is compiled with optimizations.
........
2010-07-08 18:54:04 +00:00
Benjamin Peterson
86ac22e338
Merged revisions 82637 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82637 | benjamin.peterson | 2010-07-07 17:45:06 -0500 (Wed, 07 Jul 2010) | 1 line
ValueError in this case is also acceptable
........
2010-07-07 23:26:57 +00:00
Benjamin Peterson
489113fd5f
Merged revisions 82628,82630 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82628 | benjamin.peterson | 2010-07-07 13:44:05 -0500 (Wed, 07 Jul 2010) | 1 line
this needn't be in the loop
........
r82630 | benjamin.peterson | 2010-07-07 13:54:59 -0500 (Wed, 07 Jul 2010) | 1 line
don't ignore exceptions from PyObject_IsTrue
........
2010-07-07 19:03:36 +00:00
Benjamin Peterson
ba303c82d1
these tests are the result of cpython's incorrect implementation
2010-07-07 15:51:17 +00:00
Benjamin Peterson
bace6764fa
be more generous to implementations that have implemented correctly
2010-07-05 17:13:21 +00:00
Mark Dickinson
75b44b3437
Issue #9130 : Fix validation of relative imports in parser module.
2010-07-04 16:47:56 +00:00
Mark Dickinson
a7ee59b3d3
Issue #9128 : Validate class decorator syntax correctly in parser module.
2010-07-04 16:23:54 +00:00
Florent Xicluna
96c4df4532
Issue #9145 : Fix a regression due to r79539
2010-07-04 14:24:40 +00:00
Victor Stinner
15e5b1bf0b
Issue #7673 : Fix security vulnerability (CVE-2010-2089) in the audioop module,
...
ensure that the input string length is a multiple of the frame size
2010-07-03 13:36:19 +00:00
Benjamin Peterson
0df5a858e7
don't require the presence of __getformat__ or __setformat__; use requires_IEEE_754 globally
2010-07-02 23:05:27 +00:00
Benjamin Peterson
c262a69f54
an AttributeError is perfectly acceptable here
2010-06-30 18:41:08 +00:00
Benjamin Peterson
10947a6416
mark test depending on ref counting
2010-06-30 17:11:08 +00:00
Mark Dickinson
070f0abc19
Issue #9125 : Update parser module for "except ... as ..." syntax.
2010-06-30 16:27:57 +00:00
Mark Dickinson
858624944c
Spelling.
2010-06-29 07:37:25 +00:00
Benjamin Peterson
d6a8e6d234
fix skipping condition
2010-06-28 15:41:06 +00:00
Benjamin Peterson
8eeb1dcbbc
testcapi tests are definitely cpython only
2010-06-28 15:36:40 +00:00
Benjamin Peterson
a70e91c284
mark tracking tests as implementation details
2010-06-27 22:40:26 +00:00
R. David Murray
04a3439ba6
Fix indentation in recently added test.
2010-06-26 03:27:32 +00:00
R. David Murray
32e0681156
#4640 : add a test to optparse that proves issue is invalid.
2010-06-26 00:06:44 +00:00
Benjamin Peterson
cf3e20c8e8
mark implementation detail as such
2010-06-25 22:58:47 +00:00
Benjamin Peterson
0badae4748
this must be a typo
2010-06-25 21:19:04 +00:00
Benjamin Peterson
4b26acbf03
mark implementation detail as such
2010-06-25 20:34:01 +00:00
Benjamin Peterson
947ce58a90
prevent assignment to set literals
2010-06-24 00:12:40 +00:00
Benjamin Peterson
f6d31cb8b5
cpython only gc tests
2010-06-23 20:29:26 +00:00
Benjamin Peterson
7f8ede4db9
mark ref counting as impl detail
2010-06-22 20:32:02 +00:00
Benjamin Peterson
694781b1d3
must force gc here
2010-06-22 20:26:20 +00:00
Ronald Oussoren
934f4e1f39
Fix for issue8446:
...
* Don't import 'ic' in webbrowser, that module is no longer used
* Remove 'MacOS' from the list of modules that should emit a Py3kWarning on import.
This is needed because one of the earlier tests triggers and import of this
extension, and that causes a failure in test_py3kwarn (running test_py3kwarn
separately worked fine)
With these changes 'make tests' no longer says that test_py3kwarn fails.
2010-06-22 09:18:28 +00:00
Mark Dickinson
801923681c
Merge test_strtod and test_float string-to-float conversion tests.
2010-06-20 18:50:19 +00:00
Jean-Paul Calderone
b33f0c1ccd
Revert r60115
...
This revision introduced quoting for strings containing | based
on a misunderstanding of the commonly used quoting rules used
on Windows.
| is interpreted by cmd.exe, not by the MS C runtime argv initializer.
It only needs to be quoted if it is part of an argument passed through
cmd.exe.
See issue1300, issue7839, and issue8972.
2010-06-18 20:00:17 +00:00
Florent Xicluna
a37b7af4d7
Add few words about test.test_genericpath.CommonTest
2010-06-17 20:30:56 +00:00
R. David Murray
df1cf301c2
#8720 : fix inspect regression by teaching getsourcefile about linecache.
...
The fix for issue 4050 caused a regression: before that fix, source
lines in the linecache would eventually be found by inspect. After the
fix inspect reports an error earlier, and the source isn't found.
The fix for the fix is to have getsourcefile look in the linecache for
the file and return the psuedo-filename if the source is there, just as
it already returns it if there is a PEP 302 loader.
2010-06-17 01:36:52 +00:00
Mark Dickinson
e979ec8fbf
Issue #8986 : erfc was raising OverflowError on Linux for arguments in
...
the (approximate) range (-27.3, 30.0), as a result of an escaped errno
value.
2010-06-13 10:50:29 +00:00
Antoine Pitrou
cca3a3f396
Issue #8941 : decoding big endian UTF-32 data in UCS-2 builds could crash
...
the interpreter with characters outside the Basic Multilingual Plane
(higher than 0x10000).
2010-06-11 21:42:26 +00:00
Mark Dickinson
40228912c8
Fix possible undefined behaviour from signed overflow in struct module.
...
Backport of revisions 81897, 81898 and 81902 from py3k.
2010-06-11 20:27:05 +00:00
Benjamin Peterson
eabdeba25e
use unicode literals
2010-06-07 22:33:09 +00:00
Benjamin Peterson
13e934acc0
correctly overflow when indexes are too large
2010-06-07 22:23:23 +00:00
Ezio Melotti
0b41707dde
Silence deprecation warning in test___all__ caused by an import bsddb.
2010-06-07 22:00:18 +00:00