Commit graph

4150 commits

Author SHA1 Message Date
Florent Xicluna
fe17fd4a5d Convert to spaces. 2010-08-14 17:15:31 +00:00
Florent Xicluna
17d1e2abd8 Fix order. 2010-08-14 17:02:49 +00:00
Florent Xicluna
09245d8682 List Misc/python-config.in in Misc/README. Fix few typos. 2010-08-14 16:56:27 +00:00
Giampaolo Rodolà
419f704d76 fix issue #8857: provide a test case for socket.getaddrinfo 2010-08-14 16:45:41 +00:00
Georg Brandl
cc5943d36b Fix format. 2010-08-14 15:57:20 +00:00
Georg Brandl
9427dcfc31 Typo fix. 2010-08-14 15:46:59 +00:00
Georg Brandl
1c29ddd0d0 Add some maintainers. 2010-08-14 15:44:34 +00:00
Antoine Pitrou
7e817d0e90 Add myself to threads topic (suggested by Ezio) 2010-08-14 12:06:40 +00:00
Ezio Melotti
842c19cac0 Add myself for the bug tracker (and for re). 2010-08-14 09:02:36 +00:00
Ezio Melotti
d623de0237 Revert r82831 as discussed at EP now that the wording of maintainers.rst has been clarified. 2010-08-14 08:54:33 +00:00
Éric Araujo
bf054adea4 Let's commit 2010-08-14 04:56:48 +00:00
Éric Araujo
a85e2175bb Manually merge r83995: Fix version{added,changed} and spacing in NEWS 2010-08-14 03:59:54 +00:00
Éric Araujo
da668ff24f Use a marker in generated MANIFEST files, don't touch files without it. Fixes #8688. 2010-08-14 02:30:34 +00:00
Victor Stinner
47fcb5b4c3 Issue #9542: Create PyUnicode_FSDecoder() function
It's a ParseTuple converter: decode bytes objects to unicode using
PyUnicode_DecodeFSDefaultAndSize(); str objects are output as-is.

 * Don't specify surrogateescape error handler in the comments nor the
   documentation, but PyUnicode_DecodeFSDefaultAndSize() and
   PyUnicode_EncodeFSDefault() because these functions use strict error handler
   for the mbcs encoding (on Windows).
 * Remove PyUnicode_FSConverter() comment in unicodeobject.c to avoid
   inconsistency with unicodeobject.h.
2010-08-13 23:59:58 +00:00
Antoine Pitrou
042b128f58 Issue #9203: Computed gotos are now enabled by default on supported
compilers (which are detected by the configure script).  They can still
be disable selectively by specifying --without-computed-gotos.
2010-08-13 21:15:58 +00:00
R. David Murray
5e7918c712 Per request, make 'nosy' vs 'assign' explicit in maintainers.rst.
Also add myself as assignable for email issues.
2010-08-13 18:16:35 +00:00
Antoine Pitrou
3060c4573f Reapply r83877. 2010-08-13 16:27:38 +00:00
Victor Stinner
4a2b7a1b14 Issue #9425: Create PyErr_WarnFormat() function
Similar to PyErr_WarnEx() but use PyUnicode_FromFormatV() to format the warning
message.

Strip also some trailing spaces.
2010-08-13 14:03:48 +00:00
Antoine Pitrou
3e2eab19b9 Typo. 2010-08-12 15:15:01 +00:00
Antoine Pitrou
7c8bcb6f92 Issue #7467: when a file from a ZIP archive, its CRC is checked and a
BadZipfile error is raised if it doesn't match (as used to be the
case in Python 2.5 and earlier).
2010-08-12 15:11:50 +00:00
Benjamin Peterson
d4efbf90d2 use pep 383 decoding for mknod and mkfifo #9570
Patch by David Watson.
2010-08-11 19:20:42 +00:00
Alexander Belopolsky
f0f45142d5 Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99
va_copy, but available on all python platforms.  Untabified a few
unrelated files.
2010-08-11 17:31:17 +00:00
Antoine Pitrou
32cfedeb1c Issue #9550: a BufferedReader could issue an additional read when the
original read request had been satisfied, which can block indefinitely
when the underlying raw IO channel is e.g. a socket.  Report and original
patch by Jason V. Miller.
2010-08-11 13:31:33 +00:00
Martin v. Löwis
5ea3d93708 Add George Boutsioukis, from the GSoC project. 2010-08-11 05:48:57 +00:00
Brett Cannon
7d82c345ac Note that Éric Araujo has been given commit privileges. 2010-08-11 00:18:19 +00:00
Alexander Belopolsky
8f60430fcc Issue #8834: Added a comment describing the order of entries in Misc/ACKS.
Added names from release27-maint branch that were missing from py3k.
2010-08-10 21:54:48 +00:00
Antoine Pitrou
b73caab436 Issue #6915: Under Windows, os.listdir() didn't release the Global
Interpreter Lock around all system calls.  Original patch by Ryan Kelly.
2010-08-09 23:39:31 +00:00
Antoine Pitrou
5af4f4b983 Issue #3757: thread-local objects now support cyclic garbage collection.
Thread-local objects involved in reference cycles will be deallocated
timely by the cyclic GC, even if the underlying thread is still running.
2010-08-09 22:38:19 +00:00
Antoine Pitrou
6e451df800 Followup to r83869 and issue #8524: rename socket.forget() to socket.detach()
and make it return the file descriptor.
2010-08-09 20:39:54 +00:00
Fred Drake
a492362f9a issue #9452:
Add read_file, read_string, and read_dict to the configparser API;
new source attribute to exceptions.
2010-08-09 12:52:45 +00:00
Florent Xicluna
c7eaede21e Fix `Tools/scripts/checkpyc.py` after PEP 3147. 2010-08-09 12:26:44 +00:00
Antoine Pitrou
aba74bddd6 Revert r83877 in order to fix compilation 2010-08-09 10:47:46 +00:00
Senthil Kumaran
9f347ea545 reapply the revert made in r83875
Now the _collections is statically built, the build dependencies are in proper
order and build works fine.

