]>
granicus.if.org Git - python/log
Benjamin Peterson [Sun, 24 Aug 2014 23:07:28 +0000 (18:07 -0500)]
allow test to work on implementations not using ref-counting (closes #22265)
Benjamin Peterson [Sun, 24 Aug 2014 23:02:15 +0000 (18:02 -0500)]
fix some test_weakref tests to not rely on ref-counting (closes #22267)
Serhiy Storchaka [Sun, 24 Aug 2014 09:18:09 +0000 (12:18 +0300)]
Issue #22034: Got rid of misleading error message for bytearray arguments in
posixpath.join().
Serhiy Storchaka [Sun, 24 Aug 2014 06:07:47 +0000 (09:07 +0300)]
Issue #22236: Tkinter tests now don't reuse default root window. New root
window is created for every test class.
Fixed Tkinter images copying operations in NoDefaultRoot mode.
Tcl command names generated for "after" callbacks now contains a name of
original function.
Terry Jan Reedy [Sun, 24 Aug 2014 02:21:47 +0000 (22:21 -0400)]
Issue #13540: add missing markup.
Ned Deily [Sun, 24 Aug 2014 01:10:16 +0000 (18:10 -0700)]
Issue #21166: fix typo in comment
Terry Jan Reedy [Sat, 23 Aug 2014 23:29:47 +0000 (19:29 -0400)]
Issue #22243: fix except grammar in reference.
Terry Jan Reedy [Sat, 23 Aug 2014 22:28:44 +0000 (18:28 -0400)]
Issue #22232 (partial fix): update Universal newlines Glossary entry.
Terry Jan Reedy [Sat, 23 Aug 2014 22:22:43 +0000 (18:22 -0400)]
Merge heads.
Nick Coghlan [Sat, 23 Aug 2014 04:47:47 +0000 (14:47 +1000)]
Forward port PEP 466 What's New in 2.7 updates
Ned Deily [Fri, 22 Aug 2014 20:32:49 +0000 (13:32 -0700)]
Issue #21166: Prevent possible segfaults and other random failures of
python --generate-posix-vars in pybuilddir.txt build target by ensuring
that pybuilddir.txt is always regenerated when configure is run and
that the newly built skeleton python does not inadvertently import
modules from previously installed instances.
Berker Peksag [Fri, 22 Aug 2014 17:52:15 +0000 (20:52 +0300)]
Issue #19447: Use importlib.util.cache_from_source() instead of ``bad_coding + 'c'``.
Thanks to Arfrever Frehtes Taifersar Arahesis.
Berker Peksag [Fri, 22 Aug 2014 17:17:32 +0000 (20:17 +0300)]
Issue #19447: Add a test case to py_compile.compile() to make sure
it don't raise an exception if doraise is False.
Patch by Bohuslav "Slavek" Kabrda.
Berker Peksag [Fri, 22 Aug 2014 15:24:29 +0000 (18:24 +0300)]
Issue #22150: Fix deprecated-removed directive in Sphinx 1.2.
Brett Cannon [Fri, 22 Aug 2014 14:44:47 +0000 (10:44 -0400)]
Issue #22191: Fix warnings.__all__.
Thanks to Jon Poler for the patch.
Senthil Kumaran [Fri, 22 Aug 2014 10:56:21 +0000 (16:26 +0530)]
Fix issue22245 - Fix urllib2_localnet test.
Do not aggresively close wfile in the do_GET method in the BasicAuthHandler.
Senthil Kumaran [Wed, 20 Aug 2014 02:23:58 +0000 (07:53 +0530)]
Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
Terry Jan Reedy [Tue, 19 Aug 2014 23:47:38 +0000 (19:47 -0400)]
Idle ColorDelegator: finish removing code for 'as'.
Terry Jan Reedy [Tue, 19 Aug 2014 21:17:57 +0000 (17:17 -0400)]
Idle ColorDelegator: remove special case code for 'as' in import statements.
'As' became a full keyword when with statements were added in 2.5/2.6.
Serhiy Storchaka [Tue, 19 Aug 2014 15:20:23 +0000 (18:20 +0300)]
Fixed typo.
Serhiy Storchaka [Tue, 19 Aug 2014 14:11:20 +0000 (17:11 +0300)]
Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.
Serhiy Storchaka [Mon, 18 Aug 2014 14:47:29 +0000 (17:47 +0300)]
Clean up test_user_command.
Benjamin Peterson [Mon, 18 Aug 2014 04:00:42 +0000 (23:00 -0500)]
remove 2.2 and 2.6 compat code (closes #22200)
Patch from Thomas Kluyver.
Serhiy Storchaka [Sun, 17 Aug 2014 13:57:39 +0000 (16:57 +0300)]
Issue #22165: Fixed test_undecodable_filename on Mac OS.
Serhiy Storchaka [Sun, 17 Aug 2014 12:31:59 +0000 (15:31 +0300)]
Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter.
Serhiy Storchaka [Sun, 17 Aug 2014 12:14:48 +0000 (15:14 +0300)]
Issue #22201: Command-line interface of the zipfile module now correctly
extracts ZIP files with directory entries. Patch by Ryan Wilson.
Serhiy Storchaka [Sun, 17 Aug 2014 09:20:02 +0000 (12:20 +0300)]
Issue #22165: Fixed test_undecodable_filename on non-UTF-8 locales.
Serhiy Storchaka [Sun, 17 Aug 2014 05:22:11 +0000 (08:22 +0300)]
Issue #22165: SimpleHTTPRequestHandler now supports undecodable file names.
Senthil Kumaran [Sat, 16 Aug 2014 17:22:37 +0000 (22:52 +0530)]
backout changeset
3435c5865cfc due to buildbot failures. Ref #8797
Victor Stinner [Sat, 16 Aug 2014 12:38:02 +0000 (14:38 +0200)]
Closes #22188: test_gdb now runs gdb with -nx: "Do not execute commands from
any .gdbinit initialization files".
Victor Stinner [Sat, 16 Aug 2014 12:11:01 +0000 (14:11 +0200)]
Closes #22205: sys._debugmallocstats is a cpython specific feature, so
test_debugmallocstats should be marked as such. Patch written by Martin
Matusiak.
Senthil Kumaran [Sat, 16 Aug 2014 08:47:38 +0000 (14:17 +0530)]
Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial patch by Sam Bull.
Terry Jan Reedy [Fri, 15 Aug 2014 05:23:02 +0000 (01:23 -0400)]
Issue #22065: Update turtledemo menu creation; don't use obsolete Menubutton.
Terry Jan Reedy [Fri, 15 Aug 2014 04:55:42 +0000 (00:55 -0400)]
#22053: actually remove .txt files from 3.4.
Terry Jan Reedy [Fri, 15 Aug 2014 03:59:32 +0000 (23:59 -0400)]
Issue #10291: Backport
004fe3449193 with a few changes due to 22095.
Will forward port 22095 changes separately.
Terry Jan Reedy [Fri, 15 Aug 2014 01:54:43 +0000 (21:54 -0400)]
Issue #17390: Adjust Editor window title. Remove 'Python', move version to end.
Serhiy Storchaka [Thu, 14 Aug 2014 19:21:18 +0000 (22:21 +0300)]
Issue #22193: Added private function _PySys_GetSizeOf() needed to implement
some __sizeof__() methods.
Berker Peksag [Thu, 14 Aug 2014 05:34:32 +0000 (08:34 +0300)]
Issue #21445: Pass exception messages correctly to assertTrue in
the FileCompareTestCase.test_matching test.
Patch by Steven Barker.
Serhiy Storchaka [Wed, 13 Aug 2014 06:35:21 +0000 (09:35 +0300)]
Issue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems()
in the mailbox module. This is partial rollback of changeset
f340cb045bf9 .
Raymond Hettinger [Tue, 12 Aug 2014 19:44:52 +0000 (12:44 -0700)]
Issue 22184: Early detection and reporting of missing lru_cache parameters
Serhiy Storchaka [Tue, 12 Aug 2014 17:22:48 +0000 (20:22 +0300)]
Decreased memory requirements of new tests added in issue21448.
Serhiy Storchaka [Tue, 12 Aug 2014 10:59:11 +0000 (13:59 +0300)]
Issue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing long line.
Original patch by Raymond Hettinger.
Serhiy Storchaka [Tue, 12 Aug 2014 09:55:12 +0000 (12:55 +0300)]
Issue #17923: glob() patterns ending with a slash no longer match non-dirs on
AIX. Based on patch by Delhallt.
Antoine Pitrou [Tue, 12 Aug 2014 01:40:38 +0000 (21:40 -0400)]
Issue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
Zachary Ware [Mon, 11 Aug 2014 20:00:48 +0000 (15:00 -0500)]
Issue #22178: Fix the date of the Windows epoch (Jan 1, 1601).
Victor Stinner [Sun, 10 Aug 2014 23:11:13 +0000 (01:11 +0200)]
Issue #22112, asyncio doc: replace loop.create_task(coro) with
asyncio.async(coro), mention that asyncio.async() can be used to scheduler a
coroutine, and make it clear that create_task() is only available in Python
3.4.2 and later.
Victor Stinner [Sun, 10 Aug 2014 17:50:08 +0000 (19:50 +0200)]
Close #22175: Improve test_faulthandler readability with dedent.
Patch written by Xavier de Gaye.
Raymond Hettinger [Sun, 10 Aug 2014 17:41:25 +0000 (10:41 -0700)]
Issue #22174: Clean-up grammar and ambiguities in property() docs.
Raymond Hettinger [Sun, 10 Aug 2014 17:33:03 +0000 (10:33 -0700)]
Issue #22180: Remove weak example
Benjamin Peterson [Sun, 10 Aug 2014 03:01:49 +0000 (20:01 -0700)]
add -Werror=declaration-after-statement only to stdlib extension modules (closes #21121)
Patch from Stefan Krah.
doko@ubuntu.com [Sat, 9 Aug 2014 22:01:04 +0000 (00:01 +0200)]
- Issue #22176: Fix build failure on ARM with -Werror=declaration-after-statement
doko@ubuntu.com [Sat, 9 Aug 2014 21:52:34 +0000 (23:52 +0200)]
- Issue #22176: Add src/x86/win32.S for x86 libffi builds.
doko@ubuntu.com [Sat, 9 Aug 2014 20:36:35 +0000 (22:36 +0200)]
- Issue #22176: Update the ctypes module's libffi to v3.1. This release
adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
architectures.
Serhiy Storchaka [Sat, 9 Aug 2014 06:33:05 +0000 (09:33 +0300)]
Issue #22161: Conformed arguments type checks in ctype to actually supported
types. Corrected error messages about bytes arguments.
Nick Coghlan [Sat, 9 Aug 2014 06:14:04 +0000 (16:14 +1000)]
Issue #21777: separate docs for binary sequence methods
Terry Jan Reedy [Sat, 9 Aug 2014 03:33:16 +0000 (23:33 -0400)]
Issue #14105: Stop removing breakpoints from Idle editors.
Move BREAK tag configuration to PyShellEditorWindow.
Zachary Ware [Fri, 8 Aug 2014 18:32:16 +0000 (13:32 -0500)]
Issue #22060: Clean up/simplify test_ctypes, use test discovery
Ezio Melotti [Fri, 8 Aug 2014 14:23:32 +0000 (17:23 +0300)]
#22170: avoid printing newlines twice in tutorial example.
Serhiy Storchaka [Thu, 7 Aug 2014 16:38:37 +0000 (19:38 +0300)]
Issue #20056: Fixed deprecation warning about bytes path in test_shutil on
Windows. Path by Vajrasky Kok.
Zachary Ware [Thu, 7 Aug 2014 04:19:29 +0000 (23:19 -0500)]
Issue #22160: Update OpenSSL to 1.0.1i for the Windows build.
Ezio Melotti [Thu, 7 Aug 2014 00:20:22 +0000 (03:20 +0300)]
#22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.
Serhiy Storchaka [Wed, 6 Aug 2014 14:50:39 +0000 (17:50 +0300)]
Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
when unpickling pickled sqlite3.Row). sqlite3.Row is now initialized in the
__new__() method.
Zachary Ware [Tue, 5 Aug 2014 19:01:10 +0000 (14:01 -0500)]
Issue #22146: Fix typo in __build_class__ error message
Vinay Sajip [Tue, 5 Aug 2014 09:34:16 +0000 (10:34 +0100)]
Issue #22130: Corrected fileConfig() documentation.
Ezio Melotti [Tue, 5 Aug 2014 05:14:28 +0000 (08:14 +0300)]
#21928: clarify functools.wraps docs.
Ezio Melotti [Mon, 4 Aug 2014 23:24:03 +0000 (02:24 +0300)]
#11955: show the list of args in case of error in test_argparse.
Ezio Melotti [Mon, 4 Aug 2014 16:34:29 +0000 (19:34 +0300)]
#18034: update FAQ to suggest importlib.import_module instead of __import__. Patch by Wouter van Heyst.
Zachary Ware [Mon, 4 Aug 2014 16:15:10 +0000 (11:15 -0500)]
Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_inner
Ezio Melotti [Mon, 4 Aug 2014 14:16:49 +0000 (17:16 +0300)]
#20977: fix undefined name in the email module. Patch by Rose Ames.
Ezio Melotti [Mon, 4 Aug 2014 14:01:16 +0000 (17:01 +0300)]
#18588: update the timeit examples to be consistent.
Raymond Hettinger [Mon, 4 Aug 2014 07:21:11 +0000 (00:21 -0700)]
Remove unused leftover stray line
Raymond Hettinger [Mon, 4 Aug 2014 06:44:30 +0000 (23:44 -0700)]
Fix markup.
Raymond Hettinger [Mon, 4 Aug 2014 06:38:54 +0000 (23:38 -0700)]
Improve regex tokenizer example by using re.finditer().
Also, improve variable names and fix column numbers
in the generated output.
Terry Jan Reedy [Mon, 4 Aug 2014 03:02:58 +0000 (23:02 -0400)]
PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
a, b in arg lists, and hanging indents for long arg lists.
Jason R. Coombs [Sun, 3 Aug 2014 19:26:58 +0000 (15:26 -0400)]
Issue #13540: Merge changes from 3.3
Jason R. Coombs [Sun, 3 Aug 2014 19:26:32 +0000 (15:26 -0400)]
Issue #13540: Merge changes from 3.2
Jason R. Coombs [Sun, 3 Aug 2014 18:54:11 +0000 (14:54 -0400)]
Issue #13540: Update references to Action class to match syntax used for other classes in this file.
Raymond Hettinger [Sun, 3 Aug 2014 05:32:10 +0000 (22:32 -0700)]
Fix whitespace in example.
doko@ubuntu.com [Fri, 1 Aug 2014 15:48:34 +0000 (17:48 +0200)]
- update config.guess and config.sub to support openrisc.
Terry Jan Reedy [Wed, 30 Jul 2014 23:24:32 +0000 (19:24 -0400)]
Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.
Serhiy Storchaka [Wed, 30 Jul 2014 15:33:13 +0000 (18:33 +0300)]
Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
In particular this allows to initialize images from binary data.
Serhiy Storchaka [Wed, 30 Jul 2014 07:59:46 +0000 (10:59 +0300)]
Issue #21951: Temporary skip crashing test_user_command on AIX.
Victor Stinner [Tue, 29 Jul 2014 21:12:22 +0000 (23:12 +0200)]
Issue #22063: Mention in asyncio documentation that socket operations require
the socket to be non-blocking
Victor Stinner [Tue, 29 Jul 2014 21:08:17 +0000 (23:08 +0200)]
Close #22063: socket operations (socket,recv, sock_sendall, sock_connect,
sock_accept) now raise an exception in debug mode if sockets are in blocking
mode.
Victor Stinner [Tue, 29 Jul 2014 21:08:00 +0000 (23:08 +0200)]
asyncio: Use the new os.set_blocking() function of Python 3.5 if available
Ned Deily [Tue, 29 Jul 2014 20:49:11 +0000 (13:49 -0700)]
Edit NEWS entry
Ezio Melotti [Tue, 29 Jul 2014 14:35:46 +0000 (17:35 +0300)]
#21704: remove duplicate name in Misc/ACKS.
Victor Stinner [Tue, 29 Jul 2014 10:58:23 +0000 (12:58 +0200)]
asyncio: sync with Tulip
* _WaitHandleFuture.cancel() now notify IocpProactor through the overlapped
object that the wait was cancelled.
* Optimize IocpProactor.wait_for_handle() gets the result if the wait is
signaled immediatly.
* Enhance representation of Future and Future subclasses
- Add "created at filename:lineno" in the representation
- Add Future._repr_info() method which can be more easily overriden than
Future.__repr__(). It should now be more easy to enhance Future
representation without having to modify each subclass. For example,
_OverlappedFuture and _WaitHandleFuture get the new "created at" information.
- Use reprlib to format Future result, and function arguments when formatting a
callback, to limit the length of the representation.
* Fix repr(_WaitHandleFuture)
* _WaitHandleFuture and _OverlappedFuture: hide frames of internal calls in the
source traceback.
* Cleanup ProactorIocp._poll(): set the timeout to 0 after the first call to
GetQueuedCompletionStatus()
* test_locks: close the temporary event loop and check the condition lock
* Remove workaround in test_futures, no more needed
Terry Jan Reedy [Tue, 29 Jul 2014 02:38:19 +0000 (22:38 -0400)]
Issue #17172: add NEWS
Terry Jan Reedy [Tue, 29 Jul 2014 02:23:59 +0000 (22:23 -0400)]
Issue #17172: Add the ability to run turtledemo from Idle.
Make turtledemo start as active on Mac even when run with subprocess.
Patch by Ramchandra Apt, Lita Cho, and Ned Daily.
Victor Stinner [Mon, 28 Jul 2014 23:13:39 +0000 (01:13 +0200)]
Issue #18174: Fix leak of file descriptor in test_tempfile
Victor Stinner [Mon, 28 Jul 2014 23:01:09 +0000 (01:01 +0200)]
Issue #11453, #18174: Fix leak of file descriptor in test_asyncore
Victor Stinner [Mon, 28 Jul 2014 22:40:50 +0000 (00:40 +0200)]
Fix sporadic failure of test_pep277 on Windows: use support.rmtree() instead of
deltree().
Richard Oudkerk [Mon, 28 Jul 2014 22:01:02 +0000 (23:01 +0100)]
Issue #21704: Fix build error for _multiprocessing when semaphores
are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
Victor Stinner [Mon, 28 Jul 2014 20:07:07 +0000 (22:07 +0200)]
Fix test_bytes when sys.stdin is None, for example on Windows when using
pythonw.exe instead of python.exe
Victor Stinner [Sun, 27 Jul 2014 22:18:43 +0000 (00:18 +0200)]
asyncio, tulip issue 196: ProactorIocp._register() now registers the overlapped
in the _cache dictionary, even if we already got the result. We need to keep a
reference to the overlapped object, otherwise the memory may be reused and
GetQueuedCompletionStatus() may use random bytes and behaves badly.
There is still a hack for ConnectNamedPipe(): the overlapped object is not
register into _cache if the overlapped object completed directly.
Log also an error in debug mode in ProactorIocp._loop() if we get an unexpected
event.
Add a protection in ProactorIocp.close() to avoid blocking, even if it should
not happen. I still don't understand exactly why some the completion of some
overlapped objects are not notified.
Terry Jan Reedy [Sun, 27 Jul 2014 07:01:13 +0000 (03:01 -0400)]
Modernize turtledemo with conditional expressions; remove duplicate line.
Terry Jan Reedy [Sat, 26 Jul 2014 23:40:16 +0000 (19:40 -0400)]
Reduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
2009-02-02 51562 (
27c589f09a21 ) merged Mac support revisions into 3.0.
2009-03-04 52014 (
dc3d24824b60 ) merged slightly improved version into 2.7.
Change 3.4+ to match the later 2.7 patch. Buttons tested manually.
Andrew Svetlov [Sat, 26 Jul 2014 16:50:37 +0000 (19:50 +0300)]
Document lock parameter for asyncio.Condition()
Antoine Pitrou [Sat, 26 Jul 2014 15:15:52 +0000 (11:15 -0400)]
Issue #22074: Fix Lib/test/make_ssl_certs.py