Jesus Cea
1dca75f611
MERGE: Closes #13283 : removal of two unused variable in locale.py
2011-10-31 16:04:12 +01:00
Victor Stinner
f4afa43fd4
Issue #13226 : Update sys.setdlopenflags() docstring
...
Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules.
2011-10-31 11:48:09 +01:00
Charles-François Natali
39648d11ab
test_asyncore: Enable tests of Unix domain sockets with poll().
2011-10-31 12:08:09 +01:00
Sandro Tosi
8f7bded7e0
merge with 3.2
2011-10-31 10:13:30 +01:00
Martin v. Löwis
5156f2ca9a
Drop unused variable.
2011-10-31 09:05:10 +01:00
Martin v. Löwis
cfa6129276
Fix typo.
2011-10-31 09:01:22 +01:00
Martin v. Löwis
0d3072e98d
Drop Py_UCS4_ functions. Closes #13246 .
2011-10-31 08:40:56 +01:00
Martin v. Löwis
a72e78b3b1
Replace Py_UCS4_ API with Unicode API.
2011-10-31 08:33:37 +01:00
Ned Deily
d1029c4853
Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
...
(Patch by Roger Serwy)
2011-10-30 20:05:30 -07:00
Sandro Tosi
9bf59aa103
merge with 3.2
2011-10-31 02:42:06 +01:00
Florent Xicluna
b6f019a080
Let's assume that the datetime module is always available.
2011-10-30 23:54:17 +01:00
Martin v. Löwis
f45dee998f
Port import_module_level to Unicode API.
2011-10-30 23:50:02 +01:00
Raymond Hettinger
5d12faa5b8
Merge
2011-10-30 15:07:01 -07:00
Raymond Hettinger
385c803658
Merge
2011-10-30 14:33:31 -07:00
Florent Xicluna
75861df9ab
Fix User-Agent for the xmlrpc.client, and catch KeyboardInterrupt for the standalone xmlrpc.server.
2011-10-30 20:39:24 +01:00
Florent Xicluna
2b6403e5d1
Merge heads
2011-10-30 20:25:29 +01:00
Florent Xicluna
f70fd7092d
Merge 3.2
2011-10-30 20:24:40 +01:00
Petri Lehtinen
a7a32353bf
Add Misc/NEWS entry for issue #10519
2011-10-30 21:18:25 +02:00
Benjamin Peterson
1cebc207ea
merge 3.2
2011-10-30 14:24:59 -04:00
Antoine Pitrou
6fbbc33440
Issue #10363 : Deallocate global locks in Py_Finalize().
2011-10-30 19:14:46 +01:00
Petri Lehtinen
c34f5c256a
Fix the return value of set_discard (issue #10519 )
2011-10-30 14:35:39 +02:00
Petri Lehtinen
7c5e34d8a3
Avoid unnecessary recursive function calls (#closes #10519 )
2011-10-30 13:57:45 +02:00
Martin v. Löwis
796ea53937
Port PyImport_ReloadModule to Unicode API.
2011-10-30 09:07:07 +01:00
Ezio Melotti
afe471d7d2
Merge the button to show/hide the prompts and output from 3.2.
2011-10-30 09:37:46 +02:00
Charles-François Natali
fea6cb0285
Issue #5661 : on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag...
2011-10-29 14:29:39 +02:00
Charles-François Natali
d4621190c9
Issue #5661 : Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
...
by Xavier de Gaye.
2011-10-29 12:45:56 +02:00
Ezio Melotti
39be383406
#13289 : merge with 3.2.
2011-10-29 10:44:59 +03:00
Victor Stinner
57ffa9d4ff
PyUnicode_AsUnicodeCopy() uses PyUnicode_AsUnicodeAndSize() to get directly the length
2011-10-23 20:10:08 +02:00
Victor Stinner
af9e4b8c29
Fix PyUnicode_InternImmortal(): PyUnicode_InternInPlace() may changes *p
2011-10-23 20:07:00 +02:00
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