Commit Graph

82067 Commits

Author SHA1 Message Date
Antoine Pitrou 12820c0d5d Revert utime(..., None) strategy (it has too poor resolution under Windows) and restore the previous test workaround
(issue #19715)
2013-11-23 02:11:02 +01:00
Antoine Pitrou c3055be5f3 Trying other strategy for #19715: use utime(..., None) 2013-11-23 01:54:27 +01:00
Guido van Rossum f8d0ff9f42 Add source link for asyncio. 2013-11-22 16:53:25 -08:00
Antoine Pitrou bb6694de85 Try to fix issue #19715 (timestamp rounding inconsistencies under Windows?) 2013-11-23 01:32:53 +01:00
Antoine Pitrou 74193af0cf Finish protocol documentation 2013-11-23 01:21:11 +01:00
Antoine Pitrou a035e1b000 Start documenting protocols 2013-11-23 01:08:43 +01:00
Guido van Rossum f0f5d3844a Mention threadpool interface in asyncio overview. 2013-11-22 15:45:02 -08:00
Antoine Pitrou bba8682200 Issue #19291: add crude stubs to the asyncio docs 2013-11-23 00:34:26 +01:00
Victor Stinner 6c86181cd1 Issue #19715: Ensure that consecutive calls to monotonic() are monotonic 2013-11-23 00:15:27 +01:00
Antoine Pitrou 0f57564cac Try to debug issue #19715 2013-11-22 23:20:08 +01:00
Antoine Pitrou 2dd38fb238 Issue #19718: add one more globbing test under POSIX 2013-11-22 22:26:01 +01:00
Andrew Kuchling b3931d2111 Wording changes 2013-11-22 16:15:28 -05:00
Brett Cannon 02ac74eecc merge 2013-11-22 16:14:24 -05:00
Brett Cannon fe77f4ebb5 Issue #19718: Add a case-insensitive FS check to test.support to use
in test_pathlib.

Purposefully designed to work from a specified directory in case
multiple file systems are used on the system.
2013-11-22 16:14:10 -05:00
Eric Snow 2f66ffa652 Merge heads. 2013-11-22 13:55:59 -07:00
Eric Snow 2ba66ebc20 Issue #19724: clear out colliding temp module. 2013-11-22 13:55:23 -07:00
Andrew Kuchling 7a4e2d1751 Wording changes to pathlib docs.
Only possibly-controversial change: joinpath() was described as:

  "Calling this method is equivalent to indexing the path with each of
  the *other* arguments in turn."

'Indexing' is an odd word to use, because you can't subscript Path or
PurePath objects, so I changed it to "combining".
2013-11-22 15:45:02 -05:00
Barry Warsaw e0d641abf2 trunk merge 2013-11-22 15:31:49 -05:00
Barry Warsaw 9121f8d94b Issue 19555 for distutils, plus a little clean up (pyflakes, line lengths). 2013-11-22 15:31:35 -05:00
Guido van Rossum 4da459c488 Fix markup of notes recommending asyncio. 2013-11-22 12:27:45 -08:00
Zachary Ware 9ae8742075 Merge heads 2013-11-22 14:04:01 -06:00
Zachary Ware e19e3f0b91 Issue #18326: merge with 3.3 2013-11-22 14:03:10 -06:00
Zachary Ware e1391a0d68 Issue #18326: Clarify that list.sort's arguments are keyword-only.
Also, attempt to reduce confusion in the glossary by not saying there are
different "types" of arguments and parameters.
2013-11-22 13:58:34 -06:00
Guido van Rossum aa40775817 Add note to asyncore/asynchat recommending asyncio for new code. 2013-11-22 11:57:35 -08:00
Guido van Rossum 5467da860c Move select, selectors, asyncio to section 18 (IPC). 2013-11-22 11:56:46 -08:00
Brett Cannon 58ca93cb69 NEWS entry for module name repr commit 2013-11-22 14:54:13 -05:00
Brett Cannon df38a80aba merge 2013-11-22 14:53:07 -05:00
Brett Cannon 224b261258 User the repr for a module name in more places 2013-11-22 14:52:36 -05:00
Guido van Rossum 7a465647e4 asyncio: Pass cancellation from wrapping Future to wrapped Future. By Saúl Ibarra Corretgé (mostly). 2013-11-22 11:47:22 -08:00
Brett Cannon 873d1226b7 Make test_importlib output easier to trace back to the failing test
class.
2013-11-22 14:47:09 -05:00
Brett Cannon e0c3bd78c5 Issue #18864: Don't try and use unittest as a testing module for
built-in loading; leads to a reload scenario where attributes get set
which are wrong after the test.
2013-11-22 14:38:09 -05:00
Brett Cannon a24348cec1 Make some tests more verbose in the face of failure 2013-11-22 13:22:22 -05:00
Martin v. Löwis baacf4d293 Update xz to 5.0.5. 2013-11-22 19:13:51 +01:00
Martin v. Löwis bc2f0ba6b8 Update SQLite to 3.8.1 on Windows. 2013-11-22 18:36:28 +01:00
Brett Cannon 175e7257b1 Remove a commented-out line 2013-11-22 12:07:43 -05:00
Antoine Pitrou 330ce596c2 Hopefully fix test_is_socket_true 2013-11-22 18:05:06 +01:00
Brett Cannon fddc311fe8 Don't assume trying to find a builtin will succeed (e.g. posix isn't on Windows) 2013-11-22 11:58:17 -05:00
Antoine Pitrou 29eac42f49 Fix test failure under systems with an incompatible locale 2013-11-22 17:57:03 +01:00
Antoine Pitrou 0325a21da3 Fix whitespace 2013-11-22 17:38:41 +01:00
Antoine Pitrou 31119e4f10 Issue #19673: Add pathlib to the stdlib as a provisional module (PEP 428). 2013-11-22 17:38:12 +01:00
Eric Snow b523f8433a Implement PEP 451 (ModuleSpec). 2013-11-22 09:05:39 -07:00
Barry Warsaw 9e6097ebe7 Trunk merge. 2013-11-22 11:08:25 -05:00
Barry Warsaw 87b9637a86 A fix for issue 19555 on Windows. 2013-11-22 11:08:05 -05:00
Christian Heimes 5398e1a56e Issue #19448: report name / NID in exception message of ASN1Object 2013-11-22 16:20:53 +01:00
Christian Heimes c2d65e1e93 Issue #17134: check certs of CA and ROOT system store 2013-11-22 16:13:55 +01:00
Nick Coghlan 50c48b89e3 Close #17916: dis.Bytecode based replacement for distb
- Bytecode.from_traceback() alternate constructor
- current_offset parameter and attribute

Patch by Claudiu Popa
2013-11-23 00:57:00 +10:00
Nick Coghlan 8fbdb097cf Close #19552: venv and pyvenv ensurepip integration 2013-11-23 00:30:34 +10:00
Nick Coghlan 0b61ef6f79 Update bundled pip to 1.5rc1 2013-11-22 23:32:24 +10:00
Nick Coghlan 8afc8f61f9 Issue #19619: Update What's New for codec blacklist 2013-11-22 23:00:22 +10:00
Nick Coghlan c72e4e6dcc Issue #19619: Blacklist non-text codecs in method API
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.

The latter mechanism remains in place for third party non-text
encodings.
2013-11-22 22:39:36 +10:00