Eric V. Smith
313fbe2106
Merge from 3.2.
2012-05-16 04:49:22 -04:00
Eric V. Smith
5cdc6308b6
Cleanup so subsequent tests won't fail. Needs to be moved into a support routine (see 14715).
2012-05-16 04:48:04 -04:00
R David Murray
a32df1e0e6
merge #1440472 : reflow
2012-05-15 22:13:55 -04:00
R David Murray
28e68ea6ea
#1440472 : reflow
2012-05-15 22:13:29 -04:00
R David Murray
b3ad106dca
merge #1440472 : Explain that email parser/generator isn't *quite* "idempotent"
2012-05-15 22:09:14 -04:00
R David Murray
ea1badbfef
#1440472 : Explain that email parser/generator isn't *quite* "idempotent"
2012-05-15 22:07:52 -04:00
Ned Deily
a0082788e4
Issue #14777 : merge
2012-05-15 18:13:02 -07:00
Ned Deily
4d377d98a1
Issue #14777 : In an X11 windowing environment, tkinter may return
...
undecoded UTF-8 bytes as a string when accessing the Tk clipboard.
Modify clipboad_get() to first request type UTF8_STRING when no
specific type is requested in an X11 windowing environment, falling
back to the current default type STRING if that fails.
Original patch by Thomas Kluyver.
2012-05-15 18:08:11 -07:00
Eric V. Smith
c8e106babb
Merge from 3.2.
2012-05-15 20:46:06 -04:00
Eric V. Smith
a790c9b6d6
Issue #14817 : Add rudimentary tests for pkgutil.extend_path.
2012-05-15 20:44:06 -04:00
Antoine Pitrou
63065d761e
Issue #14624 : UTF-16 decoding is now 3x to 4x faster on various inputs.
...
Patch by Serhiy Storchaka.
2012-05-15 23:48:04 +02:00
Giampaolo Rodola'
12ea86adce
merge heads
2012-05-15 22:21:01 +02:00
Giampaolo Rodola'
b28df76ee2
#14807 : fix bb failure due to symlink test relying on hard-coded permissions
2012-05-15 22:20:10 +02:00
Charles-François Natali
9b704ec9e1
Add versionadded for hmac.secure_compare().
2012-05-15 21:00:32 +02:00
Martin v. Löwis
c0181eb449
Stop including gzio in the build; it's not used.
2012-05-15 20:04:25 +02:00
Benjamin Peterson
f4ec88e45a
merge heads
2012-05-15 10:11:33 -07:00
Benjamin Peterson
77fa9379e2
use Py_ssize_t for ast sequence lengths
2012-05-15 10:10:27 -07:00
Hynek Schlawack
39bf90d319
Add two more sorts to test_os.WalkTests I've missed before
2012-05-15 18:40:17 +02:00
Senthil Kumaran
c5f31ed63d
merge heads
2012-05-16 00:07:24 +08:00
Senthil Kumaran
92a5bf0c0a
Issue12541 - Add UserWarning for unquoted realms
2012-05-16 00:03:29 +08:00
Senthil Kumaran
0ea91cb5c6
Issue12541 - Add UserWarning for unquoted realms
2012-05-15 23:59:42 +08:00
Hynek Schlawack
c96f5a0457
Sort file list in test_os.WalkTests
...
Adding new files into the tree lead to buildbot fails as the order wasn't
deterministic.
2012-05-15 17:55:38 +02:00
Senthil Kumaran
acfc26acb0
merge heads
2012-05-15 22:42:11 +08:00
Senthil Kumaran
b26fe2f313
merge from 3.2 - Issue #12541 : Be lenient with quotes around Realm field of HTTP Basic Authentation in urllib2.
2012-05-15 22:39:17 +08:00
Hynek Schlawack
66bfcc1b0f
#14773 : Fix os.fwalk() failing on dangling symlinks
2012-05-15 16:32:21 +02:00
Senthil Kumaran
34f3fcc269
Issue #12541 : Be lenient with quotes around Realm field of HTTP Basic Authentation in urllib2.
...
G: changed Misc/NEWS
2012-05-15 22:30:25 +08:00
Giampaolo Rodola'
0fb41b56ea
remove unused import in asyncore doc
2012-05-15 15:46:00 +02:00
Giampaolo Rodola'
ffa1d0b8d5
#14807 : move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning.
2012-05-15 15:30:25 +02:00
Martin v. Löwis
41829e82c1
Document f4d7ad6c9d6e.
2012-05-15 14:52:36 +02:00
Martin v. Löwis
cc10a37ef0
Widen ASDL sequences to Py_ssize_t lengths to better match PEP 353.
2012-05-15 14:45:03 +02:00
Martin v. Löwis
33cac8578b
Add safecase to silence Win64 warning.
2012-05-15 14:34:58 +02:00
Martin v. Löwis
d1b7f3993a
Silence VS 2010 warning on loss of precision (_int64 -> _int32).
...
This is safe because the actual value is already range-checked.
2012-05-15 14:06:21 +02:00
Martin v. Löwis
b05c0738d8
Silence VS 2010 signed/unsigned warnings.
2012-05-15 13:45:49 +02:00
Benjamin Peterson
6ecf8ce364
apparently importlib.h wants to be updated
2012-05-14 22:17:34 -07:00
Benjamin Peterson
d5a1c44455
PEP 415: Implement suppression of __context__ display with an exception attribute
...
This replaces the original PEP 409 implementation. See #14133 .
2012-05-14 22:09:31 -07:00
R David Murray
d91dc62379
Merge #14766 : Add correct algorithm for when a 'time' object is naive.
...
This patch also clarifies the definition of Naive and Aware.
Original patch by Greg Weller, I modified the first hunk
somewhat to make the exposition even clearer (I hope).
2012-05-14 22:19:10 -04:00
R David Murray
539f239e88
#14766 : Reflow the altered paragraphs.
2012-05-14 22:17:23 -04:00
R David Murray
9075d8b771
#14766 : Add correct algorithm for when a 'time' object is naive.
...
This patch also clarifies the definition of Naive and Aware.
Original patch by Greg Weller, I modified the first hunk
somewhat to make the exposition even clearer (I hope).
2012-05-14 22:14:46 -04:00
Brian Curtin
a79e7fed48
Merge 3.2
2012-05-14 19:43:16 -05:00
Brian Curtin
1f24548e1f
bsddb never existed in 3.x, no need to keep downloading sleepycat
2012-05-14 19:42:36 -05:00
Antoine Pitrou
e2eab5e768
Followup to issue #14157 : respect the relative ordering of values produced by time.strptime().
...
Patch by Hynek.
2012-05-14 19:45:27 +02:00
Antoine Pitrou
072e4a3fc7
Followup to issue #14157 : respect the relative ordering of values produced by time.strptime().
...
Patch by Hynek.
2012-05-14 19:44:59 +02:00
Martin v. Löwis
4043d3dee2
Don't build xxlimited in debug mode.
2012-05-14 18:23:44 +02:00
Martin v. Löwis
d7be304786
merge 3.2
2012-05-14 18:19:16 +02:00
Martin v. Löwis
2d82d049f6
Stop deleting non-existing bytecode files.
2012-05-14 18:18:07 +02:00
Martin v. Löwis
29e861d155
Upgrade sqlite to 3.7.12.
2012-05-14 16:51:35 +02:00
Giampaolo Rodola'
a6beddef07
Issue 14800: add comments explaining stat.py constants + docstring for S_* functions.
2012-05-14 14:53:33 +02:00
Antoine Pitrou
1b634c266c
Use size_t, not ssize_t (issue #14801 ).
2012-05-14 14:44:37 +02:00
Antoine Pitrou
a1433fed8e
Remove tab characters
2012-05-14 14:43:25 +02:00
Antoine Pitrou
682d94c11a
Use size_t, not ssize_t (issue #14801 ).
2012-05-14 14:43:03 +02:00