]>
granicus.if.org Git - python/log
Benjamin Peterson [Sun, 14 Aug 2016 01:33:33 +0000 (18:33 -0700)]
fix possible integer overflow in binascii.b2a_qp (closes #27760)
Reported by Thomas E. Hybel
Benjamin Peterson [Sun, 14 Aug 2016 01:15:28 +0000 (18:15 -0700)]
do not allow reading negative values with getstr()
Benjamin Peterson [Sun, 14 Aug 2016 00:17:06 +0000 (17:17 -0700)]
check for overflow in join_append_data (closes #27758)
Reported by Thomas E. Hybel
Benjamin Peterson [Sat, 13 Aug 2016 23:47:25 +0000 (16:47 -0700)]
fix possible overflow in encode_basestring_ascii (#23369)
R David Murray [Sat, 13 Aug 2016 18:46:23 +0000 (14:46 -0400)]
#27753: fix typo (name->named).
Raymond Hettinger [Sat, 13 Aug 2016 18:10:23 +0000 (11:10 -0700)]
Issue #27720: Fix error in eng_to_decimal docs and add examples from the specification.
Terry Jan Reedy [Wed, 10 Aug 2016 23:41:39 +0000 (19:41 -0400)]
Issue #27714: For IDLE's test_textview, backport 3.x subclass with mocks
instead of overriding methods with mocks in original class and module.
This makes the 2.7 test_textview nearly identical to the 3.5/.6 test.
Martin Panter [Wed, 10 Aug 2016 05:25:16 +0000 (05:25 +0000)]
Correct misspellings of ISO-8859
Zachary Ware [Tue, 9 Aug 2016 22:28:33 +0000 (17:28 -0500)]
Issue #27205: Fix doctests in Doc/library/collections.rst
Zachary Ware [Tue, 9 Aug 2016 22:03:32 +0000 (17:03 -0500)]
Issue #27204: Fix doctests in Doc/howto
Initial patch by Jelle Zijlstra.
Vinay Sajip [Tue, 9 Aug 2016 13:57:03 +0000 (14:57 +0100)]
Issue #21999: Handled empty strings correctly when in POSIX mode.
Vinay Sajip [Fri, 5 Aug 2016 20:10:26 +0000 (21:10 +0100)]
Issue #20160: Handled passing of large structs to callbacks correctly.
Martin Panter [Thu, 28 Jul 2016 02:37:04 +0000 (02:37 +0000)]
Spelling and grammar fixes in code comments and documentation
Martin Panter [Tue, 26 Jul 2016 09:18:21 +0000 (11:18 +0200)]
Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
Benjamin Peterson [Thu, 4 Aug 2016 05:01:32 +0000 (22:01 -0700)]
https link to the bug tracker (closes #27670)
Martin Panter [Fri, 29 Jul 2016 05:52:32 +0000 (05:52 +0000)]
Issue #27641: Comment out regeneration rules when cross compiling
Donald Stufft [Wed, 3 Aug 2016 22:58:12 +0000 (18:58 -0400)]
Switch upload.pypi.io to upload.pypi.org
Stefan Krah [Wed, 3 Aug 2016 09:23:31 +0000 (11:23 +0200)]
Issue #20767: Fix -R option for FreeBSD/clang.
Senthil Kumaran [Sat, 30 Jul 2016 12:49:53 +0000 (05:49 -0700)]
Prevent HTTPoxy attack (CVE-2016-
1000110 )
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue reported and patch contributed by Rémi Rampin.
Martin Panter [Thu, 28 Jul 2016 01:11:04 +0000 (01:11 +0000)]
Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
Martin Panter [Thu, 28 Jul 2016 03:04:04 +0000 (03:04 +0000)]
Issue #23943: Fix typos. Patch by Piotr Kasprzyk.
Martin Panter [Thu, 28 Jul 2016 01:28:27 +0000 (01:28 +0000)]
Issue #27490: Do not build pgen when cross-compiling
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.
Patch by Thomas Perl.
Victor Stinner [Wed, 27 Jul 2016 14:58:47 +0000 (16:58 +0200)]
ctypes: fix CThunkObject_new()
* Initialize restype and flags fields to fix a crash when Python runs on a
read-only file system
* Use Py_ssize_t type rather than int for the "i" iterator variable
* Reorder assignements to be able to more easily check if all fields are
initialized
Issue #11048. Initial patch written by Marcin Bachry.
Martin Panter [Mon, 25 Jul 2016 02:30:05 +0000 (02:30 +0000)]
Issue #27581: Don’t rely on overflow wrapping in PySequence_Tuple()
Patch by Xiang Zhang.
Martin Panter [Sat, 23 Jul 2016 04:22:09 +0000 (04:22 +0000)]
Issue #27130: Fix handling of buffers exceeding (U)INT_MAX in “zlib” module
Ported from patches by Xiang Zhang, Nadeem Vawda, and myself.
Zachary Ware [Tue, 19 Jul 2016 21:41:20 +0000 (16:41 -0500)]
Issue #25393: Fix probable copy/paste error in resource docs
Patch by Alakshendra Yadav.
Martin Panter [Tue, 19 Jul 2016 02:26:38 +0000 (02:26 +0000)]
Issue #27528: Document and test warning messages must match at beginning
Martin Panter [Mon, 18 Jul 2016 07:53:13 +0000 (07:53 +0000)]
Issue #27507: Check for integer overflow in bytearray.extend()
Patch by Xiang Zhang.
Benjamin Peterson [Fri, 15 Jul 2016 05:00:03 +0000 (22:00 -0700)]
make too many nested blocks be a SyntaxError instead of a SystemError (closes #27514)
Patch by Ammar Askar.
Martin Panter [Thu, 14 Jul 2016 01:31:46 +0000 (01:31 +0000)]
Issue #27369: Don’t test error message detail that changed in Expat 2.2.0
Serhiy Storchaka [Tue, 12 Jul 2016 12:46:57 +0000 (15:46 +0300)]
Issue #27473: Fixed possible integer overflow in str, unicode and bytearray
concatenations and repetitions. Based on patch by Xiang Zhang.
Martin Panter [Mon, 11 Jul 2016 07:51:37 +0000 (07:51 +0000)]
English spelling and grammar fixes
Martin Panter [Mon, 2 Nov 2015 03:37:02 +0000 (03:37 +0000)]
Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
Martin Panter [Mon, 11 Jul 2016 00:17:13 +0000 (00:17 +0000)]
Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOF
Senthil Kumaran [Sun, 10 Jul 2016 15:34:21 +0000 (08:34 -0700)]
[port to 2.7] - Issue #27466: Change time format returned by
http.cookie.time2netscape, confirming the netscape cookie format.
Benjamin Peterson [Thu, 7 Jul 2016 07:24:26 +0000 (00:24 -0700)]
initialize variable to appease gcc
Benjamin Peterson [Thu, 7 Jul 2016 07:02:31 +0000 (00:02 -0700)]
assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes #24557)
Benjamin Peterson [Thu, 7 Jul 2016 06:37:02 +0000 (23:37 -0700)]
reduce marshal stack size in debug mode on windows (closes #27019)
Benjamin Peterson [Thu, 7 Jul 2016 06:26:32 +0000 (23:26 -0700)]
fix refleaks in PyDict_SetItem error cases (closes #27248)
Donald Stufft [Wed, 6 Jul 2016 21:39:23 +0000 (17:39 -0400)]
Switch to the new upload url for PyPI
Terry Jan Reedy [Wed, 6 Jul 2016 00:09:45 +0000 (20:09 -0400)]
Issue #27452: add line counter and crc to IDLE configHandler test dump.
Serhiy Storchaka [Sun, 3 Jul 2016 07:53:39 +0000 (10:53 +0300)]
Fixed a test for issue23908 with C locale.
Serhiy Storchaka [Fri, 1 Jul 2016 20:34:44 +0000 (23:34 +0300)]
Issue #23908: os functions, open() and the io.FileIO constructor now reject
unicode paths with embedded null character on Windows instead of silently
truncate them.
Serhiy Storchaka [Thu, 30 Jun 2016 10:58:58 +0000 (13:58 +0300)]
Issue #4945: Improved the documenting of boolean arguments in the json module.
Based on patch by Gabriel Genellina.
Victor Stinner [Thu, 30 Jun 2016 09:50:23 +0000 (11:50 +0200)]
Issue #27416: clarify copy doc
Patch written by R. David Murray.
Steve Dower [Mon, 27 Jun 2016 16:54:03 +0000 (09:54 -0700)]
Adds batch file for building nuget package, and includes libs folder
Terry Jan Reedy [Sun, 26 Jun 2016 22:20:14 +0000 (18:20 -0400)]
Update NEWS and idlelib NEWS.text.
Serhiy Storchaka [Sun, 26 Jun 2016 14:41:14 +0000 (17:41 +0300)]
Issue #22115: Fixed tracing Tkinter variables.
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
Benjamin Peterson [Sat, 25 Jun 2016 21:04:38 +0000 (14:04 -0700)]
post 2.7.12 version
Benjamin Peterson [Sat, 25 Jun 2016 21:04:11 +0000 (14:04 -0700)]
merge 2.7.12 release branch
Benjamin Peterson [Sat, 25 Jun 2016 21:03:27 +0000 (14:03 -0700)]
Added tag v2.7.12 for changeset
d33e0cf91556
Benjamin Peterson [Sat, 25 Jun 2016 21:03:21 +0000 (14:03 -0700)]
2.7.12 final
Steve Dower [Fri, 24 Jun 2016 18:39:57 +0000 (11:39 -0700)]
Adds scripts for building nuget packages.
Serhiy Storchaka [Fri, 24 Jun 2016 05:38:59 +0000 (08:38 +0300)]
array.buffer_info() should return a length as int, not long, for compatibility.
Terry Jan Reedy [Thu, 23 Jun 2016 22:07:46 +0000 (18:07 -0400)]
Issue #27365: Add blank lines. to 2.7 test_editmenu
Serhiy Storchaka [Thu, 23 Jun 2016 21:00:32 +0000 (00:00 +0300)]
Fixed integer overflow and handled MemoryError in array.buffer_info().
Martin Panter [Thu, 23 Jun 2016 00:53:05 +0000 (00:53 +0000)]
Issue #27370: Use t for an iterable in mutable sequence ops
Senthil Kumaran [Wed, 22 Jun 2016 07:56:22 +0000 (00:56 -0700)]
Fix the urllib.parse.urljoin docs. Reported by Bo Bayles in docs list.
Benjamin Peterson [Wed, 22 Jun 2016 06:13:33 +0000 (23:13 -0700)]
merge 2.7.12 release branch
Benjamin Peterson [Wed, 22 Jun 2016 06:12:54 +0000 (23:12 -0700)]
fix idle about dialog #27365
Martin Panter [Wed, 22 Jun 2016 02:46:33 +0000 (02:46 +0000)]
Issue #22463: Cure unused function warnings on AIX
Martin Panter [Wed, 22 Jun 2016 02:04:38 +0000 (02:04 +0000)]
Issue #22463: Correct #endif placement; patch by Senthil Kumaran
Martin Panter [Tue, 21 Jun 2016 23:58:05 +0000 (23:58 +0000)]
Issue #22463: Backport compiler warning fixes and workarounds
* Set but unused variable in Parser/pgen.c in non-debug builds. Patch by
Christian Heimes.
* Unused static function in Modules/readline.c. Patch by Georg Brandl.
* main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith.
* Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett
Cannon.
* Expression result unused in PyObject_INIT macro expansions. Based on
patches by Christian Heimes.
* Load expat_config.h and therefore pyconfig.h before C stdlib headers are
loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE
redefined'. Extracted from patch by Christian Heimes.
Martin Panter [Mon, 20 Jun 2016 07:52:50 +0000 (07:52 +0000)]
Fix English spelling and grammar errors
Serhiy Storchaka [Sat, 18 Jun 2016 19:08:49 +0000 (22:08 +0300)]
Issue #27294: Numerical state in the repr for Tkinter event objects is now
represented as a compination of known flags.
Martin Panter [Sat, 18 Jun 2016 03:57:31 +0000 (03:57 +0000)]
Issue #24314: Add links for general attributes like __name__, __dict__
Zachary Ware [Wed, 15 Jun 2016 22:12:38 +0000 (17:12 -0500)]
Issue #26930: Update Windows build to OpenSSL 1.0.2h
Benjamin Peterson [Sat, 11 Jun 2016 21:46:35 +0000 (14:46 -0700)]
Added tag v2.7.12rc1 for changeset
13912cd1e7e8
Benjamin Peterson [Sat, 11 Jun 2016 21:46:26 +0000 (14:46 -0700)]
2.7.12 release candidate 1
Benjamin Peterson [Sat, 11 Jun 2016 21:42:05 +0000 (14:42 -0700)]
update pydoc topics
Benjamin Peterson [Sat, 11 Jun 2016 20:28:56 +0000 (13:28 -0700)]
upgrade expt to 2.1.1 (closes #26556)
Terry Jan Reedy [Sat, 11 Jun 2016 20:26:10 +0000 (16:26 -0400)]
Issue #5124: For 2.7, move requires('gui') from module level to setUpClass.
Benjamin Peterson [Sat, 11 Jun 2016 20:16:42 +0000 (13:16 -0700)]
raise an error when STARTTLS fails
Terry Jan Reedy [Sat, 11 Jun 2016 08:31:18 +0000 (04:31 -0400)]
Issue #5124: NEWS entries.
Terry Jan Reedy [Sat, 11 Jun 2016 06:06:18 +0000 (02:06 -0400)]
Issue #5124: Paste with selection should always replace.
This is how paste work on Windows, Mac, modern Linux apps, and ttk widgets.
The exception was X11 tk widgets. Original patch by Serhiy Storchake.
doko@ubuntu.com [Fri, 10 Jun 2016 16:22:25 +0000 (18:22 +0200)]
- Issue #17500, and https://github.com/python/pythondotorg/issues/945: Remove
unused and outdated icons.
Tommy Beadle [Thu, 2 Jun 2016 19:41:20 +0000 (15:41 -0400)]
Issue #24617: Add comment for os.mkdir about mode quirks
Martin Panter [Fri, 10 Jun 2016 08:07:11 +0000 (08:07 +0000)]
Fix typo in comment
Martin Panter [Fri, 3 Jun 2016 05:59:20 +0000 (05:59 +0000)]
Issue #20699: Document that “io” methods should accept memoryview
This matches the usage by BufferedReader, BufferedWriter, etc. Also document
and test that the write() methods should only access their argument before
they return.
Victor Stinner [Thu, 16 Oct 2014 07:42:45 +0000 (09:42 +0200)]
Issue #22636: Avoid using a shell in the ctypes.util module
Replace os.popen() with subprocess.Popen.
If the "gcc", "cc" or "objdump" command is not available, the code was
supposed to raise an OSError exception. But there was a bug in the code. The
shell code returns the exit code 10 if the required command is missing, and the
code tries to check for the status 10. The problem is that os.popen() doesn't
return the exit code directly, but a status which should be processed by
os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never
raised. The OSError exception was not documented and ctypes.util.find_library()
is expected to return None if the library is not found.
Based on patch by Victor Stinner.
Serhiy Storchaka [Fri, 17 Jun 2016 08:11:07 +0000 (11:11 +0300)]
ctypes: the type of b_size is Py_ssize_t.
Serhiy Storchaka [Thu, 16 Jun 2016 19:08:11 +0000 (22:08 +0300)]
Issue #27330: Fixed possible leaks in the ctypes module.
Zachary Ware [Wed, 15 Jun 2016 22:12:38 +0000 (17:12 -0500)]
Issue #26930: Update Windows build to OpenSSL 1.0.2h
Serhiy Storchaka [Wed, 15 Jun 2016 17:06:29 +0000 (20:06 +0300)]
Issue #27301: Fixed incorrect return code for error in compile.c.
Georg Brandl [Wed, 15 Jun 2016 06:57:32 +0000 (08:57 +0200)]
Docs: add html-stable autobuild variant
Martin Panter [Wed, 1 Jun 2016 09:39:46 +0000 (09:39 +0000)]
Issue #12855: Document what exactly unicode.splitlines() splits on
Also synchronize with Python 3 examples. Based on patches by Matthew Boehm
and Alexander Schrijver.
Serhiy Storchaka [Tue, 14 Jun 2016 19:52:13 +0000 (22:52 +0300)]
Issue #27238: Got rid of bare excepts in the turtle module. Original patch
by Jelle Zijlstra.
Serhiy Storchaka [Tue, 14 Jun 2016 09:46:14 +0000 (12:46 +0300)]
Issue #26386: Fixed ttk.TreeView selection operations with item id's
containing spaces.
Martin Panter [Tue, 14 Jun 2016 08:45:43 +0000 (08:45 +0000)]
Issue #16182: Backport documentation of set_pre_input_hook() availability
Terry Jan Reedy [Tue, 14 Jun 2016 04:53:18 +0000 (00:53 -0400)]
Issue #27245: IDLE: Cleanly delete custom themes and key bindings.
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted. Patch by Serhiy Storchaka.
Ned Deily [Tue, 14 Jun 2016 00:21:57 +0000 (20:21 -0400)]
Issue #27310: remove vestigial import in IDLE.app
Berker Peksag [Sun, 12 Jun 2016 13:37:57 +0000 (16:37 +0300)]
Issue #15657: Delete incorrect statement from PyMethodDef documentation
Serhiy Storchaka [Sun, 12 Jun 2016 12:45:14 +0000 (15:45 +0300)]
Issue #25455: Clean up reference loops created in tests for recursive
functools.partial objects.
Serhiy Storchaka [Sun, 12 Jun 2016 12:43:57 +0000 (15:43 +0300)]
Rename class attribute "thetype" to "partial" in functools.partial tests
for consistency with Python 3.
Serhiy Storchaka [Sun, 12 Jun 2016 12:08:57 +0000 (15:08 +0300)]
Issue #25455: Backported tests for pickling recursive functools.partial objects.
Serhiy Storchaka [Sun, 12 Jun 2016 07:06:32 +0000 (10:06 +0300)]
Issue #25455: Fixed a crash in repr of cElementTree.Element with recursive tag.
Martin Panter [Sun, 12 Jun 2016 06:14:03 +0000 (06:14 +0000)]
Fix typo in documentation
Martin Panter [Sun, 12 Jun 2016 06:07:35 +0000 (06:07 +0000)]
Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030
Martin Panter [Sun, 12 Jun 2016 05:25:16 +0000 (05:25 +0000)]
#16484: Change PYTHONDOCS to "https:", and fix links to use lowercase
Implementation by Sean Rodman; test by Kaushik Nadikuditi.
Martin Panter [Sun, 12 Jun 2016 04:38:34 +0000 (04:38 +0000)]
Issue #16484: PYTHONDOCS still uses “http:” in Python 2