Commit graph

97420 commits

Author SHA1 Message Date
Stefan Krah
bcaf5999e6 Issue #20186: memoryobject.c: add function signatures. 2014-05-18 00:35:09 +02:00
Benjamin Peterson
da89123bd6 merge 3.4 (#10744) 2014-05-17 15:07:34 -07:00
Benjamin Peterson
5eb6b39210 support pep 3118 format strings for ctypes objects with nontrivial shapes (closes #10744)
Patch by Matti Picus.
2014-05-17 14:59:12 -07:00
Ned Deily
4915035e84 Miscellaneous corrections and updates to the OS X README file. 2014-05-17 14:31:34 -07:00
Ned Deily
5d52022406 Miscellaneous corrections and updates to the OS X README file. 2014-05-17 14:30:09 -07:00
Brian Quinlan
20efceb757 Issue #21362: concurrent.futures does not validate that max_workers is proper 2014-05-17 13:51:10 -07:00
Donald Stufft
b1a1ec3151 Upgrade pip to 1.5.6 2014-05-16 23:02:25 -04:00
Donald Stufft
120e8edfb8 Upgrade pip to 1.5.6 2014-05-16 23:02:25 -04:00
Donald Stufft
6668800e0f Upgrade setuptools to 3.6 2014-05-16 23:01:28 -04:00
Eric Snow
3497c0bf95 Issue #21503: Use test_both() consistently in test_importlib. 2014-05-16 11:40:40 -06:00
Eric Snow
d50cee2045 Fix a small typo in test_importlib. 2014-05-16 11:22:05 -06:00
Victor Stinner
0d4e01ca07 Issue #13916: Fix surrogatepass error handler on Windows 2014-05-16 14:46:20 +02:00
Terry Jan Reedy
b96ebd4f9d Merge with 3.4 2014-05-15 20:50:30 -04:00
Terry Jan Reedy
6936159dcd Issue #18104: revise docstrings, remove obsolete comments. 2014-05-15 20:50:10 -04:00
Antoine Pitrou
0dfce56cd1 Mention ipaddress improvements. 2014-05-15 22:55:40 +02:00
Antoine Pitrou
b9d9ce73d7 Better organization of the what's new 2014-05-15 22:47:33 +02:00
Antoine Pitrou
d87fcf438b Issue #21364: remove recommendation of broken pattern. 2014-05-15 22:39:41 +02:00
Antoine Pitrou
2d1ec06484 Issue #21364: remove recommendation of broken pattern. 2014-05-15 22:38:56 +02:00
Antoine Pitrou
1e71c53463 Issue #20826: Optimize ipaddress.collapse_addresses(). 2014-05-15 20:40:53 +02:00
Antoine Pitrou
824db30b3e Issue #21487: Optimize ipaddress.summarize_address_range() and ipaddress.{IPv4Network,IPv6Network}.subnets(). 2014-05-15 20:21:48 +02:00
Antoine Pitrou
45aba189c6 Issue #21486: Optimize parsing of netmasks in ipaddress.IPv4Network and ipaddress.IPv6Network. 2014-05-15 20:18:41 +02:00
Serhiy Storchaka
88d8fb6af6 Issue #13916: Disallowed the surrogatepass error handler for non UTF-*
encodings.
2014-05-15 14:37:42 +03:00
Victor Stinner
8e4efbe115 Merge 3.4 2014-05-14 23:37:14 +02:00
Victor Stinner
fcbeab57d0 Issue #21488: Oops, the patch for codecs.encode/decode doc was written by
Berker Peksag (already present in Misc/ACKS). The issue was reported by Brad
Aylsworth.
2014-05-14 23:29:38 +02:00
Serhiy Storchaka
2e03a0a8a7 Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.
2014-05-14 21:51:37 +03:00
Serhiy Storchaka
429b59ec69 Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.
2014-05-14 21:48:17 +03:00
Serhiy Storchaka
b9183bb4fd Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.
2014-05-14 21:11:08 +03:00
Serhiy Storchaka
946cfc3e23 Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.
2014-05-14 21:08:33 +03:00
Victor Stinner
45e8e2f218 Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY()
Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between
pyconfig.h and pymacros.h.
2014-05-14 17:24:35 +02:00
Victor Stinner
79b49ab553 (Merge 3.4) Issue #21497: faulthandler functions now raise a better error if
sys.stderr is None: RuntimeError("sys.stderr is None") instead of
AttributeError("'NoneType' object has no attribute 'fileno'").
2014-05-14 17:16:58 +02:00
Victor Stinner
e2d66903e8 Issue #21497: faulthandler functions now raise a better error if sys.stderr is
None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType'
object has no attribute 'fileno'").
2014-05-14 17:15:50 +02:00
Victor Stinner
a57dfd033c Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode 2014-05-14 17:13:14 +02:00
Victor Stinner
f7667e3989 Merge 3.4 (I commited a patch to the wrong branch and then used hg backout) 2014-05-14 17:13:02 +02:00
Victor Stinner
e1e04ad8aa Backed out changeset 6ceedbd88b5f 2014-05-14 17:12:27 +02:00
Victor Stinner
b78c448f4b Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode 2014-05-14 17:10:45 +02:00
Victor Stinner
85ec1b990a Merge 3.4: ignore change specific to 3.4 for #21488, I had a different patch for Python 3.5 2014-05-14 17:09:39 +02:00
Victor Stinner
ef5b4e3dc3 Issue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Patch written by Brad Aylsworth.
2014-05-14 17:08:45 +02:00
R David Murray
37f524f001 Merge: #21347: use string not list in shell=True example. 2014-05-14 10:10:14 -04:00
R David Murray
ae9d193dc4 #21347: use string not list in shell=True example.
Patch by Akira.
2014-05-14 10:09:52 -04:00
Raymond Hettinger
acddff6f28 merge 2014-05-13 22:21:04 -07:00
Raymond Hettinger
23042cda40 Issue #21470: Do a better job seeding the random number generator
to fully cover its state space.
2014-05-13 22:13:40 -07:00
Eric Snow
e1c9e5270a Merge from 3.4 (for #21499). 2014-05-13 12:18:07 -06:00
Eric Snow
2f46a0e8be Issue #21499: Ignore __builtins__ in several test_importlib.test_api tests. 2014-05-13 12:15:42 -06:00
Guido van Rossum
c7188e2690 Merge 3.4->default: Fix test-order-dependend asyncio test failure caused by rev 2af5a52b9b87 (in this branch). 2014-05-13 09:21:33 -07:00
Guido van Rossum
7664eb0297 Fix test-order-dependend asyncio test failure caused by rev 909ea8cc86bbab92dbb6231668f403b7360f30fa. 2014-05-13 09:19:39 -07:00
doko@ubuntu.com
987831c945 Merge from 3.4:
- Issue #17756: Fix test_code test when run from the installed location.
2014-05-13 11:30:17 +02:00
doko@ubuntu.com
15bec9cb3f - Issue #17756: Fix test_code test when run from the installed location. 2014-05-13 11:28:12 +02:00
Antoine Pitrou
43e3d9409d Issue #19775: Add a samefile() method to pathlib Path objects.
Initial patch by Vajrasky Kok.
2014-05-13 10:50:15 +02:00
Raymond Hettinger
38acd4c028 Issue 21469: Minor code modernization (convert and/or expression to an if/else expression).
Suggested by: Tal Einat
2014-05-12 22:22:46 -07:00
Raymond Hettinger
51669d8c18 merge 2014-05-12 22:05:09 -07:00