Matthias Klose
0d948ac90c
- Expat: Fix DoS via XML document with malformed UTF-8 sequences
...
(CVE_2009_3560).
2010-01-22 00:39:04 +00:00
Matthias Klose
3b0f9b01f6
- Mention CVE-2009-3720 for change in r74429.
2010-01-22 00:34:48 +00:00
Antoine Pitrou
c07336c673
Add a NEWS entry for r77599 and r77600.
2010-01-18 21:15:21 +00:00
Mark Dickinson
9481c576cd
Issue #7632 : When Py_USING_MEMORY_DEBUGGER is defined, disable the
...
private memory allocation scheme in dtoa.c, along with a piece of code
that caches powers of 5 for future use. This makes it easier to
detect dtoa.c memory leaks with Valgrind or similar tools.
Patch by Stefan Krah.
2010-01-17 20:57:56 +00:00
Ronald Oussoren
a55af9a9db
- Issue #7658 : Ensure that the new pythonw executable works on OSX 10.4
...
- Issue #7714 : Use ``gcc -dumpversion`` to detect the version of GCC on
MacOSX.
- Make configure look for util.h as well as libutil.h. The former
is the header file that on OSX contains the defition of openpty.
(Needed to compile for OSX 10.4 on OSX 10.6)
- Use the correct definition of CC to compile the pythonw executable
2010-01-17 16:25:57 +00:00
Mark Dickinson
23df3d270d
Issue #7632 : Fix a memory leak in _Py_dg_strtod.
2010-01-17 13:37:57 +00:00
Antoine Pitrou
e80a6a4ead
Issue #7561 : Operations on empty bytearrays (such as `int(bytearray())`)
...
could crash in many places because of the PyByteArray_AS_STRING() macro
returning NULL. The macro now returns a statically allocated empty
string instead.
2010-01-17 12:26:20 +00:00
Ezio Melotti
3373a3a282
typo: use one instead instead of two
2010-01-16 18:38:01 +00:00
Mark Dickinson
476279f18b
Issue #7632 : Fix a serious wrong output bug for string -> float conversion.
...
Also remove some now unused variables, and add comments clarifying the
possible outputs of the parsing section of _Py_dg_strtod. Thanks
Eric Smith for reviewing.
2010-01-16 10:44:00 +00:00
R. David Murray
ed44dfa4c7
Issue #1670765 : Prevent email.generator.Generator from re-wrapping
...
headers in multipart/signed MIME parts, which fixes one of the sources of
invalid modifications to such parts by Generator. Patch and tests by
Martin von Gagern.
2010-01-16 05:15:17 +00:00
Sean Reifscheider
57cd8ebc20
issue5063: Fixes for building RPM on CentOS plus misc .spec file enhancements.
2010-01-16 04:27:58 +00:00
Vinay Sajip
334ffe8cc8
Fixed issue-number mistake in NEWS update.
2010-01-15 23:27:05 +00:00
Antoine Pitrou
c391ad007b
Issue #7701 : Fix crash in binascii.b2a_uu() in debug mode when given a
...
1-byte argument. Patch by Victor Stinner.
2010-01-15 00:18:00 +00:00
Brett Cannon
3ffa43db48
The silencing of DeprecationWarning was not taking -3 into consideration. Since
...
Py3K warnings are DeprecationWarning by default this was causing -3 to
essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not
used.
Closes issue #7700 . Thanks Ezio Melotti and Florent Xicluna for patch help.
2010-01-14 20:00:28 +00:00
Antoine Pitrou
efdddd3370
Issue #3299 : Fix possible crash in the _sre module when given bad
...
argument values in debug mode. Patch by Victor Stinner.
2010-01-14 17:25:24 +00:00
Antoine Pitrou
fd3a60d5ef
Issue #7703 : Add support for the new buffer API to functions of the
...
binascii module. Backported from py3k by Florent Xicluna, with some
additional tests.
2010-01-14 16:27:09 +00:00
Skip Montanaro
852a27db96
Update PyEval_EvalFrame to PyEval_EvalFrameEx. This looks to have been done
...
partially before. Also add a comment describing how this might have to work
with different versions of the interpreter.
2010-01-14 01:12:34 +00:00
Antoine Pitrou
f58021f7c3
Add ACKS entry for r77472.
2010-01-13 14:32:51 +00:00
Antoine Pitrou
5a9112c0cc
Issue #2846 : Add support for gzip.GzipFile reading zero-padded files.
...
Patch by Brian Curtin.
2010-01-13 14:32:10 +00:00
Antoine Pitrou
8c510e704e
Issue #7661 : Allow ctypes to be built from a non-ASCII directory path.
...
Patch by Florent Xicluna.
2010-01-13 11:47:49 +00:00
Antoine Pitrou
6467213bfd
Issue #7622 : Improve the split(), rsplit(), splitlines() and replace()
...
methods of bytes, bytearray and unicode objects by using a common
implementation based on stringlib's fast search. Patch by Florent Xicluna.
2010-01-13 07:55:48 +00:00
Mark Dickinson
5ff4f279e6
Issue #7632 : Fix a bug in dtoa.c that could lead to incorrectly-rounded results.
2010-01-12 22:55:51 +00:00
Mark Dickinson
8efef5ce9f
Issue #7632 : Fix a problem with _Py_dg_strtod that could lead to
...
crashes in debug builds, for certain long numeric strings
corresponding to subnormal values.
2010-01-12 22:23:56 +00:00
Ezio Melotti
b5689de044
#5827 : make sure that normpath preserves unicode
2010-01-12 03:32:05 +00:00
Alexandre Vassalotti
69eb51697c
Issue #1967 : Backport dictionary views.
2010-01-11 23:17:10 +00:00
Alexandre Vassalotti
7a8df80285
Add missing NEWS entry for r77422.
2010-01-11 23:13:49 +00:00
Tarek Ziadé
dc0f487c3b
Fixed #5372 : .o files are now always rebuilt because file age test don't work in some case
2010-01-11 22:50:29 +00:00
Brett Cannon
6fdd3dcb6a
DeprecationWarning is now silent by default.
...
This was originally suggested by Guido, discussed on the stdlib-sig mailing
list, and given the OK by Guido directly to me. What this change essentially
means is that Python has taken a policy of silencing warnings that are only
of interest to developers by default. This should prevent users from seeing
warnings which are triggered by an application being run against a new
interpreter before the app developer has a chance to update their code.
Closes issue #7319 . Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin
for helping with the issue.
2010-01-10 02:56:19 +00:00
Alexandre Vassalotti
ee936a2130
Issue #2335 : Backport set literals syntax from Python 3.x.
2010-01-09 23:35:54 +00:00
Benjamin Peterson
dd6d92a560
post release version adjustment
2010-01-09 17:30:31 +00:00
Benjamin Peterson
aa7e51f006
bump version to 2.7a2
2010-01-09 16:34:06 +00:00
Tarek Ziadé
c25417f644
Fixed #7617 : all flavors of gcc should be recognized now
2010-01-08 23:42:23 +00:00
Antoine Pitrou
8015725d4f
Issue #7092 : Remove py3k warning when importing cPickle. 2to3 handles
...
renaming of `cPickle` to `pickle`. The warning was annoying since there's
no alternative to cPickle if you care about performance. Patch by Florent
Xicluna.
2010-01-08 19:20:17 +00:00
Antoine Pitrou
54584188cd
Fix reattribution mistake when fixing attribution mistake!
2010-01-07 17:54:10 +00:00
Antoine Pitrou
254d23f3a3
Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).
2010-01-07 17:49:37 +00:00
Antoine Pitrou
0d423b870b
Issue #7455 : Fix possible crash in cPickle on invalid input. Patch by
...
Florent Xicluna.
2010-01-07 17:46:49 +00:00
R. David Murray
f4d63ab1b6
Fix inadvertent checkin of debug line.
2010-01-07 04:04:28 +00:00
R. David Murray
ff2d7a7f09
Add -W to the 'basics', 'opt', and 'all' test runs so that we get verbose
...
information if a failure happens.
2010-01-07 03:09:08 +00:00
Georg Brandl
442879ac71
Add Stefan.
2010-01-05 18:14:52 +00:00
Antoine Pitrou
b9d4963a98
Issue #7092 : Fix the DeprecationWarnings emitted by the standard library
...
when using the -3 flag. Patch by Florent Xicluna.
2010-01-04 23:22:44 +00:00
Benjamin Peterson
ecdae19fbe
do correct lookup of the __complex__ method
2010-01-04 00:43:01 +00:00
Antoine Pitrou
37559a085b
Credit Nir Aides for r77288
2010-01-03 22:38:50 +00:00
Antoine Pitrou
673ddf9907
Issue #7471 : Improve the performance of GzipFile's buffering mechanism,
...
and make it implement the `io.BufferedIOBase` ABC to allow for further
speedups by wrapping it in an `io.BufferedReader`. Patch by Nir Aides.
2010-01-03 22:29:56 +00:00
Georg Brandl
7c910ebf5b
Update doc build step.
2010-01-03 13:05:39 +00:00
Kurt B. Kaiser
ae628c97be
r77152 to Doc/Makefile broke doc build due to (at least some) make
...
binaries running clean prereq after checkout.
1. So, fix the insane make call in build.sh - seems to solve it.
2. Fix a missing redirection.
3. Check in the rsync opts that actually work during upload.
2010-01-03 08:36:45 +00:00
Gregory P. Smith
9d3252154f
issue3972: HTTPConnection and HTTPSConnection now support a
...
source_address parameter.
Also cleans up an annotation in the socket documentation.
2010-01-03 02:06:07 +00:00
Gregory P. Smith
79a3eb1058
Adds an optional source_address parameter to socket.create_connection().
...
For use by issue3972.
2010-01-03 01:29:44 +00:00
Georg Brandl
92c58ae384
Fix typo.
2010-01-02 22:55:55 +00:00
Gregory P. Smith
fe32d3010c
mention the r77252 change
2010-01-02 22:42:50 +00:00
Antoine Pitrou
5b7139aab4
Issue #7462 : Implement the stringlib fast search algorithm for the `rfind`,
...
`rindex`, `rsplit` and `rpartition` methods. Patch by Florent Xicluna.
2010-01-02 21:12:58 +00:00