Senthil Kumaran
defe7f4c62
Expose --bind argument for http.server, enable http.server to bind to a user
specified network interface.
Patch contributed by Malte Swart. Addresses issue #17764 .
HG :Enter commit message. Lines beginning with 'HG:' are removed.
12 years ago
Raymond Hettinger
46f5ca31d0
Issue #19018 : The heapq.merge() function no longer suppresses IndexError
12 years ago
Antoine Pitrou
0715b9fad3
Issue #18937 : Add an assertLogs() context manager to unittest.TestCase to ensure that a block of code emits a message using the logging module.
12 years ago
Georg Brandl
bc75046bb3
Add a NEWS entry for b9b521efeba3.
12 years ago
Georg Brandl
c5884d8930
Add NEWS entry for c18c18774e24.
12 years ago
Eli Bendersky
61f4cd1dd5
Add Germán M. Bravo to Misc/ACKS
12 years ago
Serhiy Storchaka
bf28d2dcad
Issue #18818 : The "encodingname" part of PYTHONIOENCODING is now optional.
12 years ago
Senthil Kumaran
72c238e21a
Fix http.server's request handling case on trailing '/'.
Patch contributed by Vajrasky Kok. Addresses Issue #17324
12 years ago
Serhiy Storchaka
016af3f4d4
Issue #18784 : The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.
12 years ago
Serhiy Storchaka
dd4754e6a8
Issue #18988 : The "Tab" key now works when a word is already autocompleted.
13 years ago
Raymond Hettinger
f27623215c
Issue #18962 : Optimize the single iterator case for heapq.merge()
Suggested by Wouter Bolsterlee.
13 years ago
Larry Hastings
60560b18d2
Post-3.4.0a2-release fixups.
13 years ago
Serhiy Storchaka
c700180443
Fix a typo. ( closes #18953 )
13 years ago
Victor Stinner
8898350076
Close #18957 : The PYTHONFAULTHANDLER environment variable now only enables the
faulthandler module if the variable is non-empty. Same behaviour than other
variables like PYTHONDONTWRITEBYTECODE.
13 years ago
Nick Coghlan
0494c2ae7f
Close #18952 : correctly download test support data
When test.support was converted to a package, it started silently
skipping the tests which needed to download support data to run.
This change refactors the affected code, and also tidies up
test.support.findfile to remove the unused *here* parameter, document
the *subdir* parameter and rename the *filename* parameter to avoid
shadowing the file builtin and be consistent with the documentation.
The unexpected skips were noticed and reported by Zachary Ware
13 years ago
Antoine Pitrou
7b4769937f
Issue #18808 : Thread.join() now waits for the underlying thread state to be destroyed before returning.
This prevents unpredictable aborts in Py_EndInterpreter() when some non-daemon threads are still running.
13 years ago
Larry Hastings
3a2d18b7d7
Version number bump for Python 3.4.0a2.
13 years ago
Ethan Furman
9143b0e087
Added Elazar to Misc/ACKS.
13 years ago
Ned Deily
f70f4a63b6
Issue #18458 : Prevent crashes with newer versions of libedit. Its readline
emulation has changed from 0-based indexing to 1-based like gnu readline.
Original patch by Ronald Oussoren.
13 years ago
Antoine Pitrou
b0478b3f5f
Issue #18623 : Factor out the _SuppressCoreFiles context manager into test.support.
Patch by Valerie Lambert.
13 years ago
R David Murray
4a0430166b
#18852 : Handle readline.__doc__ being None in site.py readline activation.
Patch by Berker Peksag.
13 years ago
Eli Bendersky
cdac551675
Issue #18920 : argparse's default version action (for -v, --version) should
output to stdout, matching the 'python -v'
Reported by Wolfgang Maier
13 years ago
Eli Bendersky
f315df31bd
Issue #18849 : Fixed a Windows-specific tempfile bug where collision with an
existing directory caused mkstemp and related APIs to fail instead of
retrying. Report and fix by Vlad Shcherbina.
13 years ago
Ned Deily
981b69318d
Issue #15663 : Tcl/Tk 8.5.14 is now included with the OS X 10.6+
64-bit/32-bit installer for 10.6+. It is no longer necessary
to install a third-party version of Tcl/Tk 8.5 to work around the
problems in the Apple-supplied Tcl/Tk 8.5 shipped in OS X 10.6
and later releases.
13 years ago
Ned Deily
d819b931f3
Issue #1584 : Provide options to override default search paths for Tcl and Tk
when building _tkinter. configure has two new options; if used, both must
be specified:
./configure \
--with-tcltk-includes="-I/opt/local/include" \
--with-tcltk-libs="-L/opt/local/lib -ltcl8.5 -ltk8.5"
In addition, the options can be overridden with make:
make \
TCLTK_INCLUDES="-I/opt/local/include" \
TCLTK_LIBS="-L/opt/local/lib -ltcl8.6 -ltk8.6"
13 years ago
Tim Peters
eaa3bcc370
Issue #18942 : sys._debugmallocstats() output was damaged on Windows.
_PyDebugAllocatorStats() called PyOS_snprintf() with a %zd format
code, but MS doesn't support that code. Interpolated
PY_FORMAT_SIZE_T in place of the "z".
13 years ago
Serhiy Storchaka
134f0de66d
Issue #18672 : Fixed format specifiers for Py_ssize_t in debugging output in
the _sre moduel.
13 years ago
Serhiy Storchaka
c56894d305
Issue #18922 : Now The Lib/smtpd.py and Tools/i18n/msgfmt.py scripts write
their version strings to stdout, and not to sderr.
13 years ago
Serhiy Storchaka
362c1b513d
Issue #18830 : inspect.getclasstree() no more produces duplicated entries even
when input list contains duplicates.
13 years ago
Serhiy Storchaka
34d201374c
Issue #18878 : sunau.open now supports the context manager protocol. Based on
patches by Claudiu Popa and R. David Murray.
13 years ago
Victor Stinner
e1040e276b
Issue #18909 : Fix _tkinter.tkapp.interpaddr() on Windows 64-bit, don't cast
64-bit pointer to long (32 bits).
13 years ago
Antoine Pitrou
e93b63b74b
Issue #18876 : The FileIO.mode attribute now better reflects the actual mode under which the file was opened.
Patch by Erik Bray.
13 years ago
Charles-François Natali
243d8d85de
Issue #16853 : Add new selectors module.
13 years ago
Andrew Svetlov
58b5c5ad14
Issue #18882 : Add threading.main_thread() function.
13 years ago
Meador Inge
c9e1dcdd53
Issue #16826 : Revert fix while Windows issues are being worked out.
13 years ago
Serhiy Storchaka
e06a89655a
Issue #18901 : The sunau getparams method now returns a namedtuple rather than
a plain tuple. Patch by Claudiu Popa.
13 years ago
Meador Inge
d151da9ef7
Issue #16826 : Don't check for PYTHONCASEOK when using -E.
This commit fixes a regression that sneaked into Python 3.3 where importlib
was not respecting -E when checking for the PYTHONCASEOK environment variable.
13 years ago
Serhiy Storchaka
4c6a020a2d
Issue #17487 : The result of the wave getparams method now is pickleable again.
Patch by Claudiu Popa.
13 years ago
Terry Jan Reedy
740d6b6f39
Issue #12037 : Fix test_email for desktop Windows.
13 years ago
Terry Jan Reedy
31e4d325b6
Issue #18489 : Add complete, gui-free tests for idlelib.SearchEngine.
Patch import and initialization in SearchEngine to make testing easier.
Improve docstrings, especially to clarify the double role of 'ok' parameters.
Original patch by Phil Webster.
13 years ago
Ethan Furman
fb13721b1b
Close #18780 : %-formatting now prints value for int subclasses with %d, %i, and %u codes.
13 years ago
Antoine Pitrou
4879a963d4
Issue #18756 : os.urandom() now uses a lazily-opened persistent file descriptor, so as to avoid using many file descriptors when run in parallel from multiple threads.
13 years ago
Charles-François Natali
9939cc89a4
Issue #18418 : After fork(), reinit all threads states, not only active ones.
Patch by A. Jesse Jiryu Davis.
13 years ago
Gregory P. Smith
dee0434e2f
Fixes issue #15507 : test_subprocess's test_send_signal could fail if the test
runner were run in an environment where the process inherited an ignore
setting for SIGINT. Restore the SIGINT handler to the desired
KeyboardInterrupt raising one during that test.
13 years ago
Serhiy Storchaka
de2800f8f1
Issue #17974 : Switch unittest from using getopt to using argparse.
13 years ago
Serhiy Storchaka
64f7c4e4ca
Issue #16799 : Switched from getopt to argparse style in regrtest's argument
parsing. Added more tests for regrtest's argument parsing.
13 years ago
Serhiy Storchaka
50254c57cd
Issue #18743 : Fix references to non-existant "StringIO" module
in docstrings and comments.
13 years ago
Andrew Svetlov
eb97368451
Issue #11798 : TestSuite now drops references to own tests after execution.
13 years ago
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
13 years ago
Serhiy Storchaka
9594942716
Issue #18783 : Removed existing mentions of Python long type in docstrings,
error messages and comments.
13 years ago