Ronald Oussoren
8a14db802b
As the installer change is user-visible its better to
...
add a line to the NEWS file
2010-07-23 11:13:03 +00:00
Senthil Kumaran
880685f698
Reverting the checkin made in revision 82940, as it was adding new parameters to quote function in a bugfix release.
...
Discussed in issue1712522
2010-07-22 01:47:30 +00:00
Antoine Pitrou
7a7013e830
Merged revisions 83030 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83030 | antoine.pitrou | 2010-07-21 18:41:31 +0200 (mer., 21 juil. 2010) | 5 lines
Issue #5395 : check that array.fromfile() re-raises an IOError instead of replacing it
with EOFError.
(this is only an added test, but 2.x will get a fix too)
........
2010-07-21 16:47:28 +00:00
Brett Cannon
8c4fa11591
Backport r82456.
2010-07-21 09:52:10 +00:00
Mark Dickinson
cac0b83b35
Merged revisions 82941,82943 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82941 | mark.dickinson | 2010-07-18 08:29:02 +0100 (Sun, 18 Jul 2010) | 3 lines
Issue #9277 : Struct module: standard bool packing was incorrect if
char is unsigned. Thanks Stefan Krah for the patch.
........
r82943 | mark.dickinson | 2010-07-18 08:48:20 +0100 (Sun, 18 Jul 2010) | 1 line
Misc/NEWS entry for r82941.
........
2010-07-18 07:55:55 +00:00
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
Benjamin Peterson
4082d9ba0e
Merged revisions 82934 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82934 | benjamin.peterson | 2010-07-17 15:39:23 -0500 (Sat, 17 Jul 2010) | 1 line
sharedinstall should depend on sharedmods #9280
........
2010-07-17 20:41:16 +00:00
R. David Murray
05b7631c17
Merged revisions 82922 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82922 | r.david.murray | 2010-07-16 21:19:57 -0400 (Fri, 16 Jul 2010) | 4 lines
#1555570 : correctly handle a \r\n that is split by the read buffer.
Patch and test by Tony Nelson.
........
2010-07-17 01:35:16 +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
Antoine Pitrou
3266978300
Merged revisions 82814 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82814 | antoine.pitrou | 2010-07-11 14:12:00 +0200 (dim., 11 juil. 2010) | 4 lines
Issue #7616 : Fix copying of overlapping memoryview slices with the Intel
compiler.
........
2010-07-11 12:14:05 +00:00
Ronald Oussoren
7595620105
Fix for issue #9164 : with this patch sysconfig and distuls don't break
...
when duplicate '-arch foo' flags end up in CFLAGS (which may happen when
building a universal build using macports)
2010-07-11 08:52:52 +00:00
R. David Murray
f6cbdcbf69
Add missing NEWS entry for 7646.
2010-07-09 13:25:56 +00:00
R. David Murray
6251496e98
Merged revisions 82731 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82731 | r.david.murray | 2010-07-09 09:14:03 -0400 (Fri, 09 Jul 2010) | 2 lines
Fix sort order mistake in Misc/ACKS.
........
2010-07-09 13:17:45 +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
7ea29b0416
Move Misc/NEWS entries to the right place.
2010-07-08 21:28:31 +00:00
Mark Dickinson
9b9e12530d
Merged revisions 82654 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82654 | mark.dickinson | 2010-07-08 22:15:36 +0100 (Thu, 08 Jul 2010) | 3 lines
Issue #9136 : Profiling Decimal gave 'dictionary changed size during iteration'.
Remove the use of locals() that caused this error.
........
2010-07-08 21:22:54 +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
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
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
Benjamin Peterson
e3c104554b
prepare for 2.7.1
2010-07-03 14:51:25 +00:00
Benjamin Peterson
6a336f6484
move sections
2010-07-03 13:57:30 +00:00
Benjamin Peterson
0063367c7c
add another line between sections
2010-07-03 13:56:56 +00:00
Benjamin Peterson
c60082d283
update to 2.7 final
2010-07-03 13:56:13 +00:00
Benjamin Peterson
c670b7eb98
add period; rewrap
2010-07-03 13:49:23 +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
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
Mark Dickinson
070f0abc19
Issue #9125 : Update parser module for "except ... as ..." syntax.
2010-06-30 16:27:57 +00:00
Antoine Pitrou
0dddf600d4
Issue #9075 : In the ssl module, remove the setting of a `debug` flag
...
on an OpenSSL structure.
2010-06-25 00:03:21 +00:00
Benjamin Peterson
947ce58a90
prevent assignment to set literals
2010-06-24 00:12:40 +00:00
Benjamin Peterson
b91338960e
remove INT_MAX assertions; they can fail with large Py_ssize_t #9058
2010-06-22 19:16:37 +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
Benjamin Peterson
4f6125996d
towards final release
2010-06-21 17:28:30 +00:00
Benjamin Peterson
bfcedf4cb7
bump verson to 2.7rc2
2010-06-21 15:57:57 +00:00
Benjamin Peterson
afa1b30969
fix finding visual studio 2008 on 64 bit #8854
2010-06-21 15:27:46 +00:00
Thomas Heller
f180099ec6
Fix #8959 by reverting revision 80761.
2010-06-21 14:00:24 +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
8fbbc085fd
Ezio Melotti was missing from Misc/ACKS.
2010-06-13 12:01:34 +00:00
Mark Dickinson
62815e875a
Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews.
2010-06-13 11:07:00 +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
Nick Coghlan
8842c356aa
Revert r80580 due to some unintended side effects. See issue #8202 for details.
2010-06-13 06:50:39 +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
Victor Stinner
b65bd2e3eb
Issue #8362 : Add Misc/maintainers.rst: list of module maintainers
2010-06-11 19:22:28 +00:00
Michael Foord
83d3576ab8
NEWS update for issue 8948.
2010-06-10 16:32:00 +00:00
Benjamin Peterson
fa4c59fa0c
kill extra word
2010-06-08 14:53:29 +00:00
Benjamin Peterson
13e934acc0
correctly overflow when indexes are too large
2010-06-07 22:23:23 +00:00
Tarek Ziadé
770fd15caa
Fixed #8909 : now the doc details the size of the bitmap used in distutils' bdist_wininst
2010-06-06 20:05:20 +00:00
Benjamin Peterson
2f3d9f926d
careening towards 2.7rc2 we go
2010-06-06 02:09:33 +00:00
Benjamin Peterson
77d534e59d
bump version to 2.7 rc1
2010-06-06 00:22:09 +00:00
Michael Foord
d891859711
Updated NEWS file.
2010-06-05 19:51:38 +00:00
Ezio Melotti
ab2eb0ee84
Add a NEWS entry for r81758 and clarify a comment.
2010-06-05 19:21:32 +00:00
Alexander Belopolsky
3b818bfbfa
Issue #8899 : time.struct_time now has class and atribute docstrings.
2010-06-05 14:54:26 +00:00
Mark Dickinson
e4b83e013b
Issue #8627 : Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return.
...
This is just a quick fix: if the warning is turned into an exception, the
exception simply gets ignored.
2010-06-05 12:14:43 +00:00
Mark Dickinson
23f0d6b57b
Issue #8627 : remove out-of-date warning about overriding __cmp__
2010-06-05 11:52:24 +00:00
R. David Murray
e7e505ba6e
#4487 : have Charset check with codecs for possible aliases.
...
Previously, unexpected results occurred when email was passed, for example,
'utf8' as a charset name, since email would accept it but would *not* use
the 'utf-8' codec for it, even though Python itself recognises that as
an alias for utf-8. Now Charset checks with codecs for aliases as well
as its own internal table. Issue 8898 has been opened to change this
further in py3k so that all aliasing is routed through the codecs module.
2010-06-04 19:51:06 +00:00
Martin v. Löwis
eba67c0eac
Issue #6470 : Drop UNC prefix in FixTk.py
...
Patch by Christop Gohlke and Amaury Forgeot d'Arc.
2010-06-04 19:39:07 +00:00
Martin v. Löwis
16b2a5e0a9
Display installer warning that Windows 2000 won't
...
be supported in future releases.
2010-06-04 19:15:32 +00:00
Martin v. Löwis
5aafc17405
Issue #5464 : Implement plural forms in msgfmt.py.
2010-06-04 18:04:42 +00:00
Martin v. Löwis
26eec58770
Issue #8864 : Define _XOPEN_SOURCE on Solaris for the
...
multiprocessing module.
2010-06-04 17:18:42 +00:00
R. David Murray
4653fb556c
#8889 : rewrite transient_internet so we don't use EAI_NODATA on FreeBSD.
...
FreeBSD doesn't have socket.EAI_NODATA. I rewrote the routine because
there's no easy way to conditionally include a context manager in a
with statement. As a side benefit, instead of a stack of context
managers there's now only one.
2010-06-03 20:19:25 +00:00
R. David Murray
61746d580e
#5610 : use \Z not $ so we don't eat extra chars when body part ends with \r\n.
...
If a body part ended with \r\n, feedparser, using '$' to terminate its
search for the newline, would match on the \r\n, and think that it needed
to strip two characters in order to account for the line end before the
boundary. That made it chop one too many characters off the end of
the body part. Using \Z makes the match correct.
Patch and test by Tony Nelson.
2010-06-03 15:43:20 +00:00
Stefan Krah
449aa86bd6
Issue #7384 : If the system readline library is linked against ncurses,
...
the curses module must be linked against ncurses as well. Otherwise it
is not safe to load both the readline and curses modules in an application.
Thanks Thomas Dickey for answering questions about ncurses/ncursesw
and readline!
2010-06-03 12:39:50 +00:00
Lars Gustäbel
2ee9c6fa50
Issue #8833 : tarfile created hard link entries with a size
...
field != 0 by mistake. The associated testcase did not
expose this bug because it was broken too.
2010-06-03 09:56:22 +00:00
R. David Murray
52dcd45906
#1368247 : make set_charset/MIMEText automatically encode unicode _payload.
...
Fixes (mysterious, to the end user) UnicodeErrors when using utf-8 as
the charset and unicode as the _text argument. Also makes the way in
which unicode gets encoded to quoted printable for other charsets more
sane (it only worked by accident previously). The _payload now is encoded
to the charset.output_charset if it is unicode.
2010-06-02 22:03:15 +00:00
Ronald Oussoren
27c72e9e5c
Fix for issue8868: without this patch 'MacOS.WMAvailable()' will return
...
False on MacOSX 10.5 or earlier and scripts won't be able to access GUI
functionality.
2010-06-02 03:47:14 +00:00
Mark Dickinson
4ca7c3c089
Issue #8748 : Fix incorrect results from comparisons between an integer
...
and a complex instance. Based on a patch by Meador Inge.
2010-05-30 13:18:10 +00:00
Mark Dickinson
813363743d
Issue #5211 : Complete removal of implicit coercions for the complex
...
type. Coercion for arithmetic operations was already removed in
r78280, but that commit didn't remove coercion for rich comparisons.
2010-05-30 12:12:25 +00:00
Martin v. Löwis
b41afb5544
Issue #1759169 : Drop _XOPEN_SOURCE on Solaris.
2010-05-28 15:28:47 +00:00
Victor Stinner
03883624a4
Issue #8835 : test_support.transient_internet() catchs gaierror(EAI_NONAME) and
...
gaierror(EAI_NODATA)
2010-05-27 22:29:48 +00:00
Alexander Belopolsky
9292ee0667
Issue #7150 : Raise OverflowError if the result of adding or subtracting
...
timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range.
2010-05-27 20:55:27 +00:00
Alexander Belopolsky
4a057e6509
Added Andrej Krpic. (Thanks for issue #7879 patch.)
2010-05-26 20:57:04 +00:00
Victor Stinner
708c0727f9
Issue #7449 : Skip test_socketserver if threading support is disabled
2010-05-26 17:25:28 +00:00
Victor Stinner
c49dfcc8dc
Issue #3798 : Write sys.exit() message to sys.stderr to use stderr encoding and
...
error handler, instead of writing to the C stderr file in utf-8
2010-05-25 22:30:32 +00:00
Martin v. Löwis
7c4d7d3e17
Add Alexander Belopolsky.
2010-05-25 20:06:02 +00:00
Brian Curtin
b64c89bd7a
Fix #2810 - handle the case where some registry calls return
...
ERROR_MORE_DATA, requiring another call to get the remaining data.
Patch by Daniel Stutzbach
2010-05-25 15:06:15 +00:00
Brett Cannon
eeaf33ee71
Make the contributor list alphabetical again.
2010-05-25 02:53:04 +00:00
Victor Stinner
04ee3375fb
Add the author of the last fix (Issue #6662 )
2010-05-24 21:37:28 +00:00
Victor Stinner
554a3b82e4
Issue #6662 : Fix parsing of malformatted charref (&#bad;)
2010-05-24 21:33:24 +00:00
Georg Brandl
f0757a2937
#8016 : add the CP858 codec (approved by Benjamin). (Also add CP720 to the tests, it was missing there.)
2010-05-24 21:29:07 +00:00
Georg Brandl
fee0f44b91
NEWS rewrap and punctuation consistency.
2010-05-22 21:26:21 +00:00
Victor Stinner
7df55dad3b
Issue #6268 : More bugfixes about BOM, UTF-16 and UTF-32
...
* Fix seek() method of codecs.open(), don't write the BOM twice after seek(0)
* Fix reset() method of codecs, UTF-16, UTF-32 and StreamWriter classes
* test_codecs: use "w+" mode instead of "wt+". "t" mode is not supported by
Solaris or Windows, but does it really exist? I found it the in the issue.
2010-05-22 13:37:56 +00:00
Georg Brandl
5d0ca2c832
Issue #3924 : Ignore cookies with invalid "version" field in cookielib.
2010-05-22 11:29:19 +00:00
Victor Stinner
262be5e70b
Issue #6268 : Fix seek() method of codecs.open(), don't read the BOM twice
...
after seek(0)
2010-05-22 02:11:07 +00:00
Victor Stinner
d6703b5e38
Issue #5640 : Fix Shift-JIS incremental encoder for error handlers different
...
than strict
2010-05-21 22:50:28 +00:00
Georg Brandl
93f6615a02
typo
2010-05-21 21:48:57 +00:00
Benjamin Peterson
266e454866
ensure the last line has a trailing newline #8782
2010-05-21 21:31:24 +00:00
Benjamin Peterson
eb318d3b16
return NotImplemented from Mapping when comparing to a non-mapping #8729
2010-05-21 20:51:45 +00:00
Antoine Pitrou
6a2656094d
Issue #5753 : A new C API function, :cfunc:`PySys_SetArgvEx`, allows
...
embedders of the interpreter to set sys.argv without also modifying
sys.path. This helps fix `CVE-2008-5983
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5983 >`_.
2010-05-21 17:12:38 +00:00
Brett Cannon
eb3cd301ae
Turned out that if you used explicit relative import syntax
...
(e.g. from .os import sep) and it failed, import would still try the implicit
relative import semantics of an absolute import (from os import sep). That's
not right, so when level is negative, only do explicit relative import
semantics.
Fixes issue #7902 . Thanks to Meador Inge for the patch.
2010-05-20 18:37:55 +00:00
Tarek Ziadé
8f692275e9
#8759 : Fixed user paths in sysconfig for posix and os2 schemes
2010-05-19 22:20:14 +00:00
Antoine Pitrou
83137c2e16
Issue #7079 : Fix a possible crash when closing a file object while using
...
it from another thread. Patch by Daniel Stutzbach.
2010-05-17 19:56:59 +00:00
Florent Xicluna
af87f9f09f
Issue #1285086 : Speed up urllib.quote and urllib.unquote for simple cases.
2010-05-17 13:35:09 +00:00
Tarek Ziadé
422545f0e7
Fixed #8688 : Distutils now recalculates MANIFEST everytime.
2010-05-17 10:06:20 +00:00
Victor Stinner
db99092eae
NEWS: strip trailing spaces
2010-05-15 21:00:59 +00:00
Brett Cannon
42a0ba7b2c
subprocess.Popen.__del__ referenced global objects, which is a no-no thanks to
...
interpreter shutdown semantics. Same issue goes for the methods that __del__
called. Now all the methods capture the global objects it needs as default
values to private parameters (could have stuck them on the class object itself,
but since the objects have nothing directly to do with the class that seemed
wrong).
There is no test as making one that works is hard. This patch was
verified against a consistently failing test in Mercurial's test suite, though,
so it has been tested in some regard.
Closes issue #5099 . Thanks to Mary Stern for the bug report and Gabriel
Genellina for writing another patch for the same issue and attempting to write
a test.
2010-05-14 00:21:48 +00:00
Brett Cannon
da9af75d5f
test_site was failing under darwin for non-framework builds because a test was
...
assuming framework-specific site-packages directories were being used.
2010-05-13 23:59:41 +00:00
Antoine Pitrou
fc3bfad2e0
Issue #8681 : Make the zlib module's error messages more informative when
...
the zlib itself doesn't give any detailed explanation.
2010-05-11 23:42:28 +00:00
Antoine Pitrou
37ffc3e3ba
Issue #8672 : Add a zlib test ensuring that an incomplete stream can be
...
handled by a decompressor object without errors (it returns incomplete
uncompressed data).
2010-05-11 23:32:31 +00:00