Ezio Melotti
cd1d3ef77b
#13233 : fix typo.
2011-10-20 19:51:18 +03:00
Ezio Melotti
9927e0ce35
Merge heads.
2011-10-20 19:45:39 +03:00
Raymond Hettinger
d11a64d54c
merge
2011-10-20 09:43:12 -07:00
Raymond Hettinger
ded203f7c9
Bytes are already distinct from text, so typed=True isn't necessary.
2011-10-20 09:42:05 -07:00
Ezio Melotti
27607290a6
#13219 : merge with 3.2.
2011-10-20 19:40:44 +03:00
Ezio Melotti
81231d9379
#13219 : clarify section about character sets in the re documentation.
2011-10-20 19:38:04 +03:00
Senthil Kumaran
6e7c155489
merge heads
2011-10-21 00:34:27 +08:00
Senthil Kumaran
00e36e59ea
News entry for Issue12529 and Issue12604
2011-10-21 00:31:40 +08:00
Senthil Kumaran
fdd4575d19
News entry for Issue12529 and Issue12604
2011-10-21 00:29:47 +08:00
Raymond Hettinger
db84803562
Simplify calls in fnmatch.
2011-10-20 09:22:10 -07:00
Raymond Hettinger
cd9fdfd652
Issue 13227: Option to make the lru_cache() type specific (suggested by Andrew Koenig).
2011-10-20 08:57:45 -07:00
Victor Stinner
e3455c026a
Mention that os.O_CLOEXEC was added to Python 3.3
2011-10-20 00:46:21 +02:00
Victor Stinner
65651ea313
Issue #13150 : Add a comment in _sysconfigdata to explain the origin of this file
2011-10-20 00:41:21 +02:00
Antoine Pitrou
daaaec9ee7
Silence the FileExistsError which can be raised because of the O_EXCL flag
...
(as in import.c)
2011-10-19 23:28:40 +02:00
Raymond Hettinger
587e75c70b
merge
2011-10-19 14:16:47 -07:00
Raymond Hettinger
af37b89240
Issue 12668: Fix wording in Whatsnew3.2
2011-10-19 14:16:18 -07:00
Raymond Hettinger
eeb905bd7b
Merge
2011-10-19 14:10:37 -07:00
Raymond Hettinger
5768e0c788
Issue 11931: Minor punctuation/grammar/wording fixups to the regex docs
2011-10-19 14:10:07 -07:00
Benjamin Peterson
dc37ce95e8
merge 3.2
2011-10-19 16:58:15 -04:00
Benjamin Peterson
9d9141f5db
adjust braces a bit
2011-10-19 16:57:40 -04:00
Raymond Hettinger
becd56822a
Issue #13121 : Support in-place math operators for collections.Counter().
2011-10-19 13:40:37 -07:00
Éric Araujo
3bb8be6d78
Branch merge
2011-10-19 21:32:39 +02:00
Senthil Kumaran
1a129c882c
urllib.request - syntax changes enhancing readability. By Éric Araujo
2011-10-20 02:50:13 +08:00
Senthil Kumaran
34d38dce11
urllib.request - syntax changes enhancing readability. By Éric Araujo
2011-10-20 02:48:01 +08:00
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
Éric Araujo
784cd4cc54
Make one function in packaging.metadata simpler
2011-10-19 08:50:49 +02:00
Éric Araujo
f3f283a1cb
Clean up some idioms in packaging tests.
...
- Use os.makedirs (I had forgotten about it!)
- Let TempdirManager.write_file call os.path.join for us
- Remove custom command added by test_dist
- Use a skip instead of hiding a method with an underscore
- Address pyflakes warnings
2011-10-19 08:49:20 +02:00
Éric Araujo
79d9c42b04
Add reST targets to sections of the setup.cfg spec, improve wording
2011-10-19 08:41:07 +02:00
Éric Araujo
382067b3cf
Change signature of packaging.tests.support.LoggingCatcher.get_logs.
...
I need this for some tests, and it makes code clearer. This commit also
changes some assertEqual calls to use (actual, expected) order and fix
some pyflakes warnings.
2011-10-19 08:37:22 +02:00
Éric Araujo
4b5a5f7bd5
More fixes for PEP 3147 compliance in packaging ( #11254 )
2011-10-19 08:18:05 +02:00
Éric Araujo
8ccd18fff3
Expand tests and fix bugs in packaging.util.resolve_name.
...
The code is still ugly, but at least it works better now. Patches to
make it easier to read are welcome, as well as support in #12915 .
2011-10-19 06:46:13 +02:00
Éric Araujo
4f996449bf
Fix typo
2011-10-19 06:02:24 +02:00
Éric Araujo
5e2d5df477
Improve Victor’s commit with cool new 2.5 idiom
2011-10-19 06:01:57 +02: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