]> granicus.if.org Git - python/log
python
10 years agoIssue #22320: Fix broken link in the General Python FAQ.
Ned Deily [Mon, 1 Sep 2014 07:06:18 +0000 (00:06 -0700)]
Issue #22320: Fix broken link in the General Python FAQ.
Original patch by Josh Lynn.

10 years ago#22315: Use advertised API for OSError
Jason R. Coombs [Sun, 31 Aug 2014 21:42:20 +0000 (17:42 -0400)]
#22315: Use advertised API for OSError

10 years ago#22315: Use an existent directory for 'src' to trigger appropriate behavior.
Jason R. Coombs [Sun, 31 Aug 2014 21:51:22 +0000 (17:51 -0400)]
#22315: Use an existent directory for 'src' to trigger appropriate behavior.

10 years ago#22315: Provide an actual directory during test invocation.
Jason R. Coombs [Sun, 31 Aug 2014 21:37:35 +0000 (17:37 -0400)]
#22315: Provide an actual directory during test invocation.

10 years ago#22315: Use technique outlined in test_file_util
Jason R. Coombs [Sun, 31 Aug 2014 21:31:32 +0000 (17:31 -0400)]
#22315: Use technique outlined in test_file_util

10 years ago#22315: Add test to capture the failure.
Jason R. Coombs [Sun, 31 Aug 2014 19:02:42 +0000 (15:02 -0400)]
#22315: Add test to capture the failure.

10 years agoCorrect indent
Jason R. Coombs [Sun, 31 Aug 2014 19:00:47 +0000 (15:00 -0400)]
Correct indent

10 years agoRemove unused import
Jason R. Coombs [Sun, 31 Aug 2014 17:43:02 +0000 (13:43 -0400)]
Remove unused import

10 years agoasyncio, Tulip issue 205: Fix a race condition in BaseSelectorEventLoop.sock_connect()
Victor Stinner [Sun, 31 Aug 2014 13:07:57 +0000 (15:07 +0200)]
asyncio, Tulip issue 205: Fix a race condition in BaseSelectorEventLoop.sock_connect()

There is a race condition in create_connection() used with wait_for() to have a
timeout. sock_connect() registers the file descriptor of the socket to be
notified of write event (if connect() raises BlockingIOError). When
create_connection() is cancelled with a TimeoutError, sock_connect() coroutine
gets the exception, but it doesn't unregister the file descriptor for write
event. create_connection() gets the TimeoutError and closes the socket.

If you call again create_connection(), the new socket will likely gets the same
file descriptor, which is still registered in the selector. When sock_connect()
calls add_writer(), it tries to modify the entry instead of creating a new one.

This issue was originally reported in the Trollius project, but the bug comes
from Tulip in fact (Trollius is based on Tulip):
https://bitbucket.org/enovance/trollius/issue/15/after-timeouterror-on-wait_for

This change fixes the race condition. It also makes sock_connect() more
reliable (and portable) is sock.connect() raises an InterruptedError.

10 years agoCloses #22275: asyncio: enhance documentation of OS support
Victor Stinner [Sun, 31 Aug 2014 12:47:37 +0000 (14:47 +0200)]
Closes #22275: asyncio: enhance documentation of OS support

