diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-12-14 14:16:20 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-12-14 14:16:20 (GMT) |
commit | 32ef70c827997f869a8d8393e8bde74016b6c8a9 (patch) | |
tree | 2fb7aafb76221a226502a6fb5d52fcd536ade964 /Misc | |
parent | 8edd99d0852c45f70b6abc851e6b326d4250cd33 (diff) | |
download | cpython-32ef70c827997f869a8d8393e8bde74016b6c8a9.zip cpython-32ef70c827997f869a8d8393e8bde74016b6c8a9.tar.gz cpython-32ef70c827997f869a8d8393e8bde74016b6c8a9.tar.bz2 |
#10695: use %s not %d so that a string 'port' does not cause a debug traceback
Passing the port as a string value works fine in regular mode, but
if you turned debug on it would throw an error trying to print the
port number, which is surprising and confusing.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ What's New in Python 3.2 Beta 2? Library ------- +- Issue #10695: passing the port as a string value to telnetlib no longer + causes debug mode to fail. + - Issue #1078919: add_header now automatically RFC2231 encodes parameters that contain non-ascii values. |