R David Murray
13f4cd6c10
Merge heads.
2013-08-10 12:13:44 -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
Gregory P. Smith
914061ab15
* Fix the assertions in hashlib to use unittest assertion methods instead of
...
evil assert statements.
* Add an additional assert to the new test_name_attribute test that actually
confirms that a hash created using each h.name results in a new hash sharing
the same name.
2013-08-05 13:14:37 -07:00
Mark Dickinson
f3e4b62d02
Issue #18659 : Backed out changeset cfd875bcbe41 after buildbot failures.
2013-08-05 10:59:36 +01:00
Mark Dickinson
a9e626f704
Issue #18659 : fix test_format test that wasn't being executed. Thanks Vajrasky Kok for the patch.
2013-08-05 10:30:14 +01:00
Terry Jan Reedy
95f34ab959
Issue #18151 : Replace remaining Idle 'open...close' pairs with 'with open'.
2013-08-04 15:39:03 -04:00
Jason R. Coombs
b2aa6f4055
Issue 18532: Added tests and documentation to formally specify the .name attribute on hashlib objects.
2013-08-03 11:39:39 +02:00
Terry Jan Reedy
ec53111f76
Merge with 3.3
2013-08-04 15:39:32 -04:00
Alexander Belopolsky
790d269d39
Fixes #8860 : Round half-microseconds to even in the timedelta constructor.
...
(Original patch by Mark Dickinson.)
2013-08-04 14:51:35 -04:00
Ethan Furman
5e5a8230c2
Close #18635 : Move class level private attribute from instance to class.
2013-08-04 08:42:23 -07:00
Larry Hastings
b90f417d69
Merging the 3.4.0a1 head.
2013-08-03 23:30:13 -07:00
Eli Bendersky
b9b6ce6f2c
Merge fix for Issue #17011 from 3.3
2013-08-03 17:48:41 -07:00
Eli Bendersky
2acc525a97
Issue #17011 : Fix caching of xpath path when namespaces are present.
...
Thanks to Stefan Behnel for the report and proposed solution & test.
2013-08-03 17:47:47 -07:00
Serhiy Storchaka
739e75000f
Issue #16741 : Remove testing of implementation artifact.
2013-08-04 01:05:02 +03:00
Serhiy Storchaka
3ceaff0777
Issue #16741 : Remove testing of implementation artifact.
2013-08-04 01:04:15 +03:00
Serhiy Storchaka
3efad82b05
Issue #18647 : Temporary disable the "nothing to repeat" check to make buildbots happy.
2013-08-03 23:47:48 +03:00
Serhiy Storchaka
5e376a7809
Issue #18647 : Temporary disable the "nothing to repeat" check to make buildbots happy.
2013-08-03 23:46:19 +03:00
Larry Hastings
436151e2ca
Merge from v3.4.0a1 head.
2013-08-03 13:01:39 -07:00
Larry Hastings
1f08c772f5
Bumped version to 3.4.0a1.
2013-08-03 12:58:12 -07:00