10 years agogetuid() returns real process id not effective (closes #22307)
Benjamin Peterson [Sun, 31 Aug 2014 01:04:15 +0000 (21:04 -0400)]
getuid() returns real process id not effective (closes #22307)

10 years ago#22215: have the smtplib 'quit' command reset the state.
R David Murray [Sat, 30 Aug 2014 20:51:59 +0000 (16:51 -0400)]
#22215: have the smtplib 'quit' command reset the state.

Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point).  (There may be additional places where this lack of reset was an
issue as well.)

Patch by Milan Oberkirch.

10 years agoIssue #22185: Fix an occasional RuntimeError in threading.Condition.wait() caused...
Antoine Pitrou [Fri, 29 Aug 2014 21:26:36 +0000 (23:26 +0200)]
Issue #22185: Fix an occasional RuntimeError in threading.Condition.wait() caused by mutation of the waiters queue without holding the lock.

Patch by Doug Zongker.

10 years agoIssue #22182: Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
Berker Peksag [Fri, 29 Aug 2014 04:07:35 +0000 (07:07 +0300)]
Issue #22182: Use e.args to unpack exceptions correctly in distutils.file_util.move_file.

Patch by Claudiu Popa.

10 years agoasyncio, Tulip issue 201: Fix a race condition in wait_for()
Victor Stinner [Thu, 28 Aug 2014 09:19:25 +0000 (11:19 +0200)]
asyncio, Tulip issue 201: Fix a race condition in wait_for()

Don't raise a TimeoutError if we reached the timeout and the future completed
in the same iteration of the event loop. A side effect of the bug is that
Queue.get() looses items.

10 years agoThe webbrowser module now uses subprocess's start_new_session=True rather
Gregory P. Smith [Wed, 27 Aug 2014 16:34:38 +0000 (09:34 -0700)]
The webbrowser module now uses subprocess's start_new_session=True rather
than a potentially risky preexec_fn=os.setsid call.

10 years agoIssue #22065: Remove the now unsed configGUI menu parameter and arguments.
Terry Jan Reedy [Wed, 27 Aug 2014 05:58:40 +0000 (01:58 -0400)]
Issue #22065: Remove the now unsed configGUI menu parameter and arguments.

10 years agoIssue #22065: Menus, unlike Menubottons, do not have a state option.
Terry Jan Reedy [Wed, 27 Aug 2014 05:43:50 +0000 (01:43 -0400)]
Issue #22065: Menus, unlike Menubottons, do not have a state option.
Since a new demo can now be loaded while one is running,
adjust loadfile to do the same cleanup as stopIt.

10 years agoIntroduce and check for MPD_VERSION_HEX for precise management of builds
Stefan Krah [Tue, 26 Aug 2014 19:31:47 +0000 (21:31 +0200)]
Introduce and check for MPD_VERSION_HEX for precise management of builds
with an external libmpdec.

10 years agoIssue #22090: Fix '%' formatting for infinities and NaNs.
Stefan Krah [Tue, 26 Aug 2014 18:46:49 +0000 (20:46 +0200)]
Issue #22090: Fix '%' formatting for infinities and NaNs.

10 years agoIssue #22063: Fix asyncio documentation of socket and pipe operations regarding
Victor Stinner [Mon, 25 Aug 2014 23:01:59 +0000 (01:01 +0200)]
Issue #22063: Fix asyncio documentation of socket and pipe operations regarding
to non-blocking mode. The non-blocking mode does not matter when using a
ProactorEventLoop, only for SelectorEventLoop.

10 years agoasyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits() method
Victor Stinner [Mon, 25 Aug 2014 22:22:28 +0000 (00:22 +0200)]
asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits() method

10 years agoasyncio: sync with Tulip
Victor Stinner [Mon, 25 Aug 2014 21:20:52 +0000 (23:20 +0200)]
asyncio: sync with Tulip

* PipeServer.close() now cancels the "accept pipe" future which cancels the
  overlapped operation.
* Fix _SelectorTransport.__repr__() if the transport was closed
* Fix debug log in BaseEventLoop.create_connection(): get the socket object
  from the transport because SSL transport closes the old socket and creates a
  new SSL socket object. Remove also the _SelectorSslTransport._rawsock
  attribute: it contained the closed socket (not very useful) and it was not
  used.
* Issue #22063: socket operations (sock_recv, sock_sendall, sock_connect,
  sock_accept) of the proactor event loop don't raise an exception in debug
  mode if the socket are in blocking mode. Overlapped operations also work on
  blocking sockets.
* Fix unit tests in debug mode: mock a non-blocking socket for socket
  operations which now raise an exception if the socket is blocking.
* _fatal_error() method of _UnixReadPipeTransport and _UnixWritePipeTransport
  now log all exceptions in debug mode
