]>
granicus.if.org Git - python/log
Serhiy Storchaka [Sat, 12 Sep 2015 14:47:12 +0000 (17:47 +0300)]
Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
Martin Panter [Sat, 12 Sep 2015 00:34:28 +0000 (00:34 +0000)]
Issue #16473: Fix byte transform codec documentation; test quotetabs=True
This changes the equivalent functions listed for the Base-64, hex and Quoted-
Printable codecs to reflect the functions actually used. Also mention and
test the "quotetabs" setting for Quoted-Printable encoding.
Martin Panter [Sat, 12 Sep 2015 02:20:06 +0000 (02:20 +0000)]
Remove and enable misplaced codecs tests ported from Python 3
Most of these tests are about blacklisted non-text codecs, which are not
relevant in Python 2. The only one remaining is TransformCodecTest.test_uu_
invalid().
Zachary Ware [Fri, 11 Sep 2015 15:51:47 +0000 (10:51 -0500)]
Fix grammatical error in csv docs.
Reported by Nat Dunn on docs@
Victor Stinner [Fri, 11 Sep 2015 10:42:13 +0000 (12:42 +0200)]
Issue #24684: socket.socket.getaddrinfo() now calls
PyUnicode_AsEncodedString() instead of calling the encode() method of the
host, to handle correctly custom unicode string with an encode() method which
doesn't return a byte string. The encoder of the IDNA codec is now called
directly instead of calling the encode() method of the string.
Martin Panter [Fri, 11 Sep 2015 03:58:30 +0000 (03:58 +0000)]
Issue #25030: Do not document seek() as if it accepts keyword arguments
Patch from Shiyao Ma.
Martin Panter [Fri, 11 Sep 2015 02:45:10 +0000 (02:45 +0000)]
Issue #25022: Avoid warning about unused suspicious rule
Zachary Ware [Thu, 10 Sep 2015 20:50:58 +0000 (15:50 -0500)]
Issue #25022: Add NEWS, fix docs to not mention the old example.
Zachary Ware [Thu, 10 Sep 2015 19:37:42 +0000 (14:37 -0500)]
Issue #25022: Remove PC/example_nt/
It was very much outdated, and the topic is better covered elsewhere.
Guido van Rossum [Thu, 10 Sep 2015 19:11:17 +0000 (12:11 -0700)]
Add the original author of profile.py back to the docs, at his request.
Serhiy Storchaka [Wed, 9 Sep 2015 09:18:36 +0000 (12:18 +0300)]
Don't encode unicode dirname in test_support.temp_cwd() if unicode file names
are supported by the filesystem. On Windows the encoding can convert some
characters to '?' that is not legal in file name.
Terry Jan Reedy [Wed, 9 Sep 2015 06:10:10 +0000 (02:10 -0400)]
Issue 24199: Deprecate idlelib.idlever with a warning on import.
Serhiy Storchaka [Tue, 8 Sep 2015 06:59:02 +0000 (09:59 +0300)]
Fixed tests for shutil.make_archive() with relative base_name in the case when
the path of the directory for temporary files contains symlinks.
Zachary Ware [Tue, 8 Sep 2015 06:04:01 +0000 (01:04 -0500)]
Update PCbuild/readme.txt
It now better matches 3.5+ and the new reality of 2.7's PCbuild dir.
Serhiy Storchaka [Tue, 8 Sep 2015 02:47:01 +0000 (05:47 +0300)]
Issue #24982: shutil.make_archive() with the "zip" format now adds entries
for directories (including empty directories) in ZIP file.
Added test for comparing shutil.make_archive() with the "zip" command.
Serhiy Storchaka [Mon, 7 Sep 2015 19:42:12 +0000 (22:42 +0300)]
Backported new tests for attribute setting of expat parser.
Serhiy Storchaka [Mon, 7 Sep 2015 16:58:23 +0000 (19:58 +0300)]
Issue #25018: Fixed testing shutil.make_archive() with relative base_name on
Windows. The test now makes sense on non-Windows. Added similar test for
zip format.
Serhiy Storchaka [Mon, 7 Sep 2015 10:55:25 +0000 (13:55 +0300)]
Explicitly test archive name in shutil.make_archive() tests to expose failure
details in issue25018.
Terry Jan Reedy [Mon, 7 Sep 2015 05:58:05 +0000 (01:58 -0400)]
Issue #24889: When starting Idle, force focus onto Idle window if not already
there (as when opening Idle from interactive Python on Windows).
Martin Panter [Mon, 7 Sep 2015 01:40:33 +0000 (01:40 +0000)]
Issue #23406: Clarify documentation on multiplying a sequence
Patch from Matheus Vieira Portela.
Martin Panter [Mon, 7 Sep 2015 01:18:47 +0000 (01:18 +0000)]
Issue #17849: Raise sensible exception for invalid HTTP tunnel response
Initial patch from Cory Benfield.
Serhiy Storchaka [Sun, 6 Sep 2015 15:31:23 +0000 (18:31 +0300)]
Fix, refactor and extend tests for shutil.make_archive().
Serhiy Storchaka [Sun, 6 Sep 2015 11:16:18 +0000 (14:16 +0300)]
Backport support.change_cwd() and use it in tests.
Terry Jan Reedy [Sat, 5 Sep 2015 23:13:17 +0000 (19:13 -0400)]
Issue #16180: Exit pdb if file has syntax error, instead of trapping user
in an infinite loop. Patch by Xavier de Gaye.
R David Murray [Fri, 4 Sep 2015 14:00:22 +0000 (10:00 -0400)]
#24998: fix cut and paste error in subprocess example.
Terry Jan Reedy [Fri, 4 Sep 2015 08:37:02 +0000 (04:37 -0400)]
Issue #24745: Prevent IDLE initialization crash with Tk 8.4; patch by Ned Deily.
Zachary Ware [Fri, 4 Sep 2015 06:08:07 +0000 (01:08 -0500)]
Issue #24986: Save some bandwidth from svn.python.org
Don't download sources that won't be used.
Zachary Ware [Fri, 4 Sep 2015 04:27:05 +0000 (23:27 -0500)]
Issue #24986: Allow building Python without external libraries on Windows
This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e'
is not supplied, no attempt will be made to build extension modules that
require external libraries, even if the external libraries are present.
Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is
one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules
(if '-e' is given).
Zachary Ware [Fri, 4 Sep 2015 04:37:18 +0000 (23:37 -0500)]
Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 7 tests by name through
Tools\buildbot\test.bat
Senthil Kumaran [Thu, 3 Sep 2015 09:50:51 +0000 (02:50 -0700)]
merge heads.
Senthil Kumaran [Thu, 3 Sep 2015 09:39:57 +0000 (02:39 -0700)]
Remove unused imports in test_wsgiref.py
Victor Stinner [Thu, 3 Sep 2015 08:46:17 +0000 (10:46 +0200)]
Issue #23375: Fix test_py3kwarn for modules implemented in C
Don't check if importing a module emits a DeprecationWarning if the module is
implemented in C and the module is already loaded.
Victor Stinner [Thu, 3 Sep 2015 08:17:28 +0000 (10:17 +0200)]
python-gdb.py: enhance py-bt command
* Add py-bt-full command
* py-bt now gives an output similar to a regular Python traceback
* py-bt indicates:
- if the garbage collector is running
- if the thread is waiting for the GIL
- detect PyCFunction_Call to get the name of the builtin function
Victor Stinner [Thu, 3 Sep 2015 07:51:59 +0000 (09:51 +0200)]
test_gdb: enhance regex used to parse the GDB version
Terry Jan Reedy [Thu, 3 Sep 2015 02:07:31 +0000 (22:07 -0400)]
Issue #21192: Change 'RUN' back to 'RESTART' when running editor file.
Zachary Ware [Wed, 2 Sep 2015 18:21:19 +0000 (13:21 -0500)]
Turn 'rem' comments into a real usage message in PCbuild/build.bat
Also fixes quoting to match 3.5+
Raymond Hettinger [Tue, 1 Sep 2015 09:20:44 +0000 (02:20 -0700)]
Improve tutorial suggestion for looping techniques
Martin Panter [Mon, 31 Aug 2015 03:40:59 +0000 (03:40 +0000)]
Issue #24952: Clarify default argument of stack_size() in threading, thread
Patch from Mattip.
Raymond Hettinger [Sun, 30 Aug 2015 21:48:42 +0000 (14:48 -0700)]
Make an example a little clearer
Zachary Ware [Sun, 30 Aug 2015 03:25:04 +0000 (22:25 -0500)]
Issue #24962: Remove space from filename
Zachary Ware [Sat, 29 Aug 2015 04:52:31 +0000 (23:52 -0500)]
Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Terry Jan Reedy [Thu, 27 Aug 2015 17:01:45 +0000 (13:01 -0400)]
Issue #24790: correct typo noticed by Eric Smith
Terry Jan Reedy [Thu, 27 Aug 2015 03:37:09 +0000 (23:37 -0400)]
Issue #24790: Restore unused function.
Terry Jan Reedy [Thu, 27 Aug 2015 03:13:16 +0000 (23:13 -0400)]
Issue #24782: In Idle extension config dialog, replace tabs with sorted list.
Patch by Mark Roseman.
Donald Stufft [Mon, 24 Aug 2015 20:17:13 +0000 (16:17 -0400)]
Update pip to 7.1.2 and setuptools to 18.2
R David Murray [Mon, 24 Aug 2015 16:50:50 +0000 (12:50 -0400)]
#24926: Fix typo in example.
Robert Collins [Mon, 24 Aug 2015 00:10:23 +0000 (12:10 +1200)]
Merge 2.7 heads.
Robert Collins [Mon, 24 Aug 2015 00:06:18 +0000 (12:06 +1200)]
Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
Benjamin Peterson [Thu, 20 Aug 2015 03:38:39 +0000 (20:38 -0700)]
remove tabs from ceval.c (closes #24895)
Terry Jan Reedy [Tue, 18 Aug 2015 17:26:45 +0000 (13:26 -0400)]
Issue #24790: Remove extraneous code (which also create 2 & 3 conflicts).
Ned Deily [Tue, 18 Aug 2015 02:10:47 +0000 (22:10 -0400)]
Issue #24079: Improve description of the text and tail attributes for
ElementTree Element objects. Initial patch by Martin Panter.
Terry Jan Reedy [Mon, 17 Aug 2015 03:22:32 +0000 (23:22 -0400)]
Entries for idlelib/NEWS.txt
Terry Jan Reedy [Mon, 17 Aug 2015 02:11:43 +0000 (22:11 -0400)]
Idle NEWS entries.
Terry Jan Reedy [Mon, 17 Aug 2015 01:54:35 +0000 (21:54 -0400)]
Issue #23672: ACKS
Terry Jan Reedy [Fri, 14 Aug 2015 20:59:36 +0000 (16:59 -0400)]
Issue #24833: Add attribute reference needed for 3.x, but optional for 2.7,
to keep synchronized.
Benjamin Peterson [Fri, 14 Aug 2015 04:52:56 +0000 (21:52 -0700)]
add missing NULL checks to get_coding_spec (closes #24854)
R David Murray [Thu, 13 Aug 2015 13:48:35 +0000 (09:48 -0400)]
#21167: Fix definition of NAN when ICC used without -fp-model strict.
Patch from Chris Hogan of Intel, reviewed by Mark Dickinson.
Serhiy Storchaka [Sun, 9 Aug 2015 10:07:06 +0000 (13:07 +0300)]
Fixed doubled spaces in Misc/NEWS.
Zachary Ware [Sun, 9 Aug 2015 03:01:20 +0000 (22:01 -0500)]
Issue #24751: Fix running regrtest with '-w' flag in case of test failures.
Also fixes reporting of tests that change environment when there are no test
failures.
Robert Collins [Thu, 6 Aug 2015 09:08:44 +0000 (21:08 +1200)]
Issue #24531: Document that encoding lines cannot follow non-comment lines.
Patch from Terry Reedy
Zachary Ware [Wed, 5 Aug 2015 02:53:21 +0000 (21:53 -0500)]
Issue #24751: When running regrtest with '-w', don't fail if re-run succeeds.
Gregory P. Smith [Tue, 4 Aug 2015 23:29:00 +0000 (16:29 -0700)]
Don't left shift negative values. Use an unsigned value instead to avoid
undefined behavior.
Robert Collins [Tue, 4 Aug 2015 20:16:41 +0000 (08:16 +1200)]
Issue #20769: Improve reload() docs. Patch by Dorian Pula.
Terry Jan Reedy [Mon, 3 Aug 2015 22:34:07 +0000 (18:34 -0400)]
Issue #24759: Revert
8203fc75b3d2 .
Benjamin Peterson [Sun, 2 Aug 2015 19:15:30 +0000 (12:15 -0700)]
include fcntl.h on all *nix platforms (closes #24217)
Patch by Jeffrey Armstrong.
Serhiy Storchaka [Sun, 2 Aug 2015 12:19:04 +0000 (15:19 +0300)]
Issue #20557: Use specific asserts in io tests.
Zachary Ware [Sun, 2 Aug 2015 02:30:11 +0000 (21:30 -0500)]
Issue #23652: Make the select module compile against LSB headers.
Initial patch by Matt Frank.
Terry Jan Reedy [Sat, 1 Aug 2015 23:15:37 +0000 (19:15 -0400)]
Issue 24745: Add ACKS entry.
Terry Jan Reedy [Sat, 1 Aug 2015 22:57:27 +0000 (18:57 -0400)]
Issue 24745: Switch from Courier to platform-sensitive TkFixedFont as default
editor font. This should not affect current customized font selections.
Patch by Mark Roseman.
Terry Jan Reedy [Sat, 1 Aug 2015 20:32:27 +0000 (16:32 -0400)]
Issue #21192: acks for 2.7
Terry Jan Reedy [Sat, 1 Aug 2015 02:34:31 +0000 (22:34 -0400)]
Issue #21192: Idle Editor. When a file is run, put its name in the restart bar.
Do not print false prompts. Original patch by Adnan Umer.
Terry Jan Reedy [Fri, 31 Jul 2015 01:16:09 +0000 (21:16 -0400)]
Issue 24759: Gracefull exit Idle if ttk import fails.
Terry Jan Reedy [Thu, 30 Jul 2015 20:44:09 +0000 (16:44 -0400)]
Issue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy.
Berker Peksag [Thu, 30 Jul 2015 20:27:13 +0000 (23:27 +0300)]
Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().
Patch by Nick Weinhold.
Guido van Rossum [Thu, 30 Jul 2015 14:50:25 +0000 (16:50 +0200)]
Issue #15138: Speed up base64.urlsafe_b64* considerably (2.7 backport).
Benjamin Peterson [Thu, 30 Jul 2015 05:18:16 +0000 (22:18 -0700)]
make comment not lie about the size of SMALL_REQUEST_THRESHOLD
Robert Collins [Wed, 29 Jul 2015 18:14:32 +0000 (06:14 +1200)]
Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan.
Victor Stinner [Wed, 29 Jul 2015 12:40:27 +0000 (14:40 +0200)]
Issue #23319: Add Matthieu Gautier to Misc/ACKS
Victor Stinner [Wed, 29 Jul 2015 12:37:17 +0000 (14:37 +0200)]
Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch
written by Matthieu Gautier.
Robert Collins [Wed, 29 Jul 2015 00:48:42 +0000 (12:48 +1200)]
Issue #23254: Document how to close the TCPServer listening socket.
Patch from Martin Panter.
Zachary Ware [Tue, 28 Jul 2015 05:00:47 +0000 (00:00 -0500)]
Set a default BasePlatformToolset to allow the ICC buildbot to build.
Benjamin Peterson [Mon, 27 Jul 2015 14:47:21 +0000 (07:47 -0700)]
check return value of PyString_FromStringAndSize for NULL (closes #24734)
Patch by Pankaj Sharma.
Robert Collins [Sun, 26 Jul 2015 22:40:15 +0000 (10:40 +1200)]
Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
Serhiy Storchaka [Sun, 26 Jul 2015 06:07:53 +0000 (09:07 +0300)]
Issue #24683: Fixed a crash in _json.make_encoder() called with non-dict 1st argument.
Serhiy Storchaka [Sun, 26 Jul 2015 05:49:37 +0000 (08:49 +0300)]
Issue #24613: Calling array.fromstring() with self is no longer allowed
to prevent the use-after-free error. Patch by John Leitch.
Benjamin Peterson [Sat, 25 Jul 2015 17:20:13 +0000 (10:20 -0700)]
possible memory leak in error case (closes #24719)
Patch by Pankaj Sharma.
Benjamin Peterson [Sat, 25 Jul 2015 06:25:35 +0000 (23:25 -0700)]
proper overflow checks for mymemreplace (closes #24708)
Ned Deily [Fri, 24 Jul 2015 23:19:00 +0000 (16:19 -0700)]
Issue #24603: Update the OS X 32-bit installer build to use OpenSSL 1.0.2d.
Serhiy Storchaka [Fri, 24 Jul 2015 09:58:25 +0000 (12:58 +0300)]
Issue #24704: Fixed possible NULL pointer dereferencing in the _json module
initialization. Patch by Pankaj Sharma.
Serhiy Storchaka [Fri, 24 Jul 2015 06:02:53 +0000 (09:02 +0300)]
Issue #24620: Random.setstate() now validates the value of state last element.
Serhiy Storchaka [Fri, 24 Jul 2015 05:05:45 +0000 (08:05 +0300)]
Issue #24703: Fixed resource leak on error in bsddb.verify().
Original patch by Pankaj Sharma.
Serhiy Storchaka [Fri, 24 Jul 2015 04:44:42 +0000 (07:44 +0300)]
Initialize buf.outobj in multibyte encoder (closes issue #24702).
Patch by pankaj.s01.
Robert Collins [Wed, 22 Jul 2015 18:19:18 +0000 (06:19 +1200)]
Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
Benjamin Peterson [Wed, 22 Jul 2015 06:17:16 +0000 (23:17 -0700)]
we don't care about python 1.5.2
Zachary Ware [Wed, 22 Jul 2015 04:16:51 +0000 (23:16 -0500)]
Issue #24603: Update Windows build to use OpenSSL 1.0.2d
Zachary Ware [Wed, 22 Jul 2015 03:33:16 +0000 (22:33 -0500)]
Issue #24680: Remove random backslash. Patch by cdz.
Terry Jan Reedy [Mon, 20 Jul 2015 21:44:55 +0000 (17:44 -0400)]
Issue #20792: Expand idle_test.test_pathbowser. Tweak file.
Original patch by Saimadhav Heblikar.
Raymond Hettinger [Mon, 20 Jul 2015 07:08:09 +0000 (03:08 -0400)]
Issue #19663: Improve error message for defaultdict.
Terry Jan Reedy [Sun, 19 Jul 2015 22:32:06 +0000 (18:32 -0400)]
Issue #24671: Finish print conversion, idlelib GrepDialog and WidgetRedirector.
Steve Dower [Sun, 19 Jul 2015 04:47:51 +0000 (21:47 -0700)]
Fixes OpenSSL directory reference