Serhiy Storchaka
58cf607d13
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.
12 years ago
doko@ubuntu.com
a938bcfe95
- Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py
12 years ago
doko@ubuntu.com
7ad11bf815
- Remove execute permissions from test_dbm_gnu.py and test_dbm_ndbm.py
12 years ago
doko@ubuntu.com
61b3dbdd3e
- Update config.{guess,sub} for new ports.
12 years ago
doko@ubuntu.com
ecf4193573
- Update config.{guess,sub} for new ports.
12 years ago
Zachary Ware
d2a5cfaf48
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
12 years ago
Zachary Ware
4accf45f0e
Issue #19596 : Set untestable tests in test_importlib to None
to avoid reporting success on empty tests.
12 years ago
Victor Stinner
b8fb197aa0
Issue #19513 : Simplify list_repr()
12 years ago
Gregory P. Smith
99b7b1c514
null merge (already in 3.4)
12 years ago
Gregory P. Smith
30d8e167ff
Cleanup this test's modification of os.environ in teardown (this already
exists in 3.4 but apparently wasn't done for 3.3).
12 years ago
Victor Stinner
5c733473f2
Issue #19513 : repr(list) now uses the PyUnicodeWriter API, it is faster than
the PyAccu API
12 years ago
Victor Stinner
6989ba0174
Issue #19581 : Change the overallocation factor of _PyUnicodeWriter on Windows
On Windows, a factor of 50% gives best performances.
12 years ago
Charles-François Natali
f47981f51e
selectors: use a single return.
12 years ago
Victor Stinner
e106e5ce4b
Issue #19437 : Fix error handling of PyCArrayType_new(), don't decreases the
reference counter of stgdict after result stole a reference to it
12 years ago
Victor Stinner
2399ad51d4
Issue #19437 : Fix error handling of CDataType_from_buffer()
KeepRef() decreases the reference counter of its 'keep' parameter on error
12 years ago
Larry Hastings
ed4a1c5703
Argument Clinic: rename "self" to "module" for module-level functions.
12 years ago
Serhiy Storchaka
fd32fffa5a
Issue #8402 : Added the escape() function to the glob module.
12 years ago
Victor Stinner
e3010fd740
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
12 years ago
Christian Heimes
85ba92a0b8
GetVolumePathNameW: downcast bufsize to DWORD
12 years ago
Christian Heimes
b08ff7dcb4
Safely downcast SOCKET_T to int in _ssl module
12 years ago
Christian Heimes
cc6cdce750
Remove unused code path from PBKDF2 that is causing a warning on Win64
12 years ago
Gregory P. Smith
162307fa35
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.
12 years ago
Zachary Ware
7f4bf9fb10
Issue #19520 : Fix (the last!) compiler warning on 32bit Windows, in _sha3
12 years ago
Victor Stinner
136f064b93
Issue #19634 : Fix time_strftime() on AIX, format is a wchar_t* not a PyObject*
12 years ago
Guido van Rossum
3287905335
Skip test_asyncio if concurrent.futures can't be imported. Hopeful fix for issue 19645.
12 years ago
Victor Stinner
afccb0a821
sqlite: Use Py_ssize_t to store a size instead of an int
Fix a compiler warning on Windows 64-bit
12 years ago
Victor Stinner
cb29ec5f74
PY_FORMAT_SIZE_T should not be used with PyErr_Format(), PyErr_Format("%zd") is
portable
12 years ago
Victor Stinner
3f658bec35
sqlite: raise an OverflowError if a string or a BLOB is longer than INT_MAX
bytes
Fix compiler warnings on Windows 64-bit
12 years ago
Victor Stinner
83e30bf4bd
Fix a compiler warning on Windows 64-bit: _sqlite module
12 years ago
Victor Stinner
83ed42bfbf
sqlite: raise an OverflowError if the result is longer than INT_MAX bytes
Fix a compiler warning on Windows 64-bit
12 years ago
Victor Stinner
74387f5cac
Use Py_ssize_t type for sizes in getargs.c
Fix compiler warnings on Windows 64-bit
12 years ago
Victor Stinner
cad876d542
Fix a compiler warning on Windows 64-bit in parsetok.c
Python parser doesn't support lines longer than INT_MAX bytes yet
12 years ago
Victor Stinner
3a8a333942
Fix compiler warnings on Windows 64-bit in grammar.c
INT_MAX states and labels should be enough for everyone
12 years ago
Antoine Pitrou
6dd0d461a4
Issue #17618 : Add Base85 and Ascii85 encoding/decoding to the base64 module.
12 years ago
Victor Stinner
1a048f93bb
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
12 years ago
Victor Stinner
55329f8fbd
Issue #19634 : time.strftime("%y") now raises a ValueError on AIX when given a
year before 1900.
12 years ago
Gregory P. Smith
b6e622d184
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.
12 years ago
Gregory P. Smith
61b976f127
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!
12 years ago
Gregory P. Smith
7929a1da1a
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!
12 years ago
Serhiy Storchaka
898e976734
Issue #19603 : Use specific asserts in test_decr.
12 years ago
Serhiy Storchaka
76edd2110d
Issue #19603 : Use specific asserts in test_decr.
12 years ago
Ezio Melotti
58b7166202
Merge indentation fix in doc example from 3.3.
12 years ago
Ezio Melotti
e65cb190a6
Fix indentation in doc example.
12 years ago
Christian Heimes
a6bc95aa02
Issue #19448 : Add private API to SSL module to lookup ASN.1 objects by OID, NID, short name and long name.
12 years ago
Richard Oudkerk
35e4ad71ba
Merge.
12 years ago
Richard Oudkerk
46b4a5e51e
Issue #19599 : Increase sleep period.
12 years ago
Richard Oudkerk
69cce482cb
Merge.
12 years ago
Richard Oudkerk
8731d7b3c6
Fix handling of SystemExit and exit code. Patch by Brodie Rao.
12 years ago
Richard Oudkerk
cfac5181ed
Merge.
12 years ago
Richard Oudkerk
edcf8daaed
Issue 16998: Clarify that += on a shared value is not atomic.
12 years ago