* Don't log expected errors in unit tests
* Tulip issue 200: _WaitHandleFuture._unregister_wait() now catchs and logs
  exceptions.
* Tulip issue 200: Log errors in debug mode instead of simply ignoring them.

10 years agoasyncio: update the doc
Victor Stinner [Mon, 25 Aug 2014 15:04:12 +0000 (17:04 +0200)]
asyncio: update the doc

* dev: mention that the logging must be configured at DEBUG level
* streams: drain() has no more a strange return value, it's just
  a standard coroutine

10 years agoallow test to work on implementations not using ref-counting (closes #22265)
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)

10 years agofix some test_weakref tests to not rely on ref-counting (closes #22267)
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)

10 years agoIssue #22034: Got rid of misleading error message for bytearray arguments in
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().

10 years agoIssue #22236: Tkinter tests now don't reuse default root window. New root
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.

10 years agoIssue #13540: add missing markup.
Terry Jan Reedy [Sun, 24 Aug 2014 02:21:47 +0000 (22:21 -0400)]
Issue #13540: add missing markup.

10 years agoIssue #21166: fix typo in comment
Ned Deily [Sun, 24 Aug 2014 01:10:16 +0000 (18:10 -0700)]
Issue #21166: fix typo in comment

10 years agoIssue #22243: fix except grammar in reference.
Terry Jan Reedy [Sat, 23 Aug 2014 23:29:47 +0000 (19:29 -0400)]
Issue #22243: fix except grammar in reference.

10 years agoIssue #22232 (partial fix): update Universal newlines Glossary entry.
Terry Jan Reedy [Sat, 23 Aug 2014 22:28:44 +0000 (18:28 -0400)]
Issue #22232 (partial fix): update Universal newlines Glossary entry.

10 years agoMerge heads.
Terry Jan Reedy [Sat, 23 Aug 2014 22:22:43 +0000 (18:22 -0400)]
Merge heads.

10 years agoForward port PEP 466 What's New in 2.7 updates
Nick Coghlan [Sat, 23 Aug 2014 04:47:47 +0000 (14:47 +1000)]
Forward port PEP 466 What's New in 2.7 updates

10 years agoIssue #21166: Prevent possible segfaults and other random failures of
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.

10 years agoIssue #19447: Use importlib.util.cache_from_source() instead of ``bad_coding + 'c'``.
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.

10 years agoIssue #19447: Add a test case to py_compile.compile() to make sure
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.

10 years agoIssue #22150: Fix deprecated-removed directive in Sphinx 1.2.
Berker Peksag [Fri, 22 Aug 2014 15:24:29 +0000 (18:24 +0300)]
Issue #22150: Fix deprecated-removed directive in Sphinx 1.2.

10 years agoIssue #22191: Fix warnings.__all__.
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.

10 years agoFix issue22245 - Fix urllib2_localnet test.
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.

10 years agoFix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial...
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.

10 years agoIdle ColorDelegator: finish removing code for 'as'.
Terry Jan Reedy [Tue, 19 Aug 2014 23:47:38 +0000 (19:47 -0400)]
Idle ColorDelegator: finish removing code for 'as'.

10 years agoIdle ColorDelegator: remove special case code for 'as' in import statements.
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.

10 years agoFixed typo.
Serhiy Storchaka [Tue, 19 Aug 2014 15:20:23 +0000 (18:20 +0300)]
Fixed typo.

10 years agoIssue #15696: Add a __sizeof__ implementation for mmap objects on Windows.
Serhiy Storchaka [Tue, 19 Aug 2014 14:11:20 +0000 (17:11 +0300)]
Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.

10 years agoClean up test_user_command.
Serhiy Storchaka [Mon, 18 Aug 2014 14:47:29 +0000 (17:47 +0300)]
Clean up test_user_command.

