]>
granicus.if.org Git - python/log
Victor Stinner [Thu, 2 Aug 2012 21:05:01 +0000 (23:05 +0200)]
Close #15534: Fix a typo in the fast search function of the string library (_s => s)
Replace _s with ptr to avoid future confusion. Add also non regression tests.
Antoine Pitrou [Thu, 2 Aug 2012 18:39:10 +0000 (20:39 +0200)]
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
Antoine Pitrou [Thu, 2 Aug 2012 18:37:12 +0000 (20:37 +0200)]
Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation code.
Patch by Philipp Hagemeister.
Nick Coghlan [Thu, 2 Aug 2012 13:03:58 +0000 (23:03 +1000)]
Issue #15502: Bring the importlib.PathFinder docs and docstring more in line with the new import system documentation, and fix various parts of the new docs that weren't quite right given PEP 420 or were otherwise a bit misleading. Also note the key terminology problem still being discussed in the issue
Nick Coghlan [Thu, 2 Aug 2012 12:02:35 +0000 (22:02 +1000)]
Clarify the import statement semantics, especially for implicit imports in the 'from X import Y' variant
Nick Coghlan [Thu, 2 Aug 2012 11:45:24 +0000 (21:45 +1000)]
Close #15519: Properly expose WindowsRegistryFinder in importlib and bring the name into line with normal import terminology. Original patch by Eric Snow
Nick Coghlan [Thu, 2 Aug 2012 11:26:03 +0000 (21:26 +1000)]
Issue #15502: Bring the importlib ABCs into line with the current state of the import protocols given PEP 420. Original patch by Eric Snow.
Eli Bendersky [Wed, 1 Aug 2012 23:56:39 +0000 (02:56 +0300)]
Issue #15321: update PyPI upload doc to say --no-raw passed to rst2html.py
Victor Stinner [Wed, 1 Aug 2012 22:05:41 +0000 (00:05 +0200)]
Cleanup findnocoding.py and pysource.py scripts (with infile/infile.close)
Victor Stinner [Wed, 1 Aug 2012 18:12:51 +0000 (20:12 +0200)]
Fix findnocoding.p and pysource.py scripts
I suppose that these scripts didn't work since Python 3.0.
Victor Stinner [Wed, 1 Aug 2012 18:03:49 +0000 (20:03 +0200)]
Issue #15441: Skip test_nonascii_abspath() of test_genericpath on Windows
if the bytes filenames cannot be encoded from the file system (ANSI) code page
Victor Stinner [Wed, 1 Aug 2012 17:45:34 +0000 (19:45 +0200)]
Issue #15463: Write a test for faulthandler truncating the name of functions
to 500 characters.
Victor Stinner [Wed, 1 Aug 2012 17:36:36 +0000 (19:36 +0200)]
Fix the user signal handler of faulthandler
Don't exit the tstate is NULL to restore the errno and chain the signal handler
if needed.
Richard Oudkerk [Wed, 1 Aug 2012 16:44:18 +0000 (17:44 +0100)]
Issue #15525: Increase timeout when TerminateProcess() fails
Antoine Pitrou [Wed, 1 Aug 2012 12:53:22 +0000 (14:53 +0200)]
Improve wording for __hash__
Antoine Pitrou [Wed, 1 Aug 2012 12:53:16 +0000 (14:53 +0200)]
Clarify that hash randomization is on by default
Martin v. Löwis [Wed, 1 Aug 2012 09:09:55 +0000 (11:09 +0200)]
Issue #8847: Merge with 3.2
Martin v. Löwis [Wed, 1 Aug 2012 09:06:53 +0000 (11:06 +0200)]
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Patch by Stefan Krah.
Martin v. Löwis [Wed, 1 Aug 2012 08:32:11 +0000 (10:32 +0200)]
Issue #8847: Disable COMDAT folding in Windows PGO builds.
Analysis by Victor Stinner. Patch by Stefan Krah.
Benjamin Peterson [Wed, 1 Aug 2012 04:50:11 +0000 (21:50 -0700)]
merge heads
Benjamin Peterson [Wed, 1 Aug 2012 04:41:56 +0000 (21:41 -0700)]
construct fields in the right order (closes #15517)
Patch from Taihyun Hwang.
Jesus Cea [Wed, 1 Aug 2012 01:57:52 +0000 (03:57 +0200)]
Closes #15499: Sleep is hardcoded in webbrowser.UnixBrowser
Barry Warsaw [Tue, 31 Jul 2012 21:52:32 +0000 (17:52 -0400)]
abc fixes.
Barry Warsaw [Tue, 31 Jul 2012 20:39:43 +0000 (16:39 -0400)]
Typo.
Barry Warsaw [Tue, 31 Jul 2012 20:10:12 +0000 (16:10 -0400)]
- Issue #15295: Reorganize and rewrite the documentation on the import system.
Barry Warsaw [Tue, 31 Jul 2012 20:03:25 +0000 (16:03 -0400)]
merge
Barry Warsaw [Tue, 31 Jul 2012 20:03:09 +0000 (16:03 -0400)]
Finally, a coherent set of terminology for all the lil' beasties involved.
Andrew Svetlov [Tue, 31 Jul 2012 16:49:38 +0000 (19:49 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
Andrew Svetlov [Tue, 31 Jul 2012 16:48:00 +0000 (19:48 +0300)]
Issue #9803: Don't close IDLE on saving if breakpoint is open.
Patch by Roger Serwy.
Eli Bendersky [Tue, 31 Jul 2012 14:25:33 +0000 (17:25 +0300)]
Issue #14814: fix some typos in howto/ipaddress.rst
Eli Bendersky [Tue, 31 Jul 2012 14:23:11 +0000 (17:23 +0300)]
Issue #14814: reorganize ipaddress documentation and document all attributes of IPv[46]Address objects
Nick Coghlan [Tue, 31 Jul 2012 11:39:42 +0000 (21:39 +1000)]
Issue #15425: Don't rely on the assumption that the current working directory is on sys.path (this will hopefully appease the XP buildbots)
Nick Coghlan [Tue, 31 Jul 2012 11:14:18 +0000 (21:14 +1000)]
Close #15486: Simplify the mechanism used to remove importlib frames from tracebacks when they just introduce irrelevant noise
Eli Bendersky [Tue, 31 Jul 2012 03:14:59 +0000 (06:14 +0300)]
Issue #15231: rephrase the last paragraph slightly
Victor Stinner [Tue, 31 Jul 2012 01:25:28 +0000 (03:25 +0200)]
Update the string limit in the faulthandler documentations
Victor Stinner [Tue, 31 Jul 2012 00:55:49 +0000 (02:55 +0200)]
Fix initialization of the faulthandler module
faulthandler requires the importlib if "-X faulthandler" option is present on
the command line, so initialize faulthandler after importlib.
Add also an unit test.
Brett Cannon [Mon, 30 Jul 2012 23:31:00 +0000 (19:31 -0400)]
Minor markup tweak.
Brett Cannon [Mon, 30 Jul 2012 22:35:17 +0000 (18:35 -0400)]
Add a versionchanged mention to __import__ in regards to negative level values.
Brett Cannon [Mon, 30 Jul 2012 21:45:54 +0000 (17:45 -0400)]
Issue #15508: Fix the docstring for __import__ to not mention negative
'level' values and set its document default value to 0.
Thanks to Arfrever Frehtes Taifersar Arahesis for filing the bug.
Barry Warsaw [Mon, 30 Jul 2012 20:57:20 +0000 (16:57 -0400)]
Another XXX.
Barry Warsaw [Mon, 30 Jul 2012 20:24:12 +0000 (16:24 -0400)]
Address substantially all of Eric Snow's comments in issue #15295, except for
those which now have additional XXX's here. I'll get to those later. :)
Barry Warsaw [Mon, 30 Jul 2012 18:34:43 +0000 (14:34 -0400)]
merge
Andrew Svetlov [Mon, 30 Jul 2012 17:01:13 +0000 (20:01 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Andrew Svetlov [Mon, 30 Jul 2012 16:59:53 +0000 (19:59 +0300)]
Issue #12288: Consider '0' and '0.0' as valid initialvalue for tkinter SimpleDialog.
Antoine Pitrou [Mon, 30 Jul 2012 11:58:42 +0000 (13:58 +0200)]
Better test for BytesIO.__sizeof__, now that the struct module supports (s)size_t.
Followup to issue #15489.
Ned Deily [Mon, 30 Jul 2012 11:20:51 +0000 (04:20 -0700)]
merge
Ned Deily [Mon, 30 Jul 2012 11:14:18 +0000 (04:14 -0700)]
null merge
Ned Deily [Mon, 30 Jul 2012 11:09:32 +0000 (04:09 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Victor Stinner [Mon, 30 Jul 2012 11:08:58 +0000 (13:08 +0200)]
Issue #15463: the faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths
Ned Deily [Mon, 30 Jul 2012 10:38:02 +0000 (03:38 -0700)]
Issue #14018: merge
Ned Deily [Mon, 30 Jul 2012 10:31:21 +0000 (03:31 -0700)]
Issue #14018: Update the OS X IDLE Tcl/Tk warning check to include
the Apple-supplied Tck/Tk versions shipped with OS X 10.7 and 10.8.
They are not as buggy as the 10.6 version but can still easily crash.
Ned Deily [Mon, 30 Jul 2012 09:35:58 +0000 (02:35 -0700)]
Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
Also add tests in the OS X installer build to ensure that the desired
dynamic linking with an optional newer Tcl/Tk in /Library actually
happens.
Ned Deily [Mon, 30 Jul 2012 09:34:03 +0000 (02:34 -0700)]
Fix invalid UTF-8 encoding in commit message.
Antoine Pitrou [Sun, 29 Jul 2012 22:01:44 +0000 (00:01 +0200)]
Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 29 Jul 2012 22:01:06 +0000 (00:01 +0200)]
Issue #15489: Add a __sizeof__ implementation for BytesIO objects.
Patch by Serhiy Storchaka.
Barry Warsaw [Sun, 29 Jul 2012 20:40:04 +0000 (16:40 -0400)]
merged
Barry Warsaw [Sun, 29 Jul 2012 20:37:33 +0000 (16:37 -0400)]
Add NEWS
Barry Warsaw [Sun, 29 Jul 2012 20:36:17 +0000 (16:36 -0400)]
Integration of importdocs from the features/pep-420 repo.
Antoine Pitrou [Sun, 29 Jul 2012 17:04:57 +0000 (19:04 +0200)]
Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 29 Jul 2012 17:02:46 +0000 (19:02 +0200)]
Issue #15487: Add a __sizeof__ implementation for buffered I/O objects.
Patch by Serhiy Storchaka.
Martin v. Löwis [Sun, 29 Jul 2012 14:38:45 +0000 (16:38 +0200)]
Issue #15467: Merge 3.2
Martin v. Löwis [Sun, 29 Jul 2012 14:33:05 +0000 (16:33 +0200)]
Issue #15467: Move helpers for __sizeof__ tests into test_support.
Patch by Serhiy Storchaka.
Nick Coghlan [Sun, 29 Jul 2012 10:30:36 +0000 (20:30 +1000)]
Close #15425: Eliminate more importlib related traceback noise
Meador Inge [Sun, 29 Jul 2012 03:32:50 +0000 (22:32 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Meador Inge [Sun, 29 Jul 2012 03:16:39 +0000 (22:16 -0500)]
Issue #15402: Simplify Struct.__sizeof__ and make tests more precise.
Martin v. Löwis [Sat, 28 Jul 2012 19:59:05 +0000 (21:59 +0200)]
Issue #15431: Drop _freeze_importlib from all build configurations,
to prevent constant regeneration of importlib.h.
Martin v. Löwis [Sat, 28 Jul 2012 19:55:20 +0000 (21:55 +0200)]
Issue #15431: Declare PyImport_FrozenModules conditionally on Unix only.
Martin v. Löwis [Sat, 28 Jul 2012 19:33:05 +0000 (21:33 +0200)]
Issue #14578: Support modules registered in the Windows registry again.
Patch by Amaury Forgeot d'Arc.
Martin v. Löwis [Sat, 28 Jul 2012 18:46:52 +0000 (20:46 +0200)]
Issue #15431: Add _freeze_importlib project to regenerate importlib.h on Windows.
Patch by Kristján Valur Jónsson.
Martin v. Löwis [Sat, 28 Jul 2012 17:51:41 +0000 (19:51 +0200)]
Commit unsaved edits.
Martin v. Löwis [Sat, 28 Jul 2012 17:44:05 +0000 (19:44 +0200)]
Issue #15466: Stop using TYPE_INT64 in marshal,
to make importlib.h (and other byte code files) equal between 32-bit
and 64-bit systems.
Richard Oudkerk [Sat, 28 Jul 2012 16:45:28 +0000 (17:45 +0100)]
Issue #
1692335 : Move initial args assignment to BaseException.__new__
to help pickling of naive subclasses.
Stefan Krah [Sat, 28 Jul 2012 12:10:02 +0000 (14:10 +0200)]
Add unused parameter to a METH_NOARGS function.
Stefan Krah [Sat, 28 Jul 2012 11:53:47 +0000 (13:53 +0200)]
Add unused parameter to a couple of METH_NOARGS functions. The previous
form is used in many places in the source tree, but was found to be incorrect
in a recent tracker discussion.
Stefan Krah [Sat, 28 Jul 2012 10:25:55 +0000 (12:25 +0200)]
Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.
Ned Deily [Sat, 28 Jul 2012 06:37:04 +0000 (23:37 -0700)]
Issue #15364: Fix test_srcdir for the installed case.
Richard Oudkerk [Fri, 27 Jul 2012 13:55:17 +0000 (14:55 +0100)]
Dummy merge.
Richard Oudkerk [Fri, 27 Jul 2012 13:19:00 +0000 (14:19 +0100)]
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.
Original patch by J Derek Wilson.
Richard Oudkerk [Fri, 27 Jul 2012 13:06:11 +0000 (14:06 +0100)]
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses.
Original patch by J Derek Wilson.
Richard Oudkerk [Fri, 27 Jul 2012 11:06:55 +0000 (12:06 +0100)]
Issue #15364: Fix sysconfig.get_config_var('srcdir') to be an absolute path.
Vinay Sajip [Fri, 27 Jul 2012 09:55:16 +0000 (10:55 +0100)]
Merged documentation update from 3.2.
Vinay Sajip [Fri, 27 Jul 2012 09:54:10 +0000 (10:54 +0100)]
Improved cookbook entry and fixed typo.
Barry Warsaw [Thu, 26 Jul 2012 22:12:07 +0000 (18:12 -0400)]
- Issue #15458: python-config gets a new option --configdir to print the
$LIBPL value.
Martin v. Löwis [Thu, 26 Jul 2012 20:23:23 +0000 (22:23 +0200)]
Issue #15456: Fix code __sizeof__ after #12399 change.
Patch by Serhiy Storchaka.
Jason R. Coombs [Thu, 26 Jul 2012 19:21:17 +0000 (15:21 -0400)]
Restored test by specifying that the symlink links to a target (currently required for Windows symlinks). See issue15093 for details.
Andrew Svetlov [Thu, 26 Jul 2012 14:16:24 +0000 (17:16 +0300)]
Issue #15041: update "see also" list in tkinter documentation.
Andrew Svetlov [Thu, 26 Jul 2012 14:02:57 +0000 (17:02 +0300)]
Issue #15041: update "see also" list in tkinter documentation.
Antoine Pitrou [Wed, 25 Jul 2012 22:47:15 +0000 (00:47 +0200)]
Issue #15320: Make iterating the list of tests thread-safe when running tests in multiprocess mode.
Patch by Chris Jerdonek.
Antoine Pitrou [Wed, 25 Jul 2012 22:45:19 +0000 (00:45 +0200)]
Issue #15320: Make iterating the list of tests thread-safe when running tests in multiprocess mode.
Patch by Chris Jerdonek.
Antoine Pitrou [Wed, 25 Jul 2012 20:40:05 +0000 (22:40 +0200)]
Mention the *limit* argument of TextIO.readline().
Antoine Pitrou [Wed, 25 Jul 2012 20:38:33 +0000 (22:38 +0200)]
Mention the *limit* argument of TextIO.readline().
Vinay Sajip [Wed, 25 Jul 2012 18:20:32 +0000 (19:20 +0100)]
Closes #15445: Merged documentation update from 3.2.
Vinay Sajip [Wed, 25 Jul 2012 18:19:25 +0000 (19:19 +0100)]
Issue #15445: Updated logging configuration documentation to highlight potential security risk posed by listen() in certain scenarios.
Martin v. Löwis [Wed, 25 Jul 2012 09:33:02 +0000 (11:33 +0200)]
merge 3.2
Martin v. Löwis [Wed, 25 Jul 2012 09:32:26 +0000 (11:32 +0200)]
Issue #7163: Propagate return value of sys.stdout.write.
Patch by Roger Serwy.
Martin v. Löwis [Wed, 25 Jul 2012 08:49:32 +0000 (10:49 +0200)]
merge 3.2
Martin v. Löwis [Wed, 25 Jul 2012 08:47:20 +0000 (10:47 +0200)]
Issue #15318: Prevent writing to sys.stdin.
Patch by Roger Serwy and myself.
Antoine Pitrou [Tue, 24 Jul 2012 19:23:53 +0000 (21:23 +0200)]
Issue #15413: os.times() had disappeared under Windows.
R David Murray [Tue, 24 Jul 2012 18:24:13 +0000 (14:24 -0400)]
#15232: make NEWS entry more accurate.
R David Murray [Tue, 24 Jul 2012 18:22:19 +0000 (14:22 -0400)]
#15232: make NEWS entry more accurate.