R David Murray
82ffabdfa4
#2658 : Add test for issue fixed by fix for #1079 .
2012-06-03 12:27:07 -04:00
Martin v. Löwis
f20940792d
merge 3.2
2012-06-03 12:33:23 +02:00
Martin v. Löwis
9f44a66abc
PEP 3131: support non-ASCII characters in auto-completion of identifiers.
2012-06-03 12:32:42 +02:00
Martin v. Löwis
97aa21b46a
Do not try to insert control characters.
2012-06-03 12:26:09 +02:00
Martin v. Löwis
428d161b57
Drop unused constant.
2012-06-03 12:03:29 +02:00
Martin v. Löwis
156989aa79
Merge 3.2: issue #14937 .
2012-06-03 12:00:48 +02:00
Martin v. Löwis
862d13a30f
Issue #14937 : Perform auto-completion of filenames in strings even for non-ASCII filenames.
2012-06-03 11:55:32 +02:00
Senthil Kumaran
fe4dfd2b65
merge heads
2012-06-03 16:16:39 +08:00
Senthil Kumaran
1251fafcc5
Issue 14989: http.server --cgi option can enable the CGI http server.
2012-06-03 16:15:54 +08:00
Eli Bendersky
2168b31cac
merge
2012-06-03 08:09:33 +03:00
Eli Bendersky
0813168e94
Issue #14090 : fix some minor C API problems in default branch (3.3)
2012-06-03 08:07:47 +03:00
Terry Jan Reedy
a317eef897
Merge with 3.2 #12510
2012-06-03 01:06:38 -04:00
Terry Jan Reedy
e606e238ab
Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name
...
'name' to 'expression' as the latter is what the string actually represents.
The bug in this issue was only catching NameError and AttributeError when
evaluating an expression that was not necessarily a name.
2012-06-03 00:27:54 -04:00
Eli Bendersky
11cfea9295
Issue #14424 : Document PyType_GenericAlloc, and fix the documentation of PyType_GenericNew
2012-06-03 06:47:53 +03:00
Eli Bendersky
c68e1368b5
Fix unterminated keyword array passed to PyArg_ParseTupleAndKeywords
2012-06-03 06:09:42 +03:00
Brett Cannon
2b88fcf693
Issue #14987 : Add a missing import statement
2012-06-02 22:28:42 -04:00
Terry Jan Reedy
361baaddcf
Merge with 3.2 #10365
2012-06-02 20:24:21 -04:00
Terry Jan Reedy
a948c79ad4
Issue 10365: Add and replace comments; condense defaulted attribute access.
...
Code patch by Roger Serwy.
2012-06-02 20:22:58 -04:00
R David Murray
07ea53cb21
#1079 : Fix parsing of encoded words.
...
This is a behavior change: before this leading and trailing spaces were
stripped from ASCII parts, now they are preserved. Without this fix we didn't
parse the examples in the RFC correctly, so I think breaking backward
compatibility here is justified.
Patch by Ralf Schlatterbeck.
2012-06-02 17:56:49 -04:00
Sandro Tosi
e11eb0f21b
null merge
2012-06-02 23:42:08 +02:00
Sandro Tosi
7f671338de
backport c4bd68be5fc6 to 3.2
2012-06-02 23:41:19 +02:00
Sandro Tosi
e1b22edd23
Issue #14926 : merge with 3.2
2012-06-02 19:40:20 +02:00
Sandro Tosi
29d09aa4dd
Issue #14926 : fix docstring highlight
2012-06-02 19:40:02 +02:00
Sandro Tosi
a894cbfa61
merge with 3.2
2012-06-02 18:22:31 +02:00
Sandro Tosi
964f205a34
refer to time.strftime
2012-06-02 18:22:02 +02:00
R David Murray
f4b26ef250
#14957 : fix doc typo.
2012-06-02 11:20:53 -04:00
R David Murray
554b3481fa
#14957 : fix doc typo.
2012-06-02 11:20:29 -04:00
Sandro Tosi
c816290059
Issue #14814 : use print() function
2012-06-02 17:16:33 +02:00
Sandro Tosi
b4386d36f1
Issue #14814 : minor spelling fixes
2012-06-02 17:14:22 +02:00
Benjamin Peterson
3a37b8393c
merge 3.2
2012-06-01 23:57:50 -07:00
Benjamin Peterson
8e8fbeae27
don't leak if the __class__ closure is set
2012-06-01 23:57:36 -07:00
Victor Stinner
0dec1bfef9
Fix sporadic failure of test_time.test_process_time() on Windows
...
Use a threshold of 20 ms instead of 10 ms.
2012-06-01 22:45:23 +02:00
R David Murray
5a0d439126
#14957 : clarify splitlines docs.
...
Initial patch by Michael Driscoll, I added the example.
2012-06-01 16:20:26 -04:00
R David Murray
ae1b94b6e4
#14957 : clarify splitlines docs.
...
Initial patch by Michael Driscoll, I added the example.
2012-06-01 16:19:36 -04:00
Sandro Tosi
be1bc8c410
merge heads
2012-06-01 20:25:36 +02:00
Sandro Tosi
c10584a0d9
Issue #14968 : merge with 3.2
2012-06-01 20:23:46 +02:00
Sandro Tosi
3f7d1d3303
Issue #14968 : set 'Inplace Operators' as subsection; patch by Lars Buitinck
2012-06-01 20:23:20 +02:00
Benjamin Peterson
d1ab6089ff
check return for error
2012-06-01 11:18:22 -07:00
Hynek Schlawack
35db513187
#14814 : Fix errror message creation in ipaddress.collapse_addresses
2012-06-01 20:12:17 +02:00
Nick Coghlan
77452fc121
Close #14969 : Improve the handling of exception chaining in contextlib.ExitStack
2012-06-01 22:48:32 +10:00
Hynek Schlawack
c4b78a3e15
#14814 : Remove 2.x's new-style classes syntax from ipaddress
2012-06-01 11:48:32 +02:00
Stefan Krah
67ee1d05dd
word.digits are always initialized before use in the Taylor series loop,
...
but this is more readable.
2012-06-01 10:58:16 +02:00
Eli Bendersky
2b6b73e7e1
Issue #14007 : implement doctype() method calling in XMLParser of _elementtree.
...
Includes exposing a doctype handler from expat through pyexpat.
2012-06-01 11:32:34 +03:00
Eli Bendersky
20d4174b3d
We're always building _elementtree with USE_PYEXPAT_CAPI, so the #ifdefs in
...
the code are unnecessary.
2012-06-01 09:48:37 +03:00
Brian Curtin
2e185e17ce
Reformat two issue numbers
2012-06-01 00:07:28 -05:00
Eli Bendersky
1bf239446f
fix trailing whitespace
2012-06-01 07:15:00 +03:00
Eli Bendersky
52467b167e
Issue #14007 : make XMLParser a real subclassable type exported from _elementtree. +cleanups
2012-06-01 07:13:08 +03:00
Hynek Schlawack
7e0229e90d
#14814 : Remove stale __hex__ method from ipaddress
...
Obsolete 2.x method.
2012-06-01 00:20:13 +02:00
R David Murray
1be413e366
Don't use metaclasses when class decorators can do the job.
...
Thanks to Nick Coghlan for pointing out that I'd forgotten about class
decorators.
2012-05-31 18:00:45 -04:00
Georg Brandl
8e0ed333b9
Post-release update.
2012-05-31 22:41:51 +02:00