10 years agoremove 2.2 and 2.6 compat code (closes #22200)
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.

10 years agoIssue #22165: Fixed test_undecodable_filename on Mac OS.
Serhiy Storchaka [Sun, 17 Aug 2014 13:57:39 +0000 (16:57 +0300)]
Issue #22165: Fixed test_undecodable_filename on Mac OS.

10 years agoIssue #22068: Avoided reference loops with Variables and Fonts in Tkinter.
Serhiy Storchaka [Sun, 17 Aug 2014 12:31:59 +0000 (15:31 +0300)]
Issue #22068: Avoided reference loops with Variables and Fonts in Tkinter.

10 years agoIssue #22201: Command-line interface of the zipfile module now correctly
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.

10 years agoIssue #22165: Fixed test_undecodable_filename on non-UTF-8 locales.
Serhiy Storchaka [Sun, 17 Aug 2014 09:20:02 +0000 (12:20 +0300)]
Issue #22165: Fixed test_undecodable_filename on non-UTF-8 locales.

10 years agoIssue #22165: SimpleHTTPRequestHandler now supports undecodable file names.
Serhiy Storchaka [Sun, 17 Aug 2014 05:22:11 +0000 (08:22 +0300)]
Issue #22165: SimpleHTTPRequestHandler now supports undecodable file names.

10 years agobackout changeset 3435c5865cfc due to buildbot failures. Ref #8797
Senthil Kumaran [Sat, 16 Aug 2014 17:22:37 +0000 (22:52 +0530)]
backout changeset 3435c5865cfc due to buildbot failures. Ref #8797

10 years agoCloses #22188: test_gdb now runs gdb with -nx: "Do not execute commands from
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".

10 years agoCloses #22205: sys._debugmallocstats is a cpython specific feature, so
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.

10 years agoFix Issue #8797: Raise HTTPError on failed Basic Authentication immediately. Initial...
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.

10 years agoIssue #22065: Update turtledemo menu creation; don't use obsolete Menubutton.
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.

10 years ago#22053: actually remove .txt files from 3.4.
Terry Jan Reedy [Fri, 15 Aug 2014 04:55:42 +0000 (00:55 -0400)]
#22053: actually remove .txt files from 3.4.

10 years agoIssue #10291: Backport 004fe3449193 with a few changes due to 22095.
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.

10 years agoIssue #17390: Adjust Editor window title. Remove 'Python', move version to end.
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.

10 years agoIssue #22193: Added private function _PySys_GetSizeOf() needed to implement
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.

10 years agoIssue #21445: Pass exception messages correctly to assertTrue in
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.

10 years agoIssue #20729: Restored the use of lazy iterkeys()/itervalues()/iteritems()
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.

10 years agoIssue 22184: Early detection and reporting of missing lru_cache parameters
Raymond Hettinger [Tue, 12 Aug 2014 19:44:52 +0000 (12:44 -0700)]
Issue 22184: Early detection and reporting of missing lru_cache parameters

10 years agoDecreased memory requirements of new tests added in issue21448.
Serhiy Storchaka [Tue, 12 Aug 2014 17:22:48 +0000 (20:22 +0300)]
Decreased memory requirements of new tests added in issue21448.

10 years agoIssue #21448: Fixed FeedParser feed() to avoid O(N**2) behavior when parsing long...
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.

10 years agoIssue #17923: glob() patterns ending with a slash no longer match non-dirs on
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.

10 years agoIssue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
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.

10 years agoIssue #22178: Fix the date of the Windows epoch (Jan 1, 1601).
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).

10 years agoIssue #22112, asyncio doc: replace loop.create_task(coro) with
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.

10 years agoClose #22175: Improve test_faulthandler readability with dedent.
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.

10 years agoIssue #22174: Clean-up grammar and ambiguities in property() docs.
Raymond Hettinger [Sun, 10 Aug 2014 17:41:25 +0000 (10:41 -0700)]
Issue #22174:  Clean-up grammar and ambiguities in property() docs.

