Commit graph

17196 commits

Author SHA1 Message Date
Victor Stinner
f0e521036c (Merge 3.3) Issue #18296: Try to fix TestSendfile.test_trailers() of test_os on FreeBSD 2013-08-15 11:57:19 +02:00
Victor Stinner
5e4d6398a1 Issue #18296: Try to fix TestSendfile.test_trailers() of test_os on FreeBSD 2013-08-15 11:57:02 +02:00
Eric Snow
8e4554027b Closes issue #18698: ensure importlib.reload() returns the module out of sys.modules. 2013-08-14 18:11:09 -06:00
Eric Snow
7491f1726b issue #18698: ensure importlib.reload() returns the module out of sys.modules. 2013-08-14 18:03:34 -06:00
Richard Oudkerk
84ed9a68bd Issue #8713: Support alternative start methods in multiprocessing on Unix.
See http://hg.python.org/sandbox/sbt#spawn
2013-08-14 15:35:41 +01:00
Victor Stinner
97869103ba Close #12015: The tempfile module now uses a suffix of 8 random characters
instead of 6, to reduce the risk of filename collision. The entropy was reduced
when uppercase letters were removed from the charset used to generate random
characters.
2013-08-14 01:28:28 +02:00
Ezio Melotti
9eaa3e6732 #18687: merge with 3.3. 2013-08-13 12:54:29 +03:00
Ezio Melotti
4bfa6c54ca #18687: remove obsolete comment. Patch by Févry Thibault. 2013-08-13 12:53:40 +03:00
Senthil Kumaran
07abe7aedb merge from 3.3
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb
2013-08-12 22:26:14 -07:00
Senthil Kumaran
0d53860e2c Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb 2013-08-12 22:25:27 -07:00
Antoine Pitrou
389dec8bcf Issue #18585: Add :func:textwrap.shorten to collapse and truncate a piece of text to a given length. 2013-08-12 22:39:09 +02:00
Ethan Furman
388a3921cf Issue 18693: Put custom __dir__ back in place. Will instead look at fixing help(). 2013-08-12 06:51:41 -07:00
Eli Bendersky
8f2c2bcc9d Add some docstrings, clarify others, and fix formatting. 2013-08-11 16:48:44 -07:00
Eli Bendersky
01ea326a8e Close #12645: Clarify and reformat the documentation of import_fresh_module 2013-08-11 15:43:30 -07:00
Eli Bendersky
ba5517d4c0 Issue #12645: Clarify and reformat the documentation of import_fresh_module 2013-08-11 15:38:08 -07:00
Serhiy Storchaka
3ee11407f8 Issue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*. 2013-08-11 20:13:36 +03:00
Serhiy Storchaka
b212291b08 Issue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*. 2013-08-11 20:12:20 +03:00
Terry Jan Reedy
4a0b6f70f6 Issue #15301: skip new test method so Windows builtbots stop failing. 2013-08-10 20:58:59 -04:00
Ethan Furman
53f58dbd12 Close #18693: __dir__ removed from Enum; help() now helpful. 2013-08-10 13:07:49 -07:00
Ethan Furman
a4998a7041 Close #18264: int- and float-derived enums now converted to int or float. 2013-08-10 13:01:45 -07:00
Ezio Melotti
fbcf4d78c8 #18681: merge with 3.3. 2013-08-10 20:01:43 +03:00
Ezio Melotti
056bafe7a6 #18681: Fix a NameError in imp.reload() (noticed by Weizhao Li). 2013-08-10 19:59:36 +03:00
R David Murray
13f4cd6c10 Merge heads. 2013-08-10 12:13:44 -04:00
R David Murray
a9e67ad993 Merge heads. 2013-08-10 12:08:41 -04:00
R David Murray
2bb2f6acd0 Merge #8112: Update the documenting xmlrpc server to use getfullargspec. 2013-08-10 12:03:54 -04:00
R David Murray
f22b62e261 #8112: Update the documenting xmlrpc server to use getfullargspec.
Before this patch it would raise an error when trying to display
documentation for a method that used annotations.

