Senthil Kumaran
a41c942685
Doc improvements suggested by Éric Araujo for the new 'HEAD' Request feature.
2011-10-20 02:37:08 +08:00
Senthil Kumaran
c6b4ef105e
default - Fix closes Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c
...
Patch by Petri Lehtinen and Josh Triplett.
2011-10-20 02:16:59 +08:00
Senthil Kumaran
202a3c422b
3.2 - Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c
2011-10-20 02:15:36 +08:00
Senthil Kumaran
7e3062b320
default - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:52:41 +08:00
Senthil Kumaran
29fa9d4d68
3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
...
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by Petri Lehtinen.
2011-10-20 01:46:00 +08:00
Senthil Kumaran
294c231aa5
default - Fix closes Issue12529 - cgi.parse_header failure on double quotes and
...
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 01:06:59 +08:00
Senthil Kumaran
1ef0c0349e
3.2 - Fix closes Issue12529 - cgi.parse_header failure on double quotes and
...
semicolons. Patch by Ben Darnell and Petri Lehtinen.
2011-10-20 01:05:44 +08:00
Florent Xicluna
95483b6a19
Fix warning while building documentation.
2011-10-19 11:44:51 +02:00
Ezio Melotti
f10644983e
Merge with 3.2.
2011-10-19 11:06:26 +03:00
Ezio Melotti
e130a52d8a
Remove duplication.
2011-10-19 10:58:56 +03:00
Łukasz Langa
318909b297
A ricochet from fixing #10680 : http://http://example.com/ no longer reports
...
'nonnumeric port'. It parses to a host name of "http:" which is equivalent to
http:80.
2011-10-19 02:40:48 +02:00
Łukasz Langa
6c4e1aed4b
Merged fix for #10860 from 3.2
2011-10-19 02:04:46 +02:00
Victor Stinner
55c7e00fc0
Simplify _PyUnicode_COMPACT_DATA() macro
2011-10-18 23:32:53 +02:00
Victor Stinner
6707293e75
Add consistency check to _PyUnicode_New()
2011-10-18 22:10:14 +02:00
Victor Stinner
9e92188f53
Issue #12281 : Fix test_codecs.test_cp932() on Windows XP
...
Cool! Decoding b'\x81\x00abc' from cp932 with replace error handler is now
giving the same result on all Windows versions.
2011-10-18 21:55:25 +02:00
Victor Stinner
62be4fb21f
Issue #12281 : Skip code page tests on non-Windows platforms
2011-10-18 21:46:37 +02:00
Victor Stinner
3a50e7056e
Issue #12281 : Rewrite the MBCS codec to handle correctly replace and ignore
...
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.
2011-10-18 21:21:00 +02:00
Łukasz Langa
a5a9a9c369
Fixes #10860 : Handle empty port after port delimiter in httplib
2011-10-18 21:17:39 +02:00
Antoine Pitrou
1e73a2467f
Issue #13150 : sysconfig no longer parses the Makefile and config.h files
...
when imported, instead doing it at build time. This makes importing
sysconfig faster and reduces Python startup time by 20%.
2011-10-18 17:52:24 +02:00
Antoine Pitrou
cf28eacafe
Issue #13188 : When called without an explicit traceback argument,
...
generator.throw() now gets the traceback from the passed exception's
``__traceback__`` attribute. Patch by Petri Lehtinen.
2011-10-18 16:42:55 +02:00
Antoine Pitrou
551ba20e8e
Issue #13188 : When called without an explicit traceback argument,
...
generator.throw() now gets the traceback from the passed exception's
`__traceback__` attribute. Patch by Petri Lehtinen.
2011-10-18 16:40:50 +02:00
Ezio Melotti
3de134b1d1
#12448 : merge with 3.2.
2011-10-18 13:26:49 +03:00
Ezio Melotti
6bfecd1271
#12448 : smtplib now flushes stdout while running ``python -m smtplib``
...
in order to display the prompt correctly. Patch by Petri Lehtinen.
2011-10-18 13:20:07 +03:00
Ezio Melotti
bb8606dae3
#12277 : merge with 3.2.
2011-10-18 13:00:36 +03:00
Ezio Melotti
67494f2224
#12277 : add missing comma.
2011-10-18 12:59:39 +03:00
Victor Stinner
5c267e2d22
Close #12454 : The mailbox module is now using ASCII, instead of the locale
...
encoding, to read and write MH mailboxes (.mh_sequences files).
2011-10-17 20:44:22 +02:00
Victor Stinner
9ea8e4c29d
Instantiate the OS-related exception as soon as we raise it, so that "except"
...
works properly.
PyErr_SetFromErrnoWithFilenameObject() was already fixed by the changeset
793c75177d28. This commit fixes PyErr_SetExcFromWindowsErrWithFilenameObject(),
used on Windows.
2011-10-17 20:18:58 +02:00
Victor Stinner
ecd0207444
Issue #12367 : Test test_select.test_errno() on FreeBSD
...
See the FreeBSD bug:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/155606
2011-10-17 19:55:31 +02:00
Nadeem Vawda
2b9f36cdb6
Merge #13194 : zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
2011-10-17 19:40:47 +02:00
Nadeem Vawda
bcb86c5246
Issue #13194 : zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
2011-10-17 19:34:22 +02:00
Antoine Pitrou
707033a694
Issue #13146 : Writing a pyc file is now atomic under POSIX.
2011-10-17 19:28:44 +02:00
Antoine Pitrou
5b9f4c1539
Fix typo
2011-10-17 19:21:04 +02:00
Benjamin Peterson
897d059221
merge 3.2 ( #13199 )
2011-10-17 13:10:24 -04:00
Benjamin Peterson
2963fe0711
plug possible refleak ( closes #13199 )
2011-10-17 13:09:27 -04:00
Mark Hammond
f813080736
normalize whitespace in Lib/distutils/msvc9compiler.py
2011-10-17 11:36:49 +11:00
Mark Hammond
53e4a9a763
normalize whitespace in Lib/distutils/msvc9compiler.py
2011-10-17 11:35:31 +11:00
Mark Hammond
a9efb6fdd8
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:28:09 +11:00
Mark Hammond
6c58b28f2f
Issue #7833 : Ext. modules built using distutils on Windows no longer get a manifest
2011-10-17 11:05:57 +11:00
Victor Stinner
bf65c746ed
(null merge 3.2, fix already applied to default)
2011-10-16 23:46:06 +02:00
Victor Stinner
8d91d454d5
Issue #10653 : Fix time.strftime() on Windows, check for invalid format strings
2011-10-16 23:45:39 +02:00
Victor Stinner
f12e5068c3
Close #13174 : Fix extended attributes tests in test_os for SELinux
...
On Fedora, new files get the 'security.selinux' attribute.
2011-10-16 22:12:03 +02:00
Victor Stinner
386c2d8b4e
test_select: use a timeout=0 in test_errno()
2011-10-16 20:48:52 +02:00
Victor Stinner
5a3ff79fd6
Issue #10653 : Fix time.strftime() on Windows, check for invalid format strings
2011-10-16 19:08:23 +02:00
Senthil Kumaran
de49d64dbc
Fix closes issue 1673007 urllib.request to support HEAD requests with a new method arg.
2011-10-16 23:54:44 +08:00
Raymond Hettinger
d8886fc831
Merge
2011-10-16 00:00:51 -07:00
Raymond Hettinger
4b779b3785
Issue 13177: Make tracebacks more readable by avoiding chained exceptions in the lru_cache.
2011-10-15 23:50:42 -07:00
Antoine Pitrou
e60698317d
Fix build under Windows
2011-10-15 16:38:20 +02:00
Benjamin Peterson
7a6debe79c
remove some duplication
2011-10-15 09:25:28 -04:00
Éric Araujo
ab7e2a4454
Merge 3.2
2011-10-14 17:38:10 +02:00
Éric Araujo
9be57231dd
Update dead references from py.org/dev/faq to the devguide ( #13176 )
2011-10-14 17:37:45 +02:00