Commit Graph

89461 Commits

Author SHA1 Message Date
Berker Peksag ea6d5592f2 Issue #23796: peak and read1 methods of BufferedReader now raise ValueError
if they called on a closed object.

Patch by John Hergenroeder.
2015-05-12 17:13:56 +03:00
Berker Peksag d10d6ae2fa Issue #23796: peak and read1 methods of BufferedReader now raise ValueError
if they called on a closed object.

Patch by John Hergenroeder.
2015-05-12 17:01:05 +03:00
Serhiy Storchaka 1aa5e1d63e Fixed compilation on Windows for issue #20173. 2015-05-12 14:00:22 +03:00
Serhiy Storchaka bedbf96e84 Issue #23870: The pprint module now supports all standard collections
except named tuples.
2015-05-12 13:35:48 +03:00
Serhiy Storchaka 0c59ff6430 Issue #20173: Converted the _codecs module to Argument Clinic. 2015-05-12 13:15:57 +03:00
Yury Selivanov 5096088c07 doc: Briefly mention C API changes in whatsnew. 2015-05-12 00:15:05 -04:00
Yury Selivanov b5d6a9d470 Mention PEP 492 in whatsnew. 2015-05-12 00:09:05 -04:00
Yury Selivanov 73287d75c6 Issue 24017: Update NEWS file. 2015-05-12 00:06:31 -04:00
Yury Selivanov df52e67d85 Fix warnings for gen_get_iter() 2015-05-11 23:23:05 -04:00
Yury Selivanov f487a005d6 Fix warnings for PyEval_GetCoroutineWrapper 2015-05-11 23:19:34 -04:00
Raymond Hettinger b9db9e152f Defend against a mutation during comparison 2015-05-11 19:58:56 -07:00
Yury Selivanov 7544508f02 PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
Raymond Hettinger 4e6bf4b3da merge 2015-05-11 19:59:21 -07:00
Yury Selivanov dc6a9c0423 asyncio: Merge 3.4 -- Support PEP 492. Issue #24017. 2015-05-11 22:31:19 -04:00
Yury Selivanov 1af2bf75a2 asyncio: Support PEP 492. Issue #24017. 2015-05-11 22:27:25 -04:00
Raymond Hettinger 99bf9a2567 Minor code cleanups. 2015-05-11 19:25:32 -07:00
Yury Selivanov 21ee10bf04 Merge 3.4 (asyncio docs) 2015-05-11 16:34:13 -04:00
Yury Selivanov d7e19bb566 docs/asyncio: Document new ensure_future() and deprecated async() 2015-05-11 16:33:41 -04:00
Yury Selivanov 7185461897 docs/asyncio: Document set_task_factory/get_task_factory 2015-05-11 16:28:27 -04:00
Yury Selivanov f7a6c59de1 Null merge. 2015-05-11 14:55:54 -04:00
Yury Selivanov 5d87ec256b Fix NEWS file. 2015-05-11 14:52:37 -04:00
Yury Selivanov 9657caf168 Merge 3.4 (asyncio changes) 2015-05-11 14:50:41 -04:00
Yury Selivanov 59eb9a4da5 asyncio: async() function is deprecated in favour of ensure_future(). 2015-05-11 14:48:38 -04:00
Yury Selivanov 926b990d3d asyncio: Drop JoinableQueue from 3.5 2015-05-11 14:42:43 -04:00
Yury Selivanov 7a093d9c71 Merge 3.4 (asyncio) 2015-05-11 14:40:56 -04:00
Yury Selivanov 740169cd24 Sync asyncio changes from the main repo. 2015-05-11 14:23:38 -04:00
Yury Selivanov 90ecfe65e6 asyncio: Sync with github repo 2015-05-11 13:48:16 -04:00
Raymond Hettinger a032e46df6 Minor stylistic clean-up. 2015-05-11 10:32:57 -07:00
Raymond Hettinger bc33e57d56 Issue #24155: Optimize heapify for better cache utililzation. 2015-05-11 10:19:03 -07:00
R David Murray a33df31629 #21795: advertise 8BITMIME if decode_data is False.
Patch by Milan Oberkirch, with a few updates.  This changeset also
tweaks the smtpd and whatsnew docs for smtpd into what should be
the final form for the 3.5 release.
2015-05-11 12:11:40 -04:00
Benjamin Peterson 0d905d4fcd merge heads 2015-05-10 21:20:01 -04:00
Benjamin Peterson 8ec4ae0420 merge 3.4 2015-05-10 21:19:56 -04:00
Benjamin Peterson 37c4f78390 add trailing slash 2015-05-10 21:19:18 -04:00
R David Murray a6429db4b8 #21800: Add RFC 6855 support to imaplib.
Original patch by Milan Oberkirch, updated by myself and
Maciej Szulik.
2015-05-10 19:17:23 -04:00
Yury Selivanov 18c30a29f8 Issue #22906: Do incref before SetCause/SetContext 2015-05-10 15:09:46 -04:00
Guido van Rossum 582d3fb1a5 Fix news entry for issue 24018. 2015-05-09 11:37:23 -07:00
Yury Selivanov 80e4dbea0e Issue 22906: Increment refcount after PyException_SetContext 2015-05-09 14:04:17 -04:00
Yury Selivanov e9ad5a57d7 Issue 22906: Add test file. 2015-05-09 13:53:57 -04:00
Yury Selivanov 8170e8c0d1 PEP 479: Change StopIteration handling inside generators.
Closes issue #22906.
2015-05-09 11:44:30 -04:00
Raymond Hettinger bd60e8dece Issue #24018: Add a collections.Generator abstract base class. 2015-05-09 01:07:23 -04:00
Benjamin Peterson dae2ef1cfa merge 3.4 2015-05-09 00:29:08 -04:00
Benjamin Peterson 65bcdd7195 ensure .keywords is always a dict 2015-05-09 00:25:18 -04:00
Benjamin Peterson 43e3d22fee merge 3.4 (#23042) 2015-05-08 21:32:36 -04:00
Benjamin Peterson 07abcf58d9 merge heads 2015-05-08 21:32:19 -04:00
Benjamin Peterson 0171d7faa0 fix libffi compilation on FreeBSD (#23042)
Patch from Marc-Andre Lemburg.
2015-05-08 21:31:36 -04:00
Donald Stufft 9020a9a226 merge - upgrade setuptools to 15.2 2015-05-08 21:30:37 -04:00
Donald Stufft b0fc24bff4 Upgrade setuptools to 15.2 2015-05-08 21:30:04 -04:00
Ned Deily d924198268 Minor updates to the OS X installer ReadMe.rtf. 2015-05-08 14:46:53 -07:00
Ned Deily cd797f9191 Minor updates to the OS X installer ReadMe.rtf. 2015-05-08 14:42:32 -07:00
Larry Hastings 3b12e957a7 Issue #20274: When calling a _sqlite.Connection, it now complains if passed
any keyword arguments.  Previously it silently ignored them.

Also: merge related change from 3.4, also reported on Issue #20274.
2015-05-08 07:45:10 -07:00