Commit graph

32495 commits

Author SHA1 Message Date
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
Ezio Melotti
b2855ccd09 #18663: merge with 3.3. 2013-08-11 13:05:37 +03:00
Ezio Melotti
d51914c6c1 #18663: document that assertAlmostEqual also works when the values are equal and add tests. 2013-08-11 13:04:50 +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
Terry Jan Reedy
ee8f773c25 Issue #18676: Merge from 3.3 2013-08-10 18:23:18 -04:00
Terry Jan Reedy
7608b607b1 Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo
2013-08-10 18:17:13 -04:00
Terry Jan Reedy
9559243fc8 Merge with 3.3 2013-08-10 16:57:02 -04:00
Terry Jan Reedy
7c64aad9fb Issue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py.
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
2013-08-10 16:56:28 -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
08a1472e65 Merge typo fixes from 3.3. 2013-08-10 18:47:37 +03:00
Ezio Melotti
2af76da7b4 Fix a couple of typos. 2013-08-10 18:47:07 +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
Vinay Sajip
3f58277382 Closes #18671: Output more information when logging exceptions occur. 2013-08-08 18:28:53 +01: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
Antoine Pitrou
47cd96eaec Normalize whitespace 2013-08-06 22:57:31 +02:00
Antoine Pitrou
853395b448 Issue #18621: Prevent the site module's patched builtins from keeping too many references alive for too long. 2013-08-06 22:56:40 +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
Antoine Pitrou
c53204b947 Issue #4885: Add weakref support to mmap objects. Patch by Valerie Lambert. 2013-08-05 23:17:30 +02:00