10 years agoIssue #22180: Remove weak example
Raymond Hettinger [Sun, 10 Aug 2014 17:33:03 +0000 (10:33 -0700)]
Issue #22180:  Remove weak example

10 years agoadd -Werror=declaration-after-statement only to stdlib extension modules (closes...
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.

10 years ago - Issue #22176: Fix build failure on ARM with -Werror=declaration-after-statement
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

10 years ago - Issue #22176: Add src/x86/win32.S for x86 libffi builds.
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.

10 years ago- Issue #22176: Update the ctypes module's libffi to v3.1. This release
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.

10 years agoIssue #22161: Conformed arguments type checks in ctype to actually supported
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.

10 years agoIssue #21777: separate docs for binary sequence methods
Nick Coghlan [Sat, 9 Aug 2014 06:14:04 +0000 (16:14 +1000)]
Issue #21777: separate docs for binary sequence methods

10 years agoIssue #14105: Stop removing breakpoints from Idle editors.
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.

10 years agoIssue #22060: Clean up/simplify test_ctypes, use test discovery
Zachary Ware [Fri, 8 Aug 2014 18:32:16 +0000 (13:32 -0500)]
Issue #22060: Clean up/simplify test_ctypes, use test discovery

10 years ago#22170: avoid printing newlines twice in tutorial example.
Ezio Melotti [Fri, 8 Aug 2014 14:23:32 +0000 (17:23 +0300)]
#22170: avoid printing newlines twice in tutorial example.

10 years agoIssue #20056: Fixed deprecation warning about bytes path in test_shutil on
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.

10 years agoIssue #22160: Update OpenSSL to 1.0.1i for the Windows build.
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.

10 years ago#22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.
Ezio Melotti [Thu, 7 Aug 2014 00:20:22 +0000 (03:20 +0300)]
#22092: use absolute imports in unittest tests.  Patch by Vajrasky Kok.

10 years agoIssue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
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.

10 years agoIssue #22146: Fix typo in __build_class__ error message
Zachary Ware [Tue, 5 Aug 2014 19:01:10 +0000 (14:01 -0500)]
Issue #22146: Fix typo in __build_class__ error message

10 years agoIssue #22130: Corrected fileConfig() documentation.
Vinay Sajip [Tue, 5 Aug 2014 09:34:16 +0000 (10:34 +0100)]
Issue #22130: Corrected fileConfig() documentation.

10 years ago#21928: clarify functools.wraps docs.
Ezio Melotti [Tue, 5 Aug 2014 05:14:28 +0000 (08:14 +0300)]
#21928: clarify functools.wraps docs.

10 years ago#11955: show the list of args in case of error in test_argparse.
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.

10 years ago#18034: update FAQ to suggest importlib.import_module instead of __import__. Patch...
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.

10 years agoIssue #22104: Don't hold a reference to the loaded TestSuite in runtest_inner
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

10 years ago#20977: fix undefined name in the email module. Patch by Rose Ames.
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.

10 years ago#18588: update the timeit examples to be consistent.
Ezio Melotti [Mon, 4 Aug 2014 14:01:16 +0000 (17:01 +0300)]
#18588: update the timeit examples to be consistent.

10 years agoRemove unused leftover stray line
Raymond Hettinger [Mon, 4 Aug 2014 07:21:11 +0000 (00:21 -0700)]
Remove unused leftover stray line

10 years agoFix markup.
Raymond Hettinger [Mon, 4 Aug 2014 06:44:30 +0000 (23:44 -0700)]
Fix markup.

10 years agoImprove regex tokenizer example by using re.finditer().
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.

10 years agoPEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
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.

10 years agoIssue #13540: Merge changes from 3.3
Jason R. Coombs [Sun, 3 Aug 2014 19:26:58 +0000 (15:26 -0400)]
Issue #13540: Merge changes from 3.3

10 years agoIssue #13540: Merge changes from 3.2
Jason R. Coombs [Sun, 3 Aug 2014 19:26:32 +0000 (15:26 -0400)]
Issue #13540: Merge changes from 3.2