Commit Log from r83874:
Issue 9396.   Apply functools.lru_cache in the place of the
random flushing cache in the re module.
2010-08-09 07:30:53 +00:00
Raymond Hettinger
31022301b5 Revert 83784 adding functools.lru_cache() to the re module.
The problem is that the re module is imported by sysconfig
and re needs functools which uses collections.OrderedDict()
but the _collectionsmodule.c code is not yet constructed
at this point in the build.

The likely best solution will be to include _collections
as part of the static build before the rest of the
boot-strapping.
2010-08-09 05:56:50 +00:00
Raymond Hettinger
4f859ed9c7 Issue 9396. Apply functools.lru_cache in the place of the
random flushing cache in the re module.
2010-08-09 04:24:42 +00:00
Antoine Pitrou
e43f9d0ed6 Issue #8524: Add a forget() method to socket objects, so as to put the
socket into the closed state without closing the underlying file
descriptor.
2010-08-08 23:24:50 +00:00
Florent Xicluna
ba8a98600e Fix xml.etree.ElementInclude to include the tail of the current node. Issue #6231 2010-08-08 23:08:41 +00:00
Antoine Pitrou
696e03553b Issue #477863: Print a warning at shutdown if gc.garbage is not empty. 2010-08-08 22:18:46 +00:00
Florent Xicluna
eb6f3ead00 Fix #8530: Prevent stringlib fastsearch from reading beyond the front of an array. 2010-08-08 22:07:16 +00:00
Antoine Pitrou
bddc9fe22b Issue #5319: Print an error if flushing stdout fails at interpreter
shutdown.
2010-08-08 20:46:42 +00:00
Florent Xicluna
c17f17294f Issue #8047: Fix the xml.etree serializer to return bytes by default.
Use ``encoding="unicode"`` to generate a Unicode string.
2010-08-08 19:48:29 +00:00
Thomas Heller
bf4cc5d469 Fix issue6869: refcount problem in the _ctypes extension. 2010-08-08 18:16:20 +00:00
Florent Xicluna
39d795d8c1 Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. 2010-08-08 18:06:13 +00:00
Florent Xicluna
e7eaec699e Typo. 2010-08-08 18:03:44 +00:00
Thomas Heller
864cc6703a Fix issue5504: ctypes does now work with systems where mmap can't be
PROT_WRITE and PROT_EXEC.
2010-08-08 17:58:53 +00:00
Senthil Kumaran
c41e1fad49 Add a news entry for Issue8280. 2010-08-08 11:50:22 +00:00
Raymond Hettinger
d331ce9e66 Issue #9507: Named tuple repr will now automatically display the right
name in a tuple subclass.
2010-08-08 01:13:42 +00:00
Mark Dickinson
af43e9a288 Issue #8433: Fix test_curses failure for platforms with recent versions of ncurses. 2010-08-07 12:33:36 +00:00
R. David Murray
d0511b0efb Add xml subpackages, since they are likely to have different maintainers.
And if not they can be merged back together when that becomes apparent.
2010-08-06 21:18:49 +00:00
Brian Curtin
ef9efbd69c Fix #9324: Add parameter validation to signal.signal on Windows in order
to prevent crashes.
2010-08-06 19:27:32 +00:00