Antoine Pitrou
|
f9c774696e
|
Update exceptions doc for PEP 3151
|
2011-10-12 16:02:00 +02:00 |
Antoine Pitrou
|
6b4883dec0
|
PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.
|
2011-10-12 02:54:14 +02:00 |
Victor Stinner
|
983b1434bd
|
Backed out changeset 952d91a7d376
If maxchar == PyUnicode_MAX_CHAR_VALUE(unicode), we do an useless copy.
|
2011-10-12 00:54:35 +02:00 |
Antoine Pitrou
|
e55ad2dff0
|
Relax condition
|
2011-10-12 00:36:51 +02:00 |
Victor Stinner
|
d218bf14cc
|
stringlib: Fix STRINGLIB_STR for UCS2/UCS4
|
2011-10-12 00:14:32 +02:00 |
Victor Stinner
|
4e10100dee
|
Fix compiler warning in _PyUnicode_FromUCS2()
|
2011-10-11 23:27:52 +02:00 |
Victor Stinner
|
8cc70dcf70
|
Fix fastsearch for UCS2 and UCS4
* If needle is 0, try (p[0] >> 16) & 0xff for UCS4
* Disable fastsearch_memchr_1char() if needle is zero for UCS2 and UCS4
|
2011-10-11 23:22:22 +02:00 |
Victor Stinner
|
c5af7730e3
|
Fix FileIO.readall() (new_buffersize()) for large files
Truncate the buffer size to PY_SSIZE_T_MAX.
|
2011-10-11 23:00:31 +02:00 |
Antoine Pitrou
|
950468e553
|
Use _PyUnicode_CONVERT_BYTES() where applicable.
|
2011-10-11 22:45:48 +02:00 |
Antoine Pitrou
|
b896001377
|
Merge
|
2011-10-11 22:43:51 +02:00 |
Victor Stinner
|
a2a6477ba0
|
Fix io.FileIO.readall() on Windows 64 bits
Use Py_off_t type (64 bits) instead of off_t (32 bits).
|
2011-10-11 22:45:02 +02:00 |
Antoine Pitrou
|
ffa547e139
|
Fix deprecation warning
|
2011-10-11 22:43:37 +02:00 |
Victor Stinner
|
2c5d3cbfb8
|
Fix a compiler warning in _locale
|
2011-10-11 22:35:52 +02:00 |
Victor Stinner
|
3f528f0c1b
|
Fix a compiler warning in zipimport
|
2011-10-11 22:28:56 +02:00 |
Victor Stinner
|
8c9818980b
|
Fix typo in import.c
|
2011-10-11 22:27:13 +02:00 |
Victor Stinner
|
577db2c9f0
|
PyUnicode_AsUnicodeCopy() now checks if PyUnicode_AsUnicode() failed
|
2011-10-11 22:12:48 +02:00 |
Victor Stinner
|
d9c0631d77
|
Strip trailing spaces in _json.c
|
2011-10-11 21:56:19 +02:00 |
Victor Stinner
|
c4f281eba3
|
Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead
|
2011-10-11 22:11:42 +02:00 |
Victor Stinner
|
ed2682be2f
|
Reuse PyUnicode_Copy() in validate_and_copy_tuple()
|
2011-10-11 21:53:24 +02:00 |
Victor Stinner
|
beac78bb24
|
Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE()
|
2011-10-11 21:55:01 +02:00 |
Antoine Pitrou
|
e459a0877e
|
Issue #13136: speed up conversion between different character widths.
|
2011-10-11 20:58:41 +02:00 |
Antoine Pitrou
|
2c3b2302ad
|
Issue #13134: optimize finding single-character strings using memchr
|
2011-10-11 20:29:21 +02:00 |
Antoine Pitrou
|
60dd7dc23c
|
Merge
|
2011-10-11 19:54:03 +02:00 |
Mark Dickinson
|
1c027e564f
|
Merge issue #13145 fix.
|
2011-10-11 18:07:19 +01:00 |
Mark Dickinson
|
f1ab47ebc4
|
Issue #13145. Fix incorrect documentation for PyNumber_ToBase. Thanks Sven Marnach.
|
2011-10-11 18:06:36 +01:00 |
Antoine Pitrou
|
bb0ad4cfa1
|
Avoid pulling threading when _thread is sufficient
|
2011-10-11 18:51:53 +02:00 |
Antoine Pitrou
|
dc567e42f7
|
Use a dict for faster sysconfig startup (issue #13150)
|
2011-10-11 16:07:30 +02:00 |
Antoine Pitrou
|
10a99b024d
|
Issue #13150: The tokenize module doesn't compile large regular expressions at startup anymore.
Instead, the re module's standard caching does its work.
|
2011-10-11 15:45:56 +02:00 |
Antoine Pitrou
|
699cd9f7f1
|
Remove unused variable
|
2011-10-11 04:06:47 +02:00 |
Antoine Pitrou
|
2871698546
|
/* Remove unused code. It has been committed out since 2000 (!). */
|
2011-10-11 03:17:47 +02:00 |
Éric Araujo
|
aa2cb3a530
|
Increase test coverage for packaging.manifest (#11751).
Patch by Justin Love.
|
2011-10-11 03:06:16 +02:00 |
Éric Araujo
|
c822f08c71
|
Merge #11751 from 3.2
|
2011-10-11 02:46:59 +02:00 |
Éric Araujo
|
2336c8553c
|
Increase test coverage for distutils.filelist (#11751).
Patch by Justin Love.
|
2011-10-11 02:45:51 +02:00 |
Éric Araujo
|
30cc65460e
|
Add tests for Unicode handling in packaging’ check and register (#13114)
|
2011-10-11 02:18:12 +02:00 |
Antoine Pitrou
|
53bb548f22
|
Avoid exporting private helpers
(thanks "make smelly")
|
2011-10-10 23:49:24 +02:00 |
Antoine Pitrou
|
86fe86055b
|
Fix the threading infrastructure in test_socket to support skipping
tests from the setUp() routine.
This fixes a refleak in test_socket on some machines.
|
2011-10-10 20:15:59 +02:00 |
Martin v. Löwis
|
1ee1b6fe0d
|
Use identifier API for PyObject_GetAttrString.
|
2011-10-10 18:11:30 +02:00 |
Victor Stinner
|
794d567b17
|
any_find_slice() doesn't use callbacks anymore
* Call directly the right find/rfind method: allow inlining functions
* Remove Py_LOCAL_CALLBACK (added for any_find_slice)
|
2011-10-10 03:21:36 +02:00 |
Ezio Melotti
|
a6968edcb0
|
Merge whatsnew fixes with 3.2.
|
2011-10-10 00:31:00 +03:00 |
Ezio Melotti
|
4e15828640
|
Fix/improve markup in whatsnew/2.7.
|
2011-10-10 00:30:14 +03:00 |
Ezio Melotti
|
5b194cc8fb
|
#13138: merge with 3.2.
|
2011-10-10 00:03:15 +03:00 |
Ezio Melotti
|
138fc896c8
|
#13138: add missing versionadded.
|
2011-10-10 00:02:03 +03:00 |
Raymond Hettinger
|
be22d1d82a
|
Clean-up and improve the priority queue example in the heapq docs.
|
2011-10-09 17:29:14 +01:00 |
Raymond Hettinger
|
df7c4cde48
|
Clean-up and improve the priority queue example in the heapq docs.
|
2011-10-09 17:28:14 +01:00 |
Martin v. Löwis
|
87da872c69
|
Drop extra semicolon.
|
2011-10-09 11:54:42 +02:00 |
Martin v. Löwis
|
afe55bba33
|
Add API for static strings, primarily good for identifiers.
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
|
2011-10-09 10:38:36 +02:00 |
Éric Araujo
|
67df285a33
|
Merge 3.2
|
2011-10-09 08:58:16 +02:00 |
Éric Araujo
|
9255464dfb
|
Branch merge
|
2011-10-09 08:55:04 +02:00 |
Éric Araujo
|
a5bc34fa00
|
Branch merge
|
2011-10-09 07:32:35 +02:00 |
Éric Araujo
|
5819dcc0d2
|
Add tests for Unicode handling in distutils’ check and register (#13114)
|
2011-10-09 07:25:33 +02:00 |