Patch by Claudiu Popa.
2013-08-10 12:01:47 -04:00
Ezio Melotti
a1e639a0f4 #18505: merge with 3.3. 2013-08-10 18:57:52 +03:00
Ezio Melotti
1c4810b57b #18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok. 2013-08-10 18:57:12 +03:00
Ezio Melotti
8281e7c24c #18453: merge with 3.3. 2013-08-10 18:37:36 +03:00
Ezio Melotti
319163244a #18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok. 2013-08-10 18:37:05 +03:00
Ezio Melotti
06c9ab5666 #18465: merge with 3.3. 2013-08-10 18:30:57 +03:00
Ezio Melotti
0f12be15c6 #18465: fix unused variables in test_minidom. Patch by Vajrasky Kok. 2013-08-10 18:30:29 +03:00
Ezio Melotti
490eef9a60 #18484: merge with 3.3. 2013-08-10 18:20:59 +03:00
Ezio Melotti
1d237e5356 #18484: improve test coverage of http.cookiejar. Patch by Vajrasky Kok. 2013-08-10 18:20:09 +03:00
Ezio Melotti
7f5218a07f #18483: merge with 3.3. 2013-08-10 18:08:13 +03:00
Ezio Melotti
7ac17f85d3 #18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok. 2013-08-10 18:07:25 +03:00
Christian Heimes
ad73a9cf97 Issue #16400: Add command line option for isolated mode.
-I

    Run Python in isolated mode. This also implies -E and -s. In isolated mode
    sys.path contains neither the script’s directory nor the user’s
    site-packages directory. All PYTHON* environment variables are ignored,
    too. Further restrictions may be imposed to prevent the user from
    injecting malicious code.
2013-08-10 16:36:18 +02:00
R David Murray
bb17d2b857 #18600: add policy to add_string, and as_bytes and __bytes__ methods.
This was triggered by wanting to make the doctest in email.policy.rst pass;
as_bytes and __bytes__ are clearly useful now that we have BytesGenerator.
Also updated the Message docs to document the policy keyword that was
added in 3.3.
2013-08-09 16:15:28 -04:00
Ezio Melotti
d119b7beba #18357: merge with 3.3. 2013-08-08 20:12:57 +03:00
Ezio Melotti
2532635fcd #18357: add tests for dictview set difference. Patch by Fraser Tweedale. 2013-08-08 20:12:28 +03:00
Ezio Melotti
e1a6edcebe #18581: merge with 3.3. 2013-08-08 19:37:52 +03:00
Ezio Melotti
4e4f3b8d35 #18581: remove duplicate test and run a test class that was skipped. Initial patch by Vajrasky Kok. 2013-08-08 19:36:36 +03:00
Ezio Melotti
5cc06fde43 #18273: merge with 3.3. 2013-08-08 15:18:26 +03:00
Ezio Melotti
66f2ea042a #18273: move the tests in Lib/test/json_tests to Lib/test/test_json and make them discoverable by unittest. Patch by Zachary Ware. 2013-08-08 15:03:45 +03:00
Larry Hastings
a27b83ad2d Issue #15301: Parsing fd, uid, and gid parameters for builtins
in Modules/posixmodule.c is now far more robust.
2013-08-08 00:19:50 -07:00
Antoine Pitrou
236a547b3e Issue #18665: fix typos. Patch by Vajrasky Kok. 2013-08-06 23:06:59 +02:00
Antoine Pitrou
dbfc129cc8 Issue #18666: improve test_frame a bit. Patch by Vajrasky Kok. 2013-08-06 23:05:23 +02:00
Serhiy Storchaka
9b855de8d2 Issue #14323: Expanded the number of digits in the coefficients for the
RGB -- YIQ conversions so that they match the FCC NTSC versions.
2013-08-06 11:51:23 +03:00
Antoine Pitrou
9e3d27b574 Followup to 862ab99ab570: I forgot to add the magnificent test_frame.py. 2013-08-05 23:35:43 +02:00
Antoine Pitrou
58720d6145 Issue #17934: Add a clear() method to frame objects, to help clean up expensive details (local variables) and break reference cycles. 2013-08-05 23:26:40 +02:00