summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge: #19449: Handle non-string keys when generating 'fieldnames' error.R David Murray2013-11-193-1/+16
|\
| * #19449: Handle non-string keys when generating 'fieldnames' error.R David Murray2013-11-193-1/+16
| | | | | | | | | | | | | | 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).
* | Merge from 3.3Andrew Kuchling2013-11-191-52/+51
|\ \ | |/
| * #1098749: re-word gettext docs to not encourage using pygettext so much.Andrew Kuchling2013-11-191-52/+51
| | | | | | | | Also, add a link to the Babel package.
* | Issue #19550: Implement Windows installer changes of PEP 453 (ensurepip).Martin v. Löwis2013-11-192-5/+26
| |
* | Remove dead code committed in issue #12892.Serhiy Storchaka2013-11-191-104/+0
| |
* | Also chain codec exceptions that allow weakrefsNick Coghlan2013-11-192-8/+50
| | | | | | | | | | | | | | 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.
* | oops, remove _PyObject_ReprWriter() definition (unwanted change)Victor Stinner2013-11-191-3/+0
| |
* | Issue #19646: repr(dict) now uses _PyUnicodeWriter API for better performancesVictor Stinner2013-11-191-55/+54
| |
* | Issue #19513: repr(tuple) now uses _PyUnicodeWriter for better performancesVictor Stinner2013-11-191-27/+37
| |
* | Add _PyUnicodeWriter_WriteASCIIString() functionVictor Stinner2013-11-194-38/+96
| |
* | Issue #19513: Disable overallocation of the PyUnicodeWriter before the last ↵Victor Stinner2013-11-191-0/+1
| | | | | | | | write
* | Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates.Serhiy Storchaka2013-11-198-76/+637
| | | | | | | | | | | | | | | | | | | | 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.
* | - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.pydoko@ubuntu.com2013-11-192-0/+0
|\ \ | |/
| * - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.pydoko@ubuntu.com2013-11-192-0/+0
| |
* | - Update config.{guess,sub} for new ports.doko@ubuntu.com2013-11-192-84/+108
|\ \ | |/
| * - Update config.{guess,sub} for new ports.doko@ubuntu.com2013-11-192-84/+108
| |
* | Issue #19596: Null merge with 3.3Zachary Ware2013-11-190-0/+0
|\ \ | |/ | | | | | | This will be merged into default when PEP451 is merged in. See changeset 5d38989191bb in features/pep-451
| * Issue #19596: Set untestable tests in test_importlib to NoneZachary Ware2013-11-197-55/+29
| | | | | | | | to avoid reporting success on empty tests.
* | Issue #19513: Simplify list_repr()Victor Stinner2013-11-181-8/+2
| |
* | null merge (already in 3.4)Gregory P. Smith2013-11-180-0/+0
|\ \ | |/
| * Cleanup this test's modification of os.environ in teardown (this alreadyGregory P. Smith2013-11-181-0/+3
| | | | | | | | exists in 3.4 but apparently wasn't done for 3.3).
* | Issue #19513: repr(list) now uses the PyUnicodeWriter API, it is faster thanVictor Stinner2013-11-181-16/+28
| | | | | | | | the PyAccu API
* | Issue #19581: Change the overallocation factor of _PyUnicodeWriter on WindowsVictor Stinner2013-11-181-6/+17
| | | | | | | | On Windows, a factor of 50% gives best performances.
* | selectors: use a single return.Charles-François Natali2013-11-181-4/+2
| |
* | Issue #19437: Fix error handling of PyCArrayType_new(), don't decreases theVictor Stinner2013-11-181-1/+2
| | | | | | | | reference counter of stgdict after result stole a reference to it
* | Issue #19437: Fix error handling of CDataType_from_buffer()Victor Stinner2013-11-181-1/+0
| | | | | | | | KeepRef() decreases the reference counter of its 'keep' parameter on error
* | Argument Clinic: rename "self" to "module" for module-level functions.Larry Hastings2013-11-1810-79/+88
| |
* | Issue #8402: Added the escape() function to the glob module.Serhiy Storchaka2013-11-184-2/+49
| |
* | Relax timing on test_asyncio for busy (slow) Windows buildbotsVictor Stinner2013-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | GetVolumePathNameW: downcast bufsize to DWORDChristian Heimes2013-11-181-1/+2
| |
* | Safely downcast SOCKET_T to int in _ssl moduleChristian Heimes2013-11-181-3/+5
| |
* | Remove unused code path from PBKDF2 that is causing a warning on Win64Christian Heimes2013-11-181-5/+1
| |
* | Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3Zachary Ware2013-11-172-1/+3
| |
* | Issue #19634: Fix time_strftime() on AIX, format is a wchar_t* not a PyObject*Victor Stinner2013-11-181-2/+1
| |
* | Skip test_asyncio if concurrent.futures can't be imported. Hopeful fix for ↵Guido van Rossum2013-11-181-5/+5
| | | | | | | | issue 19645.
* | sqlite: Use Py_ssize_t to store a size instead of an intVictor Stinner2013-11-181-2/+4
| | | | | | | | Fix a compiler warning on Windows 64-bit
* | PY_FORMAT_SIZE_T should not be used with PyErr_Format(), PyErr_Format("%zd") isVictor Stinner2013-11-181-2/+1
| | | | | | | | portable
* | sqlite: raise an OverflowError if a string or a BLOB is longer than INT_MAXVictor Stinner2013-11-181-8/+16
| | | | | | | | | | | | bytes Fix compiler warnings on Windows 64-bit
* | Fix a compiler warning on Windows 64-bit: _sqlite moduleVictor Stinner2013-11-181-4/+9
| |
* | sqlite: raise an OverflowError if the result is longer than INT_MAX bytesVictor Stinner2013-11-181-2/+8
| | | | | | | | Fix a compiler warning on Windows 64-bit
* | Use Py_ssize_t type for sizes in getargs.cVictor Stinner2013-11-181-7/+18
| | | | | | | | Fix compiler warnings on Windows 64-bit
* | Fix a compiler warning on Windows 64-bit in parsetok.cVictor Stinner2013-11-181-1/+2
| | | | | | | | Python parser doesn't support lines longer than INT_MAX bytes yet
* | Fix compiler warnings on Windows 64-bit in grammar.cVictor Stinner2013-11-181-2/+2
| | | | | | | | INT_MAX states and labels should be enough for everyone
* | Issue #17618: Add Base85 and Ascii85 encoding/decoding to the base64 module.Antoine Pitrou2013-11-174-3/+514
| |
* | test_selectors: test_timeout fails sometimes on busy (slow) buildbots, relaxVictor Stinner2013-11-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Issue #19634: time.strftime("%y") now raises a ValueError on AIX when given aVictor Stinner2013-11-173-9/+24
| | | | | | | | year before 1900.
* | Fix test.support.bind_port() to not cause an error when Python was compiledGregory P. Smith2013-11-172-3/+13
|\ \ | |/ | | | | | | 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.
| * Fix test.support.bind_port() to not cause an error when Python was compiledGregory P. Smith2013-11-172-3/+13
| | | | | | | | | | 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.
* | Fix compilation error under gcc of the ctypes module bundled libffi for arm.Gregory P. Smith2013-11-172-7/+9
|\ \ | |/ | | | | | | A variable was declared below the top of a block and one function was using a K&R C style function declaration!