Benjamin Peterson
bace6764fa
be more generous to implementations that have implemented correctly
2010-07-05 17:13:21 +00:00
R. David Murray
3caf7b9c88
#9161 : Fix regression in acceptance of unicode strings in add_option calls.
...
The original change in 2.6 was made during rc1 changeover, and did not
get ported to 2.7. The original change may not even have been
intentional, but if so it doesn't seem to have caused any problems.
2010-07-05 16:06:05 +00:00
Benjamin Peterson
9d7003e353
Merged revisions 82542 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r82542 | benjamin.peterson | 2010-07-04 11:44:15 -0500 (Sun, 04 Jul 2010) | 17 lines
Merged revisions 81478,82530-82531 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r81478 | benjamin.peterson | 2010-05-22 13:47:39 -0500 (Sat, 22 May 2010) | 1 line
ensure doctests have some future_features
........
r82530 | benjamin.peterson | 2010-07-04 11:11:41 -0500 (Sun, 04 Jul 2010) | 1 line
simplify ignore star imports from itertools #8892
........
r82531 | benjamin.peterson | 2010-07-04 11:13:20 -0500 (Sun, 04 Jul 2010) | 1 line
wrap with parenthesis not \
........
................
2010-07-04 16:53:16 +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
Benjamin Peterson
e3c104554b
prepare for 2.7.1
2010-07-03 14:51:25 +00:00
Benjamin Peterson
c60082d283
update to 2.7 final
2010-07-03 13:56:13 +00:00
Benjamin Peterson
6728d14b28
update pydoc-topics
2010-07-03 13:53:45 +00:00
Benjamin Peterson
743242af90
add release date
2010-07-03 13:49:03 +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
Jesse Noller
2f8c8f47c7
Submit patch for bug 9144; broken imports due to r81380
2010-07-03 12:26:02 +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
Giampaolo Rodolà
e00e2f0082
fix issue #6589 : cleanup asyncore.socket_map if smtpd.SMTPServer constructor raises an exception
2010-06-30 17:38:28 +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
Senthil Kumaran
5871a8d744
Fix Issue8653 - Docstring for urlunsplit function.
2010-06-28 13:56:46 +00:00
Benjamin Peterson
a70e91c284
mark tracking tests as implementation details
2010-06-27 22:40:26 +00:00
Ronald Oussoren
b96fbb8d00
Fix for Issue8883: without this patch test_urllib will fail
...
when there is a bare IP address in the "Bypass proxy settings
for these Hosts & Domains" list on MacOSX.
2010-06-27 13:59:39 +00:00
Ronald Oussoren
76002c8f1d
The uuid library on OSX 10.5 seems to contain the same bug as the one
...
on OSX 10.6, therefore don't use it there either.
This fixes issue8621.
2010-06-27 12:43:47 +00:00
Ronald Oussoren
cd17213e8e
Two small fixes for the support for SDKs on MacOSX:
...
1) The code that checks if an path should be located in the SDK
explicitly excludes /usr/local. This fixes issue9046
2) The SDK variant for filtering "db_dirs_to_check" in setup.py
was not doing anything because of a missing assignment.
2010-06-27 12:36:16 +00:00
Georg Brandl
ad72bcc864
Untabify.
2010-06-27 11:24:15 +00:00
R. David Murray
62a14db9f4
#9085 : email versions have gotten out of sync, 2.7 is actually 4.0.3.
...
In 2.5 the email version was bumped to 4.0.2 just before release but
after the maintenance branch was set up. The bump was not backported
to trunk, and 2.6 went out the door with a version number of 4.0.1.
I bumped this to 4.0.2 because of a behavior change, but that makes
it look the same as 2.5. So bump it again to 4.0.3.
2010-06-26 18:39:50 +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
Benjamin Peterson
bde67df0cd
keep UserDict an old-style class
...
Be generous in abc.py to allow this.
2010-06-22 18:09:02 +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
Benjamin Peterson
bfcedf4cb7
bump verson to 2.7rc2
2010-06-21 15:57:57 +00:00
Benjamin Peterson
bb937092f7
update pydoc-topics
2010-06-21 15:56:45 +00:00
Benjamin Peterson
afa1b30969
fix finding visual studio 2008 on 64 bit #8854
2010-06-21 15:27:46 +00:00
Thomas Heller
a45e6d5791
Add tests for problems reported in issue 8959.
2010-06-21 15:01:18 +00:00
Thomas Heller
f180099ec6
Fix #8959 by reverting revision 80761.
2010-06-21 14:00:24 +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
Vinay Sajip
936efc791a
Issue #8924 : logging: Improved error handling for Unicode in exception text.
2010-06-11 22:56:50 +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