]>
granicus.if.org Git - python/log
Victor Stinner [Tue, 19 Nov 2013 22:56:34 +0000 (23:56 +0100)]
Issue #9566, #19617: Fix more compiler warnings in compile.c on Windows 64-bit
Victor Stinner [Tue, 19 Nov 2013 22:46:06 +0000 (23:46 +0100)]
Issue #19637: fix test_undecodable_env() of test_subprocess on AIX
On AIX, the C locale encoding uses the ISO-8859-1 encoding, not ASCII.
Victor Stinner [Tue, 19 Nov 2013 22:03:25 +0000 (23:03 +0100)]
Issue #9566, #19617: New try to fix compilation on Windows
Some compilers (ex: Visual Studio) decode -
2147483648 as a unsigned integer
instead of an signed integer.
Victor Stinner [Tue, 19 Nov 2013 21:28:01 +0000 (22:28 +0100)]
Issue #9566, #19617: Fix compilation on Windows
INT32_MIN and INT32_MAX constants are unknown on Windows.
Victor Stinner [Tue, 19 Nov 2013 21:23:20 +0000 (22:23 +0100)]
Issue #9566: compile.c uses Py_ssize_t instead of int to store sizes to fix
compiler warnings on Windows 64-bit. Use Py_SAFE_DOWNCAST() where the final
downcast is needed.
The bytecode doesn't support integer parameters larger than 32-bit yet.
Guido van Rossum [Tue, 19 Nov 2013 19:43:38 +0000 (11:43 -0800)]
asyncio: Add streams.start_server(), by Gustavo Carneiro.
Ezio Melotti [Tue, 19 Nov 2013 18:28:45 +0000 (20:28 +0200)]
#2927: Added the unescape() function to the html module.
R David Murray [Tue, 19 Nov 2013 18:17:26 +0000 (13:17 -0500)]
Merge: #19449: Handle non-string keys when generating 'fieldnames' error.
R David Murray [Tue, 19 Nov 2013 18:16:20 +0000 (13:16 -0500)]
#19449: Handle non-string keys when generating 'fieldnames' error.
csv was handling non-string keys fine except for the error message
generated when a non-string key was not in 'fieldnames'.
Fix by Tomas Grahn, full patch-with-test by Vajrasky Kok (tweaked slightly).
Andrew Kuchling [Tue, 19 Nov 2013 16:06:44 +0000 (11:06 -0500)]
Merge from 3.3
Andrew Kuchling [Tue, 19 Nov 2013 16:05:20 +0000 (11:05 -0500)]
#
1098749 : re-word gettext docs to not encourage using pygettext so much.
Also, add a link to the Babel package.
Martin v. Löwis [Tue, 19 Nov 2013 16:02:36 +0000 (17:02 +0100)]
Issue #19550: Implement Windows installer changes of PEP 453 (ensurepip).
Serhiy Storchaka [Tue, 19 Nov 2013 13:56:05 +0000 (15:56 +0200)]
Remove dead code committed in issue #12892.
Nick Coghlan [Tue, 19 Nov 2013 12:33:10 +0000 (22:33 +1000)]
Also chain codec exceptions that allow weakrefs
The zlib and hex codecs throw custom exception types with
weakref support if the input type is valid, but the data
fails validation. Make sure the exception chaining in the
codec infrastructure can wrap those as well.
Victor Stinner [Tue, 19 Nov 2013 12:18:45 +0000 (13:18 +0100)]
oops, remove _PyObject_ReprWriter() definition (unwanted change)
Victor Stinner [Tue, 19 Nov 2013 12:07:38 +0000 (13:07 +0100)]
Issue #19646: repr(dict) now uses _PyUnicodeWriter API for better performances
Victor Stinner [Tue, 19 Nov 2013 11:59:46 +0000 (12:59 +0100)]
Issue #19513: repr(tuple) now uses _PyUnicodeWriter for better performances
Victor Stinner [Tue, 19 Nov 2013 11:54:53 +0000 (12:54 +0100)]
Add _PyUnicodeWriter_WriteASCIIString() function
Victor Stinner [Tue, 19 Nov 2013 11:09:00 +0000 (12:09 +0100)]
Issue #19513: Disable overallocation of the PyUnicodeWriter before the last write
Serhiy Storchaka [Tue, 19 Nov 2013 09:32:41 +0000 (11:32 +0200)]
Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates.
The utf-16* and utf-32* encoders no longer allow surrogate code points
(U+D800-U+DFFF) to be encoded.
The utf-32* decoders no longer decode byte sequences that correspond to
surrogate code points.
The surrogatepass error handler now works with the utf-16* and utf-32* codecs.
Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu.
doko@ubuntu.com [Tue, 19 Nov 2013 08:12:50 +0000 (09:12 +0100)]
- Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py
doko@ubuntu.com [Tue, 19 Nov 2013 08:12:28 +0000 (09:12 +0100)]
- Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py
doko@ubuntu.com [Tue, 19 Nov 2013 07:55:06 +0000 (08:55 +0100)]
- Update config.{guess,sub} for new ports.
doko@ubuntu.com [Tue, 19 Nov 2013 07:54:38 +0000 (08:54 +0100)]
- Update config.{guess,sub} for new ports.
Zachary Ware [Tue, 19 Nov 2013 03:47:35 +0000 (21:47 -0600)]
Issue #19596: Null merge with 3.3
This will be merged into default when PEP451 is merged in. See
changeset
5d38989191bb in features/pep-451
Zachary Ware [Tue, 19 Nov 2013 03:44:38 +0000 (21:44 -0600)]
Issue #19596: Set untestable tests in test_importlib to None
to avoid reporting success on empty tests.
Victor Stinner [Mon, 18 Nov 2013 21:15:44 +0000 (22:15 +0100)]
Issue #19513: Simplify list_repr()
Gregory P. Smith [Mon, 18 Nov 2013 21:10:29 +0000 (21:10 +0000)]
null merge (already in 3.4)
Gregory P. Smith [Mon, 18 Nov 2013 21:10:04 +0000 (21:10 +0000)]
Cleanup this test's modification of os.environ in teardown (this already
exists in 3.4 but apparently wasn't done for 3.3).
Victor Stinner [Mon, 18 Nov 2013 20:11:57 +0000 (21:11 +0100)]
Issue #19513: repr(list) now uses the PyUnicodeWriter API, it is faster than
the PyAccu API
Victor Stinner [Mon, 18 Nov 2013 20:08:39 +0000 (21:08 +0100)]
Issue #19581: Change the overallocation factor of _PyUnicodeWriter on Windows
On Windows, a factor of 50% gives best performances.
Charles-François Natali [Mon, 18 Nov 2013 17:59:43 +0000 (18:59 +0100)]
selectors: use a single return.
Victor Stinner [Mon, 18 Nov 2013 17:37:33 +0000 (18:37 +0100)]
Issue #19437: Fix error handling of PyCArrayType_new(), don't decreases the
reference counter of stgdict after result stole a reference to it
Victor Stinner [Mon, 18 Nov 2013 17:35:55 +0000 (18:35 +0100)]
Issue #19437: Fix error handling of CDataType_from_buffer()
KeepRef() decreases the reference counter of its 'keep' parameter on error
Larry Hastings [Mon, 18 Nov 2013 17:32:13 +0000 (09:32 -0800)]
Argument Clinic: rename "self" to "module" for module-level functions.
Serhiy Storchaka [Mon, 18 Nov 2013 11:06:43 +0000 (13:06 +0200)]
Issue #8402: Added the escape() function to the glob module.
Victor Stinner [Mon, 18 Nov 2013 10:05:22 +0000 (11:05 +0100)]
Relax timing on test_asyncio for busy (slow) Windows buildbots
http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1649/steps/test/logs/stdio
======================================================================
FAIL: test_wait_for_handle (test.test_asyncio.test_windows_events.ProactorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\test_asyncio\test_windows_events.py", line 112, in test_wait_for_handle
self.assertTrue(0.18 < elapsed < 0.22, elapsed)
AssertionError: False is not true : 0.25
Christian Heimes [Mon, 18 Nov 2013 09:30:42 +0000 (10:30 +0100)]
GetVolumePathNameW: downcast bufsize to DWORD
Christian Heimes [Mon, 18 Nov 2013 09:04:07 +0000 (10:04 +0100)]
Safely downcast SOCKET_T to int in _ssl module
Christian Heimes [Mon, 18 Nov 2013 08:59:44 +0000 (09:59 +0100)]
Remove unused code path from PBKDF2 that is causing a warning on Win64
Gregory P. Smith [Sun, 17 Nov 2013 22:19:32 +0000 (22:19 +0000)]
Fix test.support.bind_port() to not cause an error when Python was compiled
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
Zachary Ware [Sun, 17 Nov 2013 22:08:23 +0000 (16:08 -0600)]
Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3
Victor Stinner [Mon, 18 Nov 2013 01:43:29 +0000 (02:43 +0100)]
Issue #19634: Fix time_strftime() on AIX, format is a wchar_t* not a PyObject*
Guido van Rossum [Mon, 18 Nov 2013 01:00:21 +0000 (17:00 -0800)]
Skip test_asyncio if concurrent.futures can't be imported. Hopeful fix for issue 19645.
Victor Stinner [Mon, 18 Nov 2013 01:07:29 +0000 (02:07 +0100)]
sqlite: Use Py_ssize_t to store a size instead of an int
Fix a compiler warning on Windows 64-bit
Victor Stinner [Mon, 18 Nov 2013 01:05:31 +0000 (02:05 +0100)]
PY_FORMAT_SIZE_T should not be used with PyErr_Format(), PyErr_Format("%zd") is
portable
Victor Stinner [Mon, 18 Nov 2013 00:36:29 +0000 (01:36 +0100)]
sqlite: raise an OverflowError if a string or a BLOB is longer than INT_MAX
bytes
Fix compiler warnings on Windows 64-bit
Victor Stinner [Mon, 18 Nov 2013 00:27:30 +0000 (01:27 +0100)]
Fix a compiler warning on Windows 64-bit: _sqlite module
Victor Stinner [Mon, 18 Nov 2013 00:24:31 +0000 (01:24 +0100)]
sqlite: raise an OverflowError if the result is longer than INT_MAX bytes
Fix a compiler warning on Windows 64-bit
Victor Stinner [Mon, 18 Nov 2013 00:21:12 +0000 (01:21 +0100)]
Use Py_ssize_t type for sizes in getargs.c
Fix compiler warnings on Windows 64-bit
Victor Stinner [Mon, 18 Nov 2013 00:09:51 +0000 (01:09 +0100)]
Fix a compiler warning on Windows 64-bit in parsetok.c
Python parser doesn't support lines longer than INT_MAX bytes yet
Victor Stinner [Mon, 18 Nov 2013 00:07:38 +0000 (01:07 +0100)]
Fix compiler warnings on Windows 64-bit in grammar.c
INT_MAX states and labels should be enough for everyone
Antoine Pitrou [Sun, 17 Nov 2013 22:52:25 +0000 (23:52 +0100)]
Issue #17618: Add Base85 and Ascii85 encoding/decoding to the base64 module.
Victor Stinner [Sun, 17 Nov 2013 22:46:34 +0000 (23:46 +0100)]
test_selectors: test_timeout fails sometimes on busy (slow) buildbots, relax
the unit test on max time (but be more strict on mon time). Example of failure:
http://buildbot.python.org/all/builders/x86%20OpenIndiana%203.x/builds/6978/steps/test/logs/stdio
======================================================================
FAIL: test_timeout (test.test_selectors.PollSelectorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/export/home/buildbot/32bits/3.x.cea-indiana-x86/build/Lib/test/test_selectors.py", line 316, in test_timeout
self.assertTrue(0.5 < t1 - t0 < 1.5, t1 - t0)
AssertionError: False is not true : 1.
5033390671014786
Victor Stinner [Sun, 17 Nov 2013 22:39:21 +0000 (23:39 +0100)]
Issue #19634: time.strftime("%y") now raises a ValueError on AIX when given a
year before 1900.
Gregory P. Smith [Sun, 17 Nov 2013 22:21:02 +0000 (22:21 +0000)]
Fix test.support.bind_port() to not cause an error when Python was compiled
on a system with SO_REUSEPORT defined in the headers but run on a system
with an OS kernel that does not support that reasonably new socket option.
Gregory P. Smith [Sun, 17 Nov 2013 21:57:43 +0000 (21:57 +0000)]
Fix compilation error under gcc of the ctypes module bundled libffi for arm.
A variable was declared below the top of a block and one function was using
a K&R C style function declaration!
Gregory P. Smith [Sun, 17 Nov 2013 21:56:07 +0000 (21:56 +0000)]
Fix compilation error under gcc of the ctypes module bundled libffi for arm.
A variable was declared below the top of a block and one function was using
a K&R C style function declaration!
Serhiy Storchaka [Sun, 17 Nov 2013 21:39:13 +0000 (23:39 +0200)]
Issue #19603: Use specific asserts in test_decr.
Serhiy Storchaka [Sun, 17 Nov 2013 21:38:50 +0000 (23:38 +0200)]
Issue #19603: Use specific asserts in test_decr.
Ezio Melotti [Sun, 17 Nov 2013 20:09:24 +0000 (22:09 +0200)]
Merge indentation fix in doc example from 3.3.
Ezio Melotti [Sun, 17 Nov 2013 20:07:48 +0000 (22:07 +0200)]
Fix indentation in doc example.
Christian Heimes [Sun, 17 Nov 2013 18:59:14 +0000 (19:59 +0100)]
Issue #19448: Add private API to SSL module to lookup ASN.1 objects by OID, NID, short name and long name.
Richard Oudkerk [Sun, 17 Nov 2013 17:47:00 +0000 (17:47 +0000)]
Merge.
Richard Oudkerk [Sun, 17 Nov 2013 17:45:16 +0000 (17:45 +0000)]
Issue #19599: Increase sleep period.
Richard Oudkerk [Sun, 17 Nov 2013 17:30:54 +0000 (17:30 +0000)]
Merge.
Richard Oudkerk [Sun, 17 Nov 2013 17:24:11 +0000 (17:24 +0000)]
Fix handling of SystemExit and exit code. Patch by Brodie Rao.
Richard Oudkerk [Sun, 17 Nov 2013 17:03:19 +0000 (17:03 +0000)]
Merge.
Richard Oudkerk [Sun, 17 Nov 2013 17:00:38 +0000 (17:00 +0000)]
Issue 16998: Clarify that += on a shared value is not atomic.
Antoine Pitrou [Sun, 17 Nov 2013 14:36:03 +0000 (15:36 +0100)]
Issue #19508: direct the user to read the security considerations for the ssl module
Antoine Pitrou [Sun, 17 Nov 2013 14:35:33 +0000 (15:35 +0100)]
Issue #19508: direct the user to read the security considerations for the ssl module
Richard Oudkerk [Sun, 17 Nov 2013 13:15:51 +0000 (13:15 +0000)]
Issue #19565: Prevent warnings at shutdown about pending overlapped ops.
Serhiy Storchaka [Sun, 17 Nov 2013 11:46:42 +0000 (13:46 +0200)]
Issue #19606: Use specific asserts in http.cookiejar tests.
Serhiy Storchaka [Sun, 17 Nov 2013 11:45:02 +0000 (13:45 +0200)]
Issue #19606: Use specific asserts in http.cookiejar tests.
Serhiy Storchaka [Sun, 17 Nov 2013 11:20:39 +0000 (13:20 +0200)]
Issue #19607: Use specific asserts in weakref tests.
Serhiy Storchaka [Sun, 17 Nov 2013 11:20:09 +0000 (13:20 +0200)]
Issue #19607: Use specific asserts in weakref tests.
Serhiy Storchaka [Sun, 17 Nov 2013 11:03:07 +0000 (13:03 +0200)]
Issue #19605: Use specific asserts in datetime tests
Serhiy Storchaka [Sun, 17 Nov 2013 10:52:33 +0000 (12:52 +0200)]
Issue #19605: Use specific asserts in datetime tests
Serhiy Storchaka [Sun, 17 Nov 2013 10:31:56 +0000 (12:31 +0200)]
Null merge
Serhiy Storchaka [Sun, 17 Nov 2013 10:30:50 +0000 (12:30 +0200)]
Merge heads
Serhiy Storchaka [Sun, 17 Nov 2013 10:30:29 +0000 (12:30 +0200)]
Merge heads
Georg Brandl [Sun, 17 Nov 2013 08:19:11 +0000 (09:19 +0100)]
merge with 3.3
Georg Brandl [Sun, 17 Nov 2013 08:17:40 +0000 (09:17 +0100)]
Post-release bump.
Georg Brandl [Sun, 17 Nov 2013 08:17:18 +0000 (09:17 +0100)]
merge with 3.3.3 release clone
Georg Brandl [Sun, 17 Nov 2013 06:59:06 +0000 (07:59 +0100)]
Added tag v3.3.3 for changeset
c3896275c0f6
Georg Brandl [Sun, 17 Nov 2013 06:58:22 +0000 (07:58 +0100)]
Bump to 3.3.3 final.
Nick Coghlan [Sun, 17 Nov 2013 05:59:51 +0000 (15:59 +1000)]
Close #19282: Native context management in dbm
Ezio Melotti [Sun, 17 Nov 2013 00:47:38 +0000 (02:47 +0200)]
#19238: merge with 3.3.
Ezio Melotti [Sun, 17 Nov 2013 00:47:12 +0000 (02:47 +0200)]
#19238: fix typo in documentation.
Serhiy Storchaka [Sat, 16 Nov 2013 22:45:39 +0000 (00:45 +0200)]
Issue #19604: Use specific asserts in array tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:45:17 +0000 (00:45 +0200)]
Issue #19604: Use specific asserts in array tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:42:52 +0000 (00:42 +0200)]
Issue #19602: Use specific asserts in tkinter tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:42:25 +0000 (00:42 +0200)]
Issue #19602: Use specific asserts in tkinter tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:40:01 +0000 (00:40 +0200)]
Issue #19601: Use specific asserts in sqlite3 tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:39:12 +0000 (00:39 +0200)]
Issue #19601: Use specific asserts in sqlite3 tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:20:12 +0000 (00:20 +0200)]
Issue #19600: Use specific asserts in distutils tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:17:46 +0000 (00:17 +0200)]
Issue #19600: Use specific asserts in distutils tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:14:35 +0000 (00:14 +0200)]
Issue #19594: Use specific asserts in unittest tests.
Serhiy Storchaka [Sat, 16 Nov 2013 22:12:21 +0000 (00:12 +0200)]
Issue #19594: Use specific asserts in unittest tests.
Serhiy Storchaka [Sat, 16 Nov 2013 21:53:39 +0000 (23:53 +0200)]
Issue #19591: Use specific asserts in ctype tests.