Kristján Valur Jónsson
f3d90fb46b
Merge with 3.4
2014-05-08 11:18:27 +00:00
Kristján Valur Jónsson
5b74badc8d
Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
...
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
2014-05-08 10:59:52 +00:00
Kristján Valur Jónsson
ddf343855d
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
...
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
2014-05-08 10:36:27 +00:00
Kristján Valur Jónsson
33096fe829
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
...
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
2014-05-08 10:36:27 +00:00
Tim Golden
ba74885e0c
Issue19643 Fix whitespace
2014-05-07 18:08:08 +01:00
Tim Golden
783377998a
Issue19643 Add an example of shutil.rmtree which shows how to cope with readonly files on Windows
2014-05-07 18:05:45 +01:00
doko@ubuntu.com
4ce74dc54c
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 13:08:51 +02:00
doko@ubuntu.com
e5de66eaa7
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 12:57:44 +02:00
doko@ubuntu.com
8577e5ae09
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 04:44:42 +02:00
R David Murray
5915505796
Merge: #21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:50 -04:00
R David Murray
e25244657c
#21300 : Clean up the docs for the email "policy" arguments.
2014-05-06 21:33:18 -04:00
Guido van Rossum
5dcad2c8f3
Merge 3.4->default: asyncio: Fix the second half of issue #21447 : race in _write_to_self().
2014-05-06 14:45:39 -07:00
Guido van Rossum
3d139d8ed6
asyncio: Fix the second half of issue #21447 : race in _write_to_self().
2014-05-06 14:42:40 -07:00
Zachary Ware
bca9694ac1
Issue #21442 : Fix MSVC compiler warning introduced by issue21377.
2014-05-06 11:42:37 -05:00
Zachary Ware
ed49265b91
Merge with 3.4
2014-05-06 09:19:16 -05:00
Zachary Ware
9fafc9f79a
Add prompts to interactive example.
...
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
2014-05-06 09:18:17 -05:00
Zachary Ware
4e6688d2b2
Issue #21366 : Document the fact that ``return`` in a ``finally`` clause
...
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:51 -05:00
Zachary Ware
8edd532026
Issue #21366 : Document the fact that ``return`` in a ``finally`` clause
...
overrides a ``return`` in the ``try`` suite.
2014-05-06 09:07:13 -05:00
Tim Golden
b8ac3e1a20
Issue21393 Use CryptReleaseContext to release Crypt handle on Windows
2014-05-06 13:29:45 +01:00
Tim Golden
e0bd2c5fad
Issue21440 Use support.rmtree in test_zipfile & test_tarfile
2014-05-06 13:24:26 +01:00
Victor Stinner
3080d926af
Issue #21233 : Fix _PyObject_Alloc() when compiled with WITH_VALGRIND defined
2014-05-06 11:32:29 +02:00
Tim Golden
8c9f480e9c
Issue18314 ACKS & NEWS
2014-05-05 20:59:50 +01:00
Tim Golden
0321cf2550
Issue18314 Allow unlink to remove junctions. Includes support for creating junctions. Patch by Kim Gräsman
2014-05-05 19:46:17 +01:00
Guido van Rossum
a4790965f4
Merge 3.4->default: asyncio docs: ProactorEventLoop does not support SSL.
2014-05-05 07:35:29 -07:00
Guido van Rossum
5280d2e399
asyncio docs: ProactorEventLoop does not support SSL.
2014-05-05 07:34:56 -07:00
Larry Hastings
4954f75057
Added tag v3.4.1rc1 for changeset c67a19e11a71
2014-05-04 05:06:45 -07:00
Larry Hastings
95e0b0d1d0
Version bump for 3.4.1rc1.
2014-05-04 05:06:24 -07:00
Larry Hastings
f19a400714
Issue #21088 : Merge from 3.4.
2014-05-04 04:45:57 -07:00
Larry Hastings
9147a9697a
Issue #21088 : Bugfix for curses.window.addch() regression in 3.4.0.
...
In porting to Argument Clinic, the first two arguments were reversed.
2014-05-04 04:41:18 -07:00
Raymond Hettinger
53d2c41f77
Issue #19414 : Have the OrderedDict mark deleted links as unusable.
...
This gives an earlier and more visible failure if a link is deleted
during iteration.
2014-05-03 21:58:45 -07:00
Ned Deily
71ac07f8ba
Issue #18604 : merge from 3.4
2014-05-03 19:25:34 -07:00
Ned Deily
88b5b6ddf6
Issue #18604 : Skip the Tk instantiation test on OS X because it can
...
cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).
2014-05-03 19:24:05 -07:00
Raymond Hettinger
3170d1cccb
Issue #21421 : Add __slots__ to the MappingViews ABCs.
2014-05-03 19:06:32 -07:00
Raymond Hettinger
90e9338383
Neaten-up a bit add add missing size change check.
2014-05-03 18:45:54 -07:00
Raymond Hettinger
871620d951
Simplify and speedup the internals of the heapq module.
2014-05-03 18:36:48 -07:00
Benjamin Peterson
4ce5f3f203
improve idioms ( closes #20642 )
...
Patch by Claudiu Popa.
2014-05-03 20:22:00 -04:00
Benjamin Peterson
98baa14109
merge 3.4
2014-05-03 20:18:56 -04:00
Benjamin Peterson
3d678e3b12
use with blocks to make sure files are closed
2014-05-03 20:18:50 -04:00
Benjamin Peterson
644bb49a45
merge 3.4 ( #21357 )
2014-05-03 20:16:59 -04:00
Benjamin Peterson
f24600eb64
improve test coverage of filecmp ( closes #21357 )
...
Patch by Diana Clarke.
2014-05-03 20:07:16 -04:00
Benjamin Peterson
39992d3043
do not expose known hash api in stable API
2014-05-03 19:39:15 -04:00
Raymond Hettinger
4b0b1accb5
Issue #21101 : Eliminate double hashing in the C code for collections.Counter().
2014-05-03 16:41:19 -07:00
Raymond Hettinger
4b74fba62f
Issue 21101: Internal API for dict getitem and setitem where the hash value is known.
2014-05-03 16:32:11 -07:00
Raymond Hettinger
1b5eebcfa3
merge
2014-05-03 15:26:17 -07:00
Raymond Hettinger
c9926088dd
Issue 21375: Fix possible Py_ssizet overflow in heapq.
2014-05-03 15:22:07 -07:00
Victor Stinner
af8fc645af
Issue #21233 : Oops, Fix _PyObject_Alloc(): initialize nbytes before going to
...
redirect.
2014-05-02 23:26:03 +02:00
Victor Stinner
db067af12a
Issue #21233 : Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(),
...
PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) and bytearray(int) are now
using ``calloc()`` instead of ``malloc()`` for large objects which is faster
and use less memory (until the bytearray buffer is filled with data).
2014-05-02 22:31:14 +02:00
Victor Stinner
d50c3f3f3a
Issue #21393 : random.c: on Windows, close the hCryptProv handle at exit
2014-05-02 22:06:44 +02:00
Zachary Ware
cb2ad801ac
Closes #18604 : Merge with 3.4
2014-05-02 10:52:12 -05:00
Zachary Ware
ceced6bfea
Issue #18604 : Consolidated checks for GUI availability.
...
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in tkinter.test.support.check_tk_availability. Also, every platform
checks whether Tk can be instantiated (if the platform-specific checks
passed).
2014-05-02 10:51:07 -05:00