]>
granicus.if.org Git - python/log
Benjamin Peterson [Tue, 20 Dec 2011 19:29:45 +0000 (13:29 -0600)]
fix possible if unlikely leak
Benjamin Peterson [Tue, 20 Dec 2011 16:12:41 +0000 (10:12 -0600)]
note the blinding speed of these functions
Charles-François Natali [Tue, 20 Dec 2011 10:48:22 +0000 (11:48 +0100)]
Followup to issue #11867: Use socketpair(), since FreeBSD < 8 doesn't really
support multiprocessing.Event.
Benjamin Peterson [Mon, 19 Dec 2011 21:41:11 +0000 (16:41 -0500)]
don't mention implementation detail
Antoine Pitrou [Mon, 19 Dec 2011 15:21:21 +0000 (16:21 +0100)]
Issue #5424: add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
Patch by Philipp Hagemeister.
Charles-François Natali [Mon, 19 Dec 2011 15:12:23 +0000 (16:12 +0100)]
Issue #13453: Try to increase some socket timeouts to make some buildbots stop
failing.
Victor Stinner [Mon, 19 Dec 2011 12:42:24 +0000 (13:42 +0100)]
Issue #13628: python-gdb.py is now able to retrieve more frames in the Python
traceback if Python is optimized.
* delay the lookup of the size_t type, it is not available at startup
* The second argument of the PyFrameObjectPtr constructor is optional, as
done in other constructors
* iter_builtins() and iter_globals() methods of PyFrameObjectPtr returns
an empty tuple instead of None if Python is optimized
* Fix py-bt and py-bt-full to handle correctly "optimized" frames
* Frame.get_pyop() tries to get the frame pointer from PyEval_EvalCodeEx()
if the pointer is optimized out in PyEval_EvalFrameEx()
Charles-François Natali [Mon, 19 Dec 2011 11:18:55 +0000 (12:18 +0100)]
Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a
race condition).
Ezio Melotti [Mon, 19 Dec 2011 05:29:03 +0000 (07:29 +0200)]
#13576: add tests about the handling of (possibly broken) condcoms.
Ezio Melotti [Mon, 19 Dec 2011 05:04:48 +0000 (07:04 +0200)]
#13387: rephrase unclear sentence.
Michael Foord [Sun, 18 Dec 2011 22:01:40 +0000 (22:01 +0000)]
Fix inspect.getattr_static to work on modules (again).
Closes issue 11813.
Victor Stinner [Sun, 18 Dec 2011 20:04:17 +0000 (21:04 +0100)]
Handle correctly _Py_fopen() error: don't replace the exception
Antoine Pitrou [Sun, 18 Dec 2011 19:20:17 +0000 (20:20 +0100)]
Followup to #7502: add __hash__ method and tests.
Antoine Pitrou [Sun, 18 Dec 2011 18:31:02 +0000 (19:31 +0100)]
Merge
Georg Brandl [Sun, 18 Dec 2011 18:30:55 +0000 (19:30 +0100)]
Small clarification in docstring of dict.update(): the positional argument is not required.
Antoine Pitrou [Sun, 18 Dec 2011 18:28:33 +0000 (19:28 +0100)]
Merge
Antoine Pitrou [Sun, 18 Dec 2011 18:27:45 +0000 (19:27 +0100)]
Issue #7502: Fix equality comparison for DocTestCase instances.
Patch by Cédric Krier.
Victor Stinner [Sun, 18 Dec 2011 18:22:31 +0000 (19:22 +0100)]
Issue #13617: Document that the result of the conversion of a Unicode object to
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.
Patch written by Arnaud Calmettes.
Charles-François Natali [Sun, 18 Dec 2011 17:35:09 +0000 (18:35 +0100)]
Issue #11870: threading: Properly reinitialize threads internal locks and
condition variables to avoid deadlocks in child processes.
Charles-François Natali [Sun, 18 Dec 2011 15:05:07 +0000 (16:05 +0100)]
Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
Victor Stinner [Sun, 18 Dec 2011 01:56:18 +0000 (02:56 +0100)]
Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
Antoine Pitrou [Sun, 18 Dec 2011 00:25:27 +0000 (01:25 +0100)]
Issue #13522: document error return values of some float and complex C API functions.
Victor Stinner [Sat, 17 Dec 2011 22:18:07 +0000 (23:18 +0100)]
Issue #11231: Fix bytes and bytearray docstrings
Patch written by Brice Berna.
Victor Stinner [Sat, 17 Dec 2011 22:15:09 +0000 (23:15 +0100)]
Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
Victor Stinner [Sat, 17 Dec 2011 21:37:18 +0000 (22:37 +0100)]
Issue #10951: Fix a compiler warning in timemodule.c
Ezio Melotti [Fri, 16 Dec 2011 23:17:17 +0000 (01:17 +0200)]
#13613: fix example in re doc.
Victor Stinner [Fri, 16 Dec 2011 22:48:31 +0000 (23:48 +0100)]
main() now displays an error message before exiting if a command line argument
cannot be decoded
Antoine Pitrou [Fri, 16 Dec 2011 11:28:32 +0000 (12:28 +0100)]
Issue #10350: Read and save errno before calling a function which might overwrite it.
Original patch by Hallvard B Furuseth.
Victor Stinner [Thu, 15 Dec 2011 20:42:03 +0000 (21:42 +0100)]
Issue #13545: Fix platform.libc_version() is the SO version is missing
Antoine Pitrou [Thu, 15 Dec 2011 15:25:34 +0000 (16:25 +0100)]
Issue #13597: Improve documentation of standard streams.
Antoine Pitrou [Thu, 15 Dec 2011 13:15:31 +0000 (14:15 +0100)]
Fix the fix for issue #12149: it was incorrect, although it had the side
effect of appearing to resolve the issue. Thanks to Mark Shannon for
noticing.
Meador Inge [Thu, 15 Dec 2011 04:37:48 +0000 (22:37 -0600)]
Issue #13591: Moving the NEWS line to the right release.
Meador Inge [Thu, 15 Dec 2011 04:23:46 +0000 (22:23 -0600)]
Issue #13591: import_module potentially imports a module twice.
Ned Deily [Wed, 14 Dec 2011 23:06:50 +0000 (15:06 -0800)]
Issue #4625: add NEWS entry.
Ned Deily [Wed, 14 Dec 2011 22:58:24 +0000 (14:58 -0800)]
Issue #4625: If IDLE cannot write to its recent file or breakpoint
files, display a message popup and continue rather than crash.
(original patch by Roger Serwy)
Charles-François Natali [Wed, 14 Dec 2011 18:28:56 +0000 (19:28 +0100)]
Issue #13453: Fix a race condition in test_poplib.
Charles-François Natali [Wed, 14 Dec 2011 17:39:09 +0000 (18:39 +0100)]
Issue #4028: Make multiprocessing build on SunOS.
Alexandre Vassalotti [Tue, 13 Dec 2011 18:08:09 +0000 (13:08 -0500)]
Issue #13505: Make pickling of bytes object compatible with Python 2.
Initial patch by sbt.
Ezio Melotti [Tue, 13 Dec 2011 13:49:22 +0000 (15:49 +0200)]
#6570: clarify tutorial section about keyword arguments.
Ezio Melotti [Tue, 13 Dec 2011 13:36:19 +0000 (15:36 +0200)]
#13549: improve tutorial section about listcomps.
Benjamin Peterson [Sat, 10 Dec 2011 17:44:25 +0000 (12:44 -0500)]
we're always going to have gc
Benjamin Peterson [Sat, 10 Dec 2011 17:31:42 +0000 (12:31 -0500)]
you can't get resource.error if you can't import resource
Charles-François Natali [Sat, 10 Dec 2011 12:16:44 +0000 (13:16 +0100)]
Issue #13453: Catch EAI_FAIL in support.transient_internet.
Lars Gustäbel [Sat, 10 Dec 2011 11:45:45 +0000 (12:45 +0100)]
Fix doc typo.
Florent Xicluna [Fri, 9 Dec 2011 22:41:21 +0000 (23:41 +0100)]
Remove obsolete py3k comment.
Florent Xicluna [Fri, 9 Dec 2011 22:41:19 +0000 (23:41 +0100)]
Fix docstring typo.
Antoine Pitrou [Fri, 9 Dec 2011 22:10:31 +0000 (23:10 +0100)]
Issue #13528: rework the performance question in the programming FAQ
Victor Stinner [Fri, 9 Dec 2011 19:19:24 +0000 (20:19 +0100)]
Issue #5905: time.strftime() is now using the locale encoding, instead of
UTF-8, if the wcsftime() function is not available.
Stefan Krah [Thu, 8 Dec 2011 22:25:15 +0000 (23:25 +0100)]
Issue #13547: clean Lib/_sysconfigdata.py and Modules/_testembed
Stefan Krah [Thu, 8 Dec 2011 21:20:31 +0000 (22:20 +0100)]
Issue #11149: Also enable -fwrapv if $CC is a full path
or has a trailing version number.
Victor Stinner [Wed, 7 Dec 2011 23:32:51 +0000 (00:32 +0100)]
Issue #11886: workaround an OS bug (time zone data) in test_time
Australian Eastern Standard Time (UTC+10) is called "EST" (as Eastern Standard
Time, UTC-5) instead of "AEST" on some operating systems (e.g. FreeBSD), which
is wrong. See for example this bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810
Ezio Melotti [Wed, 7 Dec 2011 22:02:00 +0000 (00:02 +0200)]
#13531: add a test for defaultdict with a non-callable arg. Patch by Mike Cheng.
Ned Deily [Wed, 7 Dec 2011 09:08:35 +0000 (01:08 -0800)]
Issue #8641: Update IDLE 3 syntax coloring to recognize b".." and not u"..".
(Patch by Tal Einat)
Jesus Cea [Tue, 6 Dec 2011 19:46:57 +0000 (20:46 +0100)]
Close #13500: Hitting EOF gets cmd.py into a infinite EOF on return loop
Lars Gustäbel [Tue, 6 Dec 2011 11:56:38 +0000 (12:56 +0100)]
Correctly detect bzip2 compressed streams with blocksizes other than 900k.
Barry Warsaw [Mon, 5 Dec 2011 21:45:02 +0000 (16:45 -0500)]
- Issue #11147: Fix an unused argument in _Py_ANNOTATE_MEMORY_ORDER. (Fix
given by Campbell Barton).
Antoine Pitrou [Mon, 5 Dec 2011 00:46:35 +0000 (01:46 +0100)]
s/SOCKSTREAM/TCP/
Antoine Pitrou [Mon, 5 Dec 2011 00:43:32 +0000 (01:43 +0100)]
Reword IPC section
Antoine Pitrou [Mon, 5 Dec 2011 00:37:34 +0000 (01:37 +0100)]
Use www.python.org instead of a hostname pointing to a parked (or squatted) domain.
Also, reformat a bit.
Antoine Pitrou [Mon, 5 Dec 2011 00:32:29 +0000 (01:32 +0100)]
Remove the outdated notion that multithreading doesn't work well on Unices.
Antoine Pitrou [Mon, 5 Dec 2011 00:21:46 +0000 (01:21 +0100)]
Remove reference to the base64 encoding.
Antoine Pitrou [Mon, 5 Dec 2011 00:05:32 +0000 (01:05 +0100)]
The functional module hasn't been maintained since 2006 and doesn't work with Python 3.
Remove section about it from the functional programming FAQ.
Antoine Pitrou [Sun, 4 Dec 2011 23:41:19 +0000 (00:41 +0100)]
Remove obsolete references to bsddb
Antoine Pitrou [Sun, 4 Dec 2011 22:56:30 +0000 (23:56 +0100)]
Issue #13527: remove mention of Python megawidgets and Tkinter3000 WCK
from the doc. These two projects appear dead.
Georg Brandl [Sun, 4 Dec 2011 10:51:21 +0000 (11:51 +0100)]
Fix typo.
Antoine Pitrou [Sat, 3 Dec 2011 22:08:57 +0000 (23:08 +0100)]
Streamline mention of sorted()
Antoine Pitrou [Sat, 3 Dec 2011 22:06:50 +0000 (23:06 +0100)]
Break down and refine memory management question
Antoine Pitrou [Sat, 3 Dec 2011 21:56:02 +0000 (22:56 +0100)]
Reformulate answer, and remove off-topic discussion of bytecode in a question about compiling to C.
Antoine Pitrou [Sat, 3 Dec 2011 21:39:13 +0000 (22:39 +0100)]
Fix compatibility statement.
Antoine Pitrou [Sat, 3 Dec 2011 21:37:14 +0000 (22:37 +0100)]
Remove outdated question (the bsddb module isn't included anymore)
Antoine Pitrou [Sat, 3 Dec 2011 21:35:31 +0000 (22:35 +0100)]
Refine FAQ entry for catching stdout
Antoine Pitrou [Sat, 3 Dec 2011 21:30:19 +0000 (22:30 +0100)]
Advocate PyTuple_Pack instead of manual building of tuples
Antoine Pitrou [Sat, 3 Dec 2011 21:19:55 +0000 (22:19 +0100)]
Remove outdate FAQ content
Antoine Pitrou [Sat, 3 Dec 2011 21:11:11 +0000 (22:11 +0100)]
Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container.
Antoine Pitrou [Sat, 3 Dec 2011 20:21:36 +0000 (21:21 +0100)]
Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3.
Antoine Pitrou [Sat, 3 Dec 2011 20:07:01 +0000 (21:07 +0100)]
Mention PySide in the "other GUIs" page.
Antoine Pitrou [Sat, 3 Dec 2011 19:59:24 +0000 (20:59 +0100)]
Mention the new GTK+ 3 bindings.
Meador Inge [Sat, 3 Dec 2011 18:29:54 +0000 (12:29 -0600)]
Issue #13513: IOBase docs incorrectly link to the readline module
Jason R. Coombs [Mon, 7 Nov 2011 15:50:32 +0000 (10:50 -0500)]
Issue #13211: Add .reason attribute to HTTPError to implement parent class (URLError) interface.
Jason R. Coombs [Sat, 3 Dec 2011 13:24:21 +0000 (08:24 -0500)]
Issue #12666: Added section about map changes.
Jason R. Coombs [Mon, 1 Aug 2011 21:51:34 +0000 (17:51 -0400)]
Issue #12666: Clarifying changes in map for Python 3
Petri Lehtinen [Fri, 2 Dec 2011 19:24:14 +0000 (21:24 +0200)]
Issue #13439: Fix many errors in turtle docstrings.
Ezio Melotti [Fri, 2 Dec 2011 17:47:24 +0000 (19:47 +0200)]
#13494: s/cast/convert/. Also add a link.
Ezio Melotti [Fri, 2 Dec 2011 17:28:36 +0000 (19:28 +0200)]
#13499: fix example adding >>> before the comments.
Ezio Melotti [Fri, 2 Dec 2011 16:22:52 +0000 (18:22 +0200)]
#8414: add more tests for "assert". Initial patch by Gregory Nofi.
Antoine Pitrou [Wed, 30 Nov 2011 20:19:21 +0000 (21:19 +0100)]
Issue #
1040439 : better document how to compile and link an embedded Python interpreter.
Still lacks docs for Windows (anyone?).
Éric Araujo [Tue, 29 Nov 2011 15:58:53 +0000 (16:58 +0100)]
Fix inspect.getmodule to use a copy of sys.modules for iteration (#13487).
This fixes a regression compared to 2.x, where sys.modules.items()
returns a copy, as indicated by a comment in the source. Diagnosis and
patch by Erik Tollerud.
Éric Araujo [Tue, 29 Nov 2011 15:46:38 +0000 (16:46 +0100)]
Mark up constants in sockets docs as such
Éric Araujo [Tue, 29 Nov 2011 15:45:34 +0000 (16:45 +0100)]
Fix instructions on how to rebuild some modules
Éric Araujo [Tue, 29 Nov 2011 15:45:07 +0000 (16:45 +0100)]
Add a regrtest cleanup check for shutil registries
Éric Araujo [Tue, 29 Nov 2011 15:36:17 +0000 (16:36 +0100)]
Fix last remaining references to ex-devguide
Éric Araujo [Tue, 29 Nov 2011 15:34:58 +0000 (16:34 +0100)]
Fix typo (#13467)
Victor Stinner [Mon, 28 Nov 2011 23:03:50 +0000 (00:03 +0100)]
Fix curses module for strict SysV implementation (without has_key function)
Antoine Pitrou [Mon, 28 Nov 2011 20:14:46 +0000 (21:14 +0100)]
Fix resource warning in test_xmlrpc_net
Antoine Pitrou [Mon, 28 Nov 2011 20:12:24 +0000 (21:12 +0100)]
Issue #13434: skip the time.xmlrpc.com test, and reenable the buildbot test.
Antoine Pitrou [Mon, 28 Nov 2011 18:08:36 +0000 (19:08 +0100)]
Issue #7111: Python can now be run without a stdin, stdout or stderr stream.
It was already the case with Python 2. However, the corresponding
sys module entries are now set to None (instead of an unusable file object).
Meador Inge [Mon, 28 Nov 2011 15:27:32 +0000 (09:27 -0600)]
Issue #12618: py_compile cannot create files in current directory
Initial patch by Sjoerd de Vries.
Charles-François Natali [Sun, 27 Nov 2011 11:49:27 +0000 (12:49 +0100)]
Issue #13415: Skip test_os.test_unset_error on FreeBSD and OS X.
Charles-François Natali [Sun, 27 Nov 2011 11:41:06 +0000 (12:41 +0100)]
Issue #13415: Test in configure if unsetenv() has a return value or not.
Jesus Cea [Sun, 27 Nov 2011 04:16:22 +0000 (05:16 +0100)]
Closes issue #13488: Some old preprocessors have problem with #define not in the first column