Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge: #19449: Handle non-string keys when generating 'fieldnames' error. | R David Murray | 2013-11-19 | 3 | -1/+16 |
|\ | |||||
| * | #19449: Handle non-string keys when generating 'fieldnames' error. | R David Murray | 2013-11-19 | 3 | -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.3 | Andrew Kuchling | 2013-11-19 | 1 | -52/+51 |
|\ \ | |/ | |||||
| * | #1098749: re-word gettext docs to not encourage using pygettext so much. | Andrew Kuchling | 2013-11-19 | 1 | -52/+51 |
| | | | | | | | | Also, add a link to the Babel package. | ||||
* | | Issue #19550: Implement Windows installer changes of PEP 453 (ensurepip). | Martin v. Löwis | 2013-11-19 | 2 | -5/+26 |
| | | |||||
* | | Remove dead code committed in issue #12892. | Serhiy Storchaka | 2013-11-19 | 1 | -104/+0 |
| | | |||||
* | | Also chain codec exceptions that allow weakrefs | Nick Coghlan | 2013-11-19 | 2 | -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 Stinner | 2013-11-19 | 1 | -3/+0 |
| | | |||||
* | | Issue #19646: repr(dict) now uses _PyUnicodeWriter API for better performances | Victor Stinner | 2013-11-19 | 1 | -55/+54 |
| | | |||||
* | | Issue #19513: repr(tuple) now uses _PyUnicodeWriter for better performances | Victor Stinner | 2013-11-19 | 1 | -27/+37 |
| | | |||||
* | | Add _PyUnicodeWriter_WriteASCIIString() function | Victor Stinner | 2013-11-19 | 4 | -38/+96 |
| | | |||||
* | | Issue #19513: Disable overallocation of the PyUnicodeWriter before the last ↵ | Victor Stinner | 2013-11-19 | 1 | -0/+1 |
| | | | | | | | | write | ||||
* | | Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates. | Serhiy Storchaka | 2013-11-19 | 8 | -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.py | doko@ubuntu.com | 2013-11-19 | 2 | -0/+0 |
|\ \ | |/ | |||||
| * | - Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py | doko@ubuntu.com | 2013-11-19 | 2 | -0/+0 |
| | | |||||
* | | - Update config.{guess,sub} for new ports. | doko@ubuntu.com | 2013-11-19 | 2 | -84/+108 |
|\ \ | |/ | |||||
| * | - Update config.{guess,sub} for new ports. | doko@ubuntu.com | 2013-11-19 | 2 | -84/+108 |
| | | |||||
* | | Issue #19596: Null merge with 3.3 | Zachary Ware | 2013-11-19 | 0 | -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 None | Zachary Ware | 2013-11-19 | 7 | -55/+29 |
| | | | | | | | | to avoid reporting success on empty tests. | ||||
* | | Issue #19513: Simplify list_repr() | Victor Stinner | 2013-11-18 | 1 | -8/+2 |
| | | |||||
* | | null merge (already in 3.4) | Gregory P. Smith | 2013-11-18 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Cleanup this test's modification of os.environ in teardown (this already | Gregory P. Smith | 2013-11-18 | 1 | -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 than | Victor Stinner | 2013-11-18 | 1 | -16/+28 |
| | | | | | | | | the PyAccu API | ||||
* | | Issue #19581: Change the overallocation factor of _PyUnicodeWriter on Windows | Victor Stinner | 2013-11-18 | 1 | -6/+17 |
| | | | | | | | | On Windows, a factor of 50% gives best performances. | ||||
* | | selectors: use a single return. | Charles-François Natali | 2013-11-18 | 1 | -4/+2 |
| | | |||||
* | | Issue #19437: Fix error handling of PyCArrayType_new(), don't decreases the | Victor Stinner | 2013-11-18 | 1 | -1/+2 |
| | | | | | | | | reference counter of stgdict after result stole a reference to it | ||||
* | | Issue #19437: Fix error handling of CDataType_from_buffer() | Victor Stinner | 2013-11-18 | 1 | -1/+0 |
| | | | | | | | | KeepRef() decreases the reference counter of its 'keep' parameter on error | ||||
* | | Argument Clinic: rename "self" to "module" for module-level functions. | Larry Hastings | 2013-11-18 | 10 | -79/+88 |
| | | |||||
* | | Issue #8402: Added the escape() function to the glob module. | Serhiy Storchaka | 2013-11-18 | 4 | -2/+49 |
| | | |||||
* | | Relax timing on test_asyncio for busy (slow) Windows buildbots | Victor Stinner | 2013-11-18 | 1 | -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 DWORD | Christian Heimes | 2013-11-18 | 1 | -1/+2 |
| | | |||||
* | | Safely downcast SOCKET_T to int in _ssl module | Christian Heimes | 2013-11-18 | 1 | -3/+5 |
| | | |||||
* | | Remove unused code path from PBKDF2 that is causing a warning on Win64 | Christian Heimes | 2013-11-18 | 1 | -5/+1 |
| | | |||||
* | | Issue #19520: Fix (the last!) compiler warning on 32bit Windows, in _sha3 | Zachary Ware | 2013-11-17 | 2 | -1/+3 |
| | | |||||
* | | Issue #19634: Fix time_strftime() on AIX, format is a wchar_t* not a PyObject* | Victor Stinner | 2013-11-18 | 1 | -2/+1 |
| | | |||||
* | | Skip test_asyncio if concurrent.futures can't be imported. Hopeful fix for ↵ | Guido van Rossum | 2013-11-18 | 1 | -5/+5 |
| | | | | | | | | issue 19645. | ||||
* | | sqlite: Use Py_ssize_t to store a size instead of an int | Victor Stinner | 2013-11-18 | 1 | -2/+4 |
| | | | | | | | | Fix a compiler warning on Windows 64-bit | ||||
* | | PY_FORMAT_SIZE_T should not be used with PyErr_Format(), PyErr_Format("%zd") is | Victor Stinner | 2013-11-18 | 1 | -2/+1 |
| | | | | | | | | portable | ||||
* | | sqlite: raise an OverflowError if a string or a BLOB is longer than INT_MAX | Victor Stinner | 2013-11-18 | 1 | -8/+16 |
| | | | | | | | | | | | | bytes Fix compiler warnings on Windows 64-bit | ||||
* | | Fix a compiler warning on Windows 64-bit: _sqlite module | Victor Stinner | 2013-11-18 | 1 | -4/+9 |
| | | |||||
* | | sqlite: raise an OverflowError if the result is longer than INT_MAX bytes | Victor Stinner | 2013-11-18 | 1 | -2/+8 |
| | | | | | | | | Fix a compiler warning on Windows 64-bit | ||||
* | | Use Py_ssize_t type for sizes in getargs.c | Victor Stinner | 2013-11-18 | 1 | -7/+18 |
| | | | | | | | | Fix compiler warnings on Windows 64-bit | ||||
* | | Fix a compiler warning on Windows 64-bit in parsetok.c | Victor Stinner | 2013-11-18 | 1 | -1/+2 |
| | | | | | | | | Python parser doesn't support lines longer than INT_MAX bytes yet | ||||
* | | Fix compiler warnings on Windows 64-bit in grammar.c | Victor Stinner | 2013-11-18 | 1 | -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 Pitrou | 2013-11-17 | 4 | -3/+514 |
| | | |||||
* | | test_selectors: test_timeout fails sometimes on busy (slow) buildbots, relax | Victor Stinner | 2013-11-17 | 1 | -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 a | Victor Stinner | 2013-11-17 | 3 | -9/+24 |
| | | | | | | | | year before 1900. | ||||
* | | Fix test.support.bind_port() to not cause an error when Python was compiled | Gregory P. Smith | 2013-11-17 | 2 | -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 compiled | Gregory P. Smith | 2013-11-17 | 2 | -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. Smith | 2013-11-17 | 2 | -7/+9 |
|\ \ | |/ | | | | | | | A variable was declared below the top of a block and one function was using a K&R C style function declaration! |