]>
granicus.if.org Git - python/log
Serhiy Storchaka [Wed, 30 Dec 2015 18:43:29 +0000 (20:43 +0200)]
Issue #22995: Instances of extension types with a state that aren't
subclasses of list or dict and haven't implemented any pickle-related
methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__,
or __getstate__), can no longer be pickled. Including memoryview.
Serhiy Storchaka [Sun, 27 Dec 2015 13:41:58 +0000 (15:41 +0200)]
Issue #20440: More use of Py_SETREF.
This patch is manually crafted and contains changes that couldn't be handled
automatically.
Serhiy Storchaka [Sun, 27 Dec 2015 10:38:48 +0000 (12:38 +0200)]
Issue #20440: Applied yet one patch for using Py_SETREF.
The patch is automatically generated, it replaces the code that uses Py_CLEAR.
Vinay Sajip [Sat, 26 Dec 2015 12:21:47 +0000 (12:21 +0000)]
Closes #25664: handled logger names in Unicode.
Serhiy Storchaka [Thu, 24 Dec 2015 09:51:24 +0000 (11:51 +0200)]
Issue #24103: Fixed possible use after free in ElementTree.iterparse().
Serhiy Storchaka [Thu, 24 Dec 2015 08:35:35 +0000 (10:35 +0200)]
Issue #20440: Massive replacing unsafe attribute setting code with special
macro Py_SETREF.
Zachary Ware [Mon, 21 Dec 2015 17:43:03 +0000 (11:43 -0600)]
Issue #25827: Add support for ICC to configure
Serhiy Storchaka [Sun, 20 Dec 2015 09:40:00 +0000 (11:40 +0200)]
Fixed sizeof tests for dict and type (they were passed by accident).
Added tests for dict views.
Serhiy Storchaka [Sun, 20 Dec 2015 07:36:55 +0000 (09:36 +0200)]
Create a file in SizeofTest only if needed.
Serhiy Storchaka [Sat, 19 Dec 2015 20:49:29 +0000 (22:49 +0200)]
Use correct PyGC_Head size in tests for issue #25421.
Serhiy Storchaka [Sat, 19 Dec 2015 18:07:48 +0000 (20:07 +0200)]
Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
Terry Jan Reedy [Fri, 18 Dec 2015 20:46:52 +0000 (15:46 -0500)]
Issue #25905: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION MARK.
Serhiy Storchaka [Fri, 18 Dec 2015 11:12:33 +0000 (13:12 +0200)]
Issue #25899: Fixed typo in .bzrignore.
Martin Panter [Mon, 14 Dec 2015 03:41:59 +0000 (03:41 +0000)]
Issue #22088: Port base64 character ignoring doc and test from
857d9fe60169
Martin Panter [Mon, 14 Dec 2015 02:54:40 +0000 (02:54 +0000)]
Issue #20837: Base-64 alphabet clarification from revision
1853679c6f71
R David Murray [Sun, 13 Dec 2015 23:04:14 +0000 (18:04 -0500)]
#25495: Clarify b2a_base64 documentation vis 57 bytes.
Gregory P. Smith [Sun, 13 Dec 2015 21:57:50 +0000 (13:57 -0800)]
Fixes issue #20954: _args_from_interpreter_flags used by multiprocessing
and some tests no longer behaves incorrectly in the presence of the
PYTHONHASHSEED environment variable.
Victor Stinner [Sun, 13 Dec 2015 20:25:42 +0000 (21:25 +0100)]
Issue #25696: Don't ignore errors in 'make bininstall' on creating $(LIBPC) directory
Victor Stinner [Sun, 13 Dec 2015 20:19:28 +0000 (21:19 +0100)]
Issue #25696: Fix installation of Python on UNIX with make -j9.
Martin Panter [Sat, 12 Dec 2015 06:53:34 +0000 (06:53 +0000)]
Issue #25809: Skip testing platform-dependent French thousands separator
Serhiy Storchaka [Wed, 9 Dec 2015 17:44:30 +0000 (19:44 +0200)]
Fixed possible leaks in ElementTree parser.
Zachary Ware [Wed, 9 Dec 2015 07:53:44 +0000 (01:53 -0600)]
Clarify that only *documentation* bugs should go to docs@python.org
Serhiy Storchaka [Sun, 6 Dec 2015 21:51:53 +0000 (23:51 +0200)]
Issue25814: Propagate all errors from custom XML parser handlers
in ElementTree.iterparse().
Ned Deily [Sun, 6 Dec 2015 05:00:57 +0000 (00:00 -0500)]
merge heads
Benjamin Peterson [Sun, 6 Dec 2015 04:52:43 +0000 (20:52 -0800)]
remove pointless keys() call
Ned Deily [Sun, 6 Dec 2015 04:47:34 +0000 (23:47 -0500)]
Issue #25798: Update OS X 10.5+ 32-bit-only installer to build
and link with OpenSSL 1.0.2e.
Benjamin Peterson [Sat, 5 Dec 2015 19:46:21 +0000 (11:46 -0800)]
off to 2.7.12 we go
Benjamin Peterson [Sat, 5 Dec 2015 19:45:48 +0000 (11:45 -0800)]
merge 2.7.11 branch
Benjamin Peterson [Sat, 5 Dec 2015 19:45:22 +0000 (11:45 -0800)]
Added tag v2.7.11 for changeset
6d1b6a68f775
Benjamin Peterson [Sat, 5 Dec 2015 19:45:17 +0000 (11:45 -0800)]
2.7.11 final
Benjamin Peterson [Sat, 5 Dec 2015 08:29:56 +0000 (00:29 -0800)]
make consulting save_modules O(1) rather than O(n)
Benjamin Peterson [Sat, 5 Dec 2015 08:18:11 +0000 (00:18 -0800)]
merge 2.7.11 branch
Benjamin Peterson [Sat, 5 Dec 2015 08:17:57 +0000 (00:17 -0800)]
add CVE and issue number
Martin Panter [Thu, 3 Dec 2015 01:23:10 +0000 (01:23 +0000)]
Issue #14285: Do not catch ImportError from __init__.py in runpy
Initialize package before calling get_loader() for __main__, so that we do
not incorrectly handle ImportError from __init__.py. When runpy is used from
the Python CLI, use an internal exception rather than ImportError, to avoid
catching an unexpected ImportError.
Also simplify message formatting: str() is redundant with %s.
Also fix test_dash_m_error_code_is_one() in test_cmd_line_script, which was
failing because the test package was not in the current directlry, rather
the desired ValueError.
Serhiy Storchaka [Thu, 3 Dec 2015 20:20:45 +0000 (22:20 +0200)]
Issue #6478: _strptime's regexp cache now is reset after changing timezone
with time.tzset().
Serhiy Storchaka [Thu, 3 Dec 2015 18:47:48 +0000 (20:47 +0200)]
Issue #19543: Added Py3k warning for decoding unicode.
Victor Stinner [Wed, 2 Dec 2015 13:39:37 +0000 (14:39 +0100)]
Fix test_doctest in verbose mode
Serhiy Storchaka [Mon, 30 Nov 2015 22:32:49 +0000 (00:32 +0200)]
Fixed reference leak when read truncated pickle.
Serhiy Storchaka [Mon, 30 Nov 2015 15:20:02 +0000 (17:20 +0200)]
Issue #25718: Fixed copying object with state with boolean value is false.
Serhiy Storchaka [Sun, 29 Nov 2015 18:18:27 +0000 (20:18 +0200)]
Fixed yet one syntax error in test_xpickle in Python 2.5.
Serhiy Storchaka [Sun, 29 Nov 2015 18:13:56 +0000 (20:13 +0200)]
Fixed Py3k warnings in tests for issue #24731.
Serhiy Storchaka [Sun, 29 Nov 2015 17:20:11 +0000 (19:20 +0200)]
Trying to fix test_xpickle with python 2.4 and 2.5.
Victor Stinner [Sun, 29 Nov 2015 15:33:18 +0000 (16:33 +0100)]
Issue #25742: Try to fix test_locale on Windows
Serhiy Storchaka [Sun, 29 Nov 2015 14:13:51 +0000 (16:13 +0200)]
Got rid of "with" for compatibility test_xpickle with Python 2.5.
Serhiy Storchaka [Sun, 29 Nov 2015 11:12:40 +0000 (13:12 +0200)]
Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
Victor Stinner [Fri, 27 Nov 2015 22:54:36 +0000 (23:54 +0100)]
Closes #25742: locale.setlocale() now accepts a Unicode string for its second
parameter.
Zachary Ware [Fri, 27 Nov 2015 07:21:51 +0000 (01:21 -0600)]
Issue #23914: Fix test_xpickle with python 2.4 and 2.5
Remove 'b' prefix from strings, remove unused import.
Serhiy Storchaka [Thu, 26 Nov 2015 21:48:30 +0000 (23:48 +0200)]
Issue #10131: Fixed deep copying of minidom documents. Based on patch
by Marian Ganisin.
Martin Panter [Thu, 26 Nov 2015 02:36:26 +0000 (02:36 +0000)]
Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows
Serhiy Storchaka [Thu, 26 Nov 2015 09:21:47 +0000 (11:21 +0200)]
Fixed compilation error introduced in
745fd5550bc0 .
Serhiy Storchaka [Wed, 25 Nov 2015 18:12:58 +0000 (20:12 +0200)]
Issue #19687: Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.
Serhiy Storchaka [Wed, 25 Nov 2015 16:35:33 +0000 (18:35 +0200)]
Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__. Original patch by Antoine Pitrou.
Serhiy Storchaka [Wed, 25 Nov 2015 15:19:27 +0000 (17:19 +0200)]
Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.
Serhiy Storchaka [Wed, 25 Nov 2015 14:20:04 +0000 (16:20 +0200)]
Issue #25703: Skip test_43581 if one of stdout or stderr is redirected.
Serhiy Storchaka [Wed, 25 Nov 2015 14:13:56 +0000 (16:13 +0200)]
Issue #25697: Fixed rough alphabetical order in Misc/ACKS.
Serhiy Storchaka [Wed, 25 Nov 2015 13:55:54 +0000 (15:55 +0200)]
Issue #24731: Fixed crash on converting objects with special methods
__str__, __trunc__, and __float__ returning instances of subclasses of
str, long, and float to subclasses of str, long, and float correspondingly.
Serhiy Storchaka [Wed, 25 Nov 2015 13:07:49 +0000 (15:07 +0200)]
Issue #25725: Fixed a reference leak in cPickle.loads() when unpickling
invalid data including tuple instructions.
Vinay Sajip [Tue, 24 Nov 2015 23:18:30 +0000 (23:18 +0000)]
Issue #25508: Clarify documentation on LogRecord args attribute.
Raymond Hettinger [Tue, 24 Nov 2015 05:00:45 +0000 (21:00 -0800)]
Fix non-ascii character
Raymond Hettinger [Tue, 24 Nov 2015 04:47:05 +0000 (20:47 -0800)]
Add a missing docstring
Martin Panter [Mon, 23 Nov 2015 23:50:26 +0000 (23:50 +0000)]
Issue #25663: Make rlcompleter avoid duplicate global names
Serhiy Storchaka [Mon, 23 Nov 2015 13:46:36 +0000 (15:46 +0200)]
Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error.
Serhiy Storchaka [Mon, 23 Nov 2015 13:20:43 +0000 (15:20 +0200)]
Issue #23914: Fixed SystemError raised by unpickler on broken pickle data.
Serhiy Storchaka [Mon, 23 Nov 2015 06:50:20 +0000 (08:50 +0200)]
Issue #25691: Added tests on deleting cElementTree.Element attributes.
Benjamin Peterson [Mon, 23 Nov 2015 03:05:29 +0000 (19:05 -0800)]
rm duplicate entry
Benjamin Peterson [Mon, 23 Nov 2015 03:05:14 +0000 (19:05 -0800)]
merge 2.7.11 release branch
Benjamin Peterson [Mon, 23 Nov 2015 03:04:56 +0000 (19:04 -0800)]
Issue #25624: ZipFile now always writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang.
Serhiy Storchaka [Sun, 22 Nov 2015 12:56:22 +0000 (14:56 +0200)]
Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
entries. Patch by Dingyuan Wang.
Serhiy Storchaka [Sun, 22 Nov 2015 10:31:11 +0000 (12:31 +0200)]
Issue #19687: Fixed memory leak on failed Element slice assignment.
Benjamin Peterson [Sun, 22 Nov 2015 02:39:07 +0000 (18:39 -0800)]
news section for 2.7.12
Benjamin Peterson [Sun, 22 Nov 2015 02:38:18 +0000 (18:38 -0800)]
post rc1 updates
Benjamin Peterson [Sat, 21 Nov 2015 21:38:43 +0000 (13:38 -0800)]
Added tag v2.7.11rc1 for changeset
82dd9545bd93
Benjamin Peterson [Sat, 21 Nov 2015 21:38:35 +0000 (13:38 -0800)]
bump to 2.7.11rc1
Benjamin Peterson [Sat, 21 Nov 2015 21:35:41 +0000 (13:35 -0800)]
update pydoc-topics
Terry Jan Reedy [Sat, 21 Nov 2015 18:31:00 +0000 (13:31 -0500)]
Update idlelib/NEWS.txt.
Terry Jan Reedy [Sat, 21 Nov 2015 18:18:50 +0000 (13:18 -0500)]
Misc/NEWS entries for IDLE.
Serhiy Storchaka [Sat, 21 Nov 2015 12:11:57 +0000 (14:11 +0200)]
Issue #25686: test_shutil no longer uses the distutils package for running
external archivers.
Terry Jan Reedy [Sat, 21 Nov 2015 05:04:58 +0000 (00:04 -0500)]
Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.
This prevents one-per-line RuntimeErrors.
Terry Jan Reedy [Sat, 21 Nov 2015 00:36:38 +0000 (19:36 -0500)]
Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
Serhiy Storchaka [Fri, 20 Nov 2015 19:56:21 +0000 (21:56 +0200)]
Issue #25678: Copy buffer objects to null-terminated strings.
Avoid buffer overreads when int(), long(), float(), and compile()
are passed buffer objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch backported from issue #24802 by Eryk Sun.
Terry Jan Reedy [Fri, 20 Nov 2015 17:21:40 +0000 (12:21 -0500)]
Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.
Nick Coghlan [Thu, 19 Nov 2015 02:59:39 +0000 (12:59 +1000)]
Close #10128: don't rerun __main__.py in multiprocessing
- backports issue #10845's mitigation of incompatibilities between
the multiprocessing module and directory and zipfile execution
- Multiprocessing on Windows will now automatically skip rerunning top
level __main__.py modules in spawned processes, rather than failing
with AssertionError
Martin Panter [Wed, 18 Nov 2015 00:59:17 +0000 (00:59 +0000)]
Issue #23200: Document that max_length=0 is not supported
Martin Panter [Tue, 17 Nov 2015 22:13:47 +0000 (22:13 +0000)]
Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
Martin Panter [Mon, 16 Nov 2015 23:46:22 +0000 (23:46 +0000)]
Issue #25615: Document unsorted behaviour of glob; patch by Dave Jones
Terry Jan Reedy [Mon, 16 Nov 2015 12:36:12 +0000 (07:36 -0500)]
Issue #24750: whitespace
Terry Jan Reedy [Mon, 16 Nov 2015 12:32:19 +0000 (07:32 -0500)]
Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
Benjamin Peterson [Sat, 14 Nov 2015 23:12:38 +0000 (15:12 -0800)]
rm trailing ws
Benjamin Peterson [Sat, 14 Nov 2015 23:12:18 +0000 (15:12 -0800)]
fix possible memory lea k in _get_aia_uri (closes #25578)
Serhiy Storchaka [Sat, 14 Nov 2015 13:14:29 +0000 (15:14 +0200)]
Issue #25388: Fixed tokenizer hang when processing undecodable source code
with a null byte.
Benjamin Peterson [Sat, 14 Nov 2015 08:09:22 +0000 (00:09 -0800)]
fix build with older openssl (#25569)
Martin Panter [Sat, 14 Nov 2015 00:30:46 +0000 (00:30 +0000)]
Issue #25017: Document that htmllib is superseded by module HTMLParser
Martin Panter [Fri, 13 Nov 2015 22:47:00 +0000 (22:47 +0000)]
Issue #25590: Make rlcompleter only call getattr() once per attribute
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision
4dbb315fe667 .
Victor Stinner [Fri, 13 Nov 2015 08:13:16 +0000 (09:13 +0100)]
Issue #25605: Document exceptions raised by fcntl.ioctl() and fcntl.flock()
Raymond Hettinger [Fri, 13 Nov 2015 02:20:21 +0000 (18:20 -0800)]
Second instance of deque needing "len" instead of "Py_SIZE" in Py2.7
Terry Jan Reedy [Thu, 12 Nov 2015 20:24:22 +0000 (15:24 -0500)]
Indent
Terry Jan Reedy [Thu, 12 Nov 2015 20:06:02 +0000 (15:06 -0500)]
Whitespace
Terry Jan Reedy [Thu, 12 Nov 2015 20:02:50 +0000 (15:02 -0500)]
Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
Serhiy Storchaka [Thu, 12 Nov 2015 17:46:23 +0000 (19:46 +0200)]
Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
Zachary Ware [Thu, 12 Nov 2015 16:02:06 +0000 (10:02 -0600)]
Document the BUILD_SET opcode.
Reported by Hrvoje Abraham on docs@.