Commit Graph

52023 Commits

Author SHA1 Message Date
Victor Stinner 9faa384bed Cast directly to unsigned char, instead of using Py_CHARMASK
We don't need "& 0xff" on an unsigned char.
2011-10-23 20:06:00 +02:00
Victor Stinner 9db1a8b69f Replace PyUnicodeObject* by PyObject* where it was irrevelant
A Unicode string can now be a PyASCIIObject, PyCompactUnicodeObject or
PyUnicodeObject. Aliasing a PyASCIIObject* or PyCompactUnicodeObject* to
PyUnicodeObject* is wrong
2011-10-23 20:04:37 +02:00
Victor Stinner 0d60e87ad6 Fix data variable in _PyUnicode_Dump() for compact ASCII 2011-10-23 19:47:19 +02:00
Victor Stinner d8e61c348e Remove last references to the removed Unicode free list 2011-10-23 19:43:33 +02:00
Benjamin Peterson 29037720d1 merge 3.2 2011-10-28 19:44:00 -04:00
Barry Warsaw c21a81bf76 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 17:08:12 -04:00
Florent Xicluna 608cab54e4 Merge 3.2 2011-10-28 22:16:23 +02:00
Florent Xicluna d39a4d755a Merge 3.2 2011-10-28 22:05:12 +02:00
Florent Xicluna 46f5d146c1 Remove no-op code from previous commit. 2011-10-28 21:58:56 +02:00
Florent Xicluna 68f71a34f4 Simplify and remove few dependencies on 'errno', thanks to PEP 3151. 2011-10-28 16:06:23 +02:00
Florent Xicluna 908ae24b06 Merge 3.2 (linked to issue #1294232) 2011-10-28 15:06:13 +02:00
Florent Xicluna aabbda5354 Merge 3.2 2011-10-28 14:52:29 +02:00
Ezio Melotti ac73b0c95e Merge HTMLParser doc changes from 3.2. 2011-10-28 14:36:11 +03:00
Ezio Melotti 91ec2e8a31 #13273: merge with 3.2. 2011-10-28 13:23:57 +03:00
Ezio Melotti 455036fd1f #13278: merge with 3.2. 2011-10-28 12:33:27 +03:00
Florent Xicluna acfc97a05a Merge 3.2 2011-10-28 11:23:25 +02:00
Antoine Pitrou f3dc2d7afd Fix typo 2011-10-28 00:01:03 +02:00
Antoine Pitrou 873bf262ad Update example of non-blocking SSL code for the new finer-grained exceptions 2011-10-27 23:59:03 +02:00
Antoine Pitrou 41032a69c1 Issue #11183: Add finer-grained exceptions to the ssl module, so that
you don't have to inspect the exception's attributes in the common case.
2011-10-27 23:56:55 +02:00
Vinay Sajip b5cab85dc7 Merged documentation fix from 3.2. 2011-10-27 17:53:19 +01:00
Benjamin Peterson 2f8dfcd6f4 add a test for an assertion with tuple msg 2011-10-27 08:20:01 -04:00
Victor Stinner 065836ec9c PyUnicode_FSDecoder() ensures that the decoded string is ready 2011-10-27 01:56:33 +02:00
Victor Stinner 7592d0513e Fix the issue number of my cp65001 commit: 13247 => issue #13216 2011-10-27 01:43:48 +02:00
Victor Stinner 2f3ca9f20e Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8) 2011-10-27 01:38:56 +02:00
Petri Lehtinen cc9695643f Issue #10860: Skip the new test if HTTPS is not available 2011-10-26 21:29:54 +03:00
Vinay Sajip b9e46e95f8 Changed warn() to warning() in logging tests. 2011-10-26 13:17:20 +01:00
Victor Stinner 82a647b721 Fix typo in NEWS 2011-10-26 01:42:30 +02:00
Ezio Melotti f7f0a66a8f Fix typos. 2011-10-25 17:22:22 +03:00
Victor Stinner cb98bed299 Issue #12619: Expose socket.SO_BINDTODEVICE constant 2011-10-25 13:45:48 +02:00
Victor Stinner 8b905bd9d4 Issue #13226: Add RTLD_xxx constants to the os module. These constants can by
used with sys.setdlopenflags().
2011-10-25 13:34:04 +02:00
Victor Stinner e0be423297 Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Ezio Melotti 92b958420e Merge the codecs doc refactoring with 3.2. 2011-10-25 10:41:37 +03:00
Ezio Melotti 7a03f64c2e Remove mention of narrow/wide builds in the codecs doc. 2011-10-25 10:30:19 +03:00
Ezio Melotti 90bf5f1171 Remove mention of narrow/wide builds and update array doc, add a test. 2011-10-25 10:05:34 +03:00
Ezio Melotti 199786bdde Null merge with 3.2. 2011-10-25 09:42:01 +03:00
Ezio Melotti c99c85899a Remove mention of narrow/wide builds from ord/chr doc. 2011-10-25 09:32:34 +03:00
Ezio Melotti f4d76e6ca7 #13251: update string description in datamodel.rst. 2011-10-25 09:23:42 +03:00
Benjamin Peterson f602c556b7 merge 3.2 2011-10-25 00:07:05 -04:00
Benjamin Peterson c801ad36ee merge heads 2011-10-25 00:06:15 -04:00
Benjamin Peterson 3ed559a3c7 merge 3.2 (#13259) 2011-10-25 00:04:10 -04:00
Antoine Pitrou b528fcf954 Fix test_imp failure under Windows 2011-10-25 00:21:02 +02:00
Petri Lehtinen 08a95cabe3 merge heads 2011-10-24 21:22:39 +03:00
Petri Lehtinen 24bd5adcff Merge 3.2 2011-10-24 21:17:52 +03:00
Charles-François Natali feeb3a366c Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.
2011-10-24 18:47:43 +02:00
Benjamin Peterson b4d8e912d7 merge 3.2 2011-10-24 08:52:30 -04:00
Florent Xicluna 6a985c3549 Merge 3.2. 2011-10-24 13:17:27 +02:00
Mark Dickinson 39411f60a2 Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module. 2011-10-24 10:31:52 +01:00
Antoine Pitrou 037ffbf182 Improve the porting section 2011-10-24 00:25:41 +02:00
Antoine Pitrou fd9b4166bb Improve / clean up the PEP 393 description 2011-10-24 00:14:43 +02:00
Antoine Pitrou 01fd26c746 Improve description of PEP 3151 2011-10-24 00:07:02 +02:00