]> granicus.if.org Git - python/log
python
10 years agoIssue #20222: file is no longer a builtin in 3.x.
Terry Jan Reedy [Tue, 21 Jan 2014 05:01:51 +0000 (00:01 -0500)]
Issue #20222: file is no longer a builtin in 3.x.

10 years agoIssue #20311: Try to fix the unit test, use time.monotonic() instead of
Victor Stinner [Tue, 21 Jan 2014 01:37:41 +0000 (02:37 +0100)]
Issue #20311: Try to fix the unit test, use time.monotonic() instead of
time.perf_counter()

Move also the unit test at the end.

10 years agoIssue #20311: select.epoll.poll() now rounds the timeout away from zero,
Victor Stinner [Tue, 21 Jan 2014 00:41:00 +0000 (01:41 +0100)]
Issue #20311: select.epoll.poll() now rounds the timeout away from zero,
instead of rounding towards zero. For example, a timeout of one microsecond is
now rounded to one millisecond, instead of being rounded to zero.

10 years agoIssue #20262: Warnings are raised now when duplicate names are added in the
Serhiy Storchaka [Mon, 20 Jan 2014 19:57:40 +0000 (21:57 +0200)]
Issue #20262: Warnings are raised now when duplicate names are added in the
ZIP file or too long ZIP file comment is truncated.

10 years agoIssue #20315: Removed support for backward compatibility with early 2.x versions.
Serhiy Storchaka [Mon, 20 Jan 2014 19:29:31 +0000 (21:29 +0200)]
Issue #20315: Removed support for backward compatibility with early 2.x versions.

10 years agoIssue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.
Stefan Krah [Mon, 20 Jan 2014 14:31:08 +0000 (15:31 +0100)]
Issue #19036: Including locale.h should not depend on HAVE_LANGINFO_H.

10 years agoput notes in a ..note section
Benjamin Peterson [Mon, 20 Jan 2014 05:10:23 +0000 (00:10 -0500)]
put notes in a ..note section

10 years agodocument that a new Python thread context is created in ctypes callbacks (closes...
Benjamin Peterson [Mon, 20 Jan 2014 05:09:53 +0000 (00:09 -0500)]
document that a new Python thread context is created in ctypes callbacks (closes #6627)

Patch by Nikolaus Rath.

10 years agoimprove description of buffers argument for readv/writev (closes #17811)
Benjamin Peterson [Sun, 19 Jan 2014 03:54:59 +0000 (22:54 -0500)]
improve description of buffers argument for readv/writev (closes #17811)

Patch by Nikolaus Rath.

10 years agocorrect news entry for #18574
Benjamin Peterson [Sun, 19 Jan 2014 03:31:27 +0000 (22:31 -0500)]
correct news entry for #18574

10 years agoadd Nikolaus Rath to ACKS
Benjamin Peterson [Sun, 19 Jan 2014 02:50:35 +0000 (21:50 -0500)]
add Nikolaus Rath to ACKS

10 years agofix handling of 100-continue status code (closes #18574)
Benjamin Peterson [Sun, 19 Jan 2014 02:50:18 +0000 (21:50 -0500)]
fix handling of 100-continue status code (closes #18574)

10 years ago#19855: restore use of LC_ALL, not LC_MESSAGES
R David Murray [Sat, 18 Jan 2014 19:56:10 +0000 (14:56 -0500)]
#19855: restore use of LC_ALL, not LC_MESSAGES

I didn't realize LC_ALL was an override, and I should have.  I tried to
make a test, but it is not clear that the LC variables actually affect
the strings that uuid is using to parse the command output.

10 years agoIssue #20270: urllib.urlparse now supports empty ports.
Serhiy Storchaka [Sat, 18 Jan 2014 16:30:33 +0000 (18:30 +0200)]
Issue #20270: urllib.urlparse now supports empty ports.

10 years agoIssue #20244: Fixed possible file leaks when unexpected error raised in
Serhiy Storchaka [Sat, 18 Jan 2014 14:28:08 +0000 (16:28 +0200)]
Issue #20244: Fixed possible file leaks when unexpected error raised in
tarfile open functions.

10 years agoIssue #20243: TarFile no longer raise ReadError when opened in write mode.
Serhiy Storchaka [Sat, 18 Jan 2014 14:14:10 +0000 (16:14 +0200)]
Issue #20243: TarFile no longer raise ReadError when opened in write mode.

10 years agoIssue #20238: TarFile opened with external fileobj and "w:gz" mode didn't
Serhiy Storchaka [Sat, 18 Jan 2014 13:53:05 +0000 (15:53 +0200)]
Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn't
write complete output on close.

10 years agoIssue #20245: The open functions in the tarfile module now correctly handle empty...
Serhiy Storchaka [Sat, 18 Jan 2014 13:35:37 +0000 (15:35 +0200)]
Issue #20245: The open functions in the tarfile module now correctly handle empty mode.

10 years agorm extra whitespace
Benjamin Peterson [Sat, 18 Jan 2014 05:49:04 +0000 (00:49 -0500)]
rm extra whitespace

10 years agolink to builtin open not io.open
Benjamin Peterson [Sat, 18 Jan 2014 05:47:00 +0000 (00:47 -0500)]
link to builtin open not io.open

10 years agodescribe type of Popen streams (closes #17814)
Benjamin Peterson [Sat, 18 Jan 2014 05:45:56 +0000 (00:45 -0500)]
describe type of Popen streams (closes #17814)

Patch more or less by Nikolaus Rath.

10 years agoIssue #20265: Updated some parts of the Using Windows document.
Zachary Ware [Fri, 17 Jan 2014 21:23:42 +0000 (15:23 -0600)]
Issue #20265: Updated some parts of the Using Windows document.

Includes:
-mention cx_Freeze instead of py2exe (at least until py2exe supports Python 3)
-update ActivePython link
-Remove mention of platforms that were never supported by Python 3 (Win9x, DOS)

10 years agoavoid a compiler warning about assigning const char * to char *.
Gregory P. Smith [Fri, 17 Jan 2014 20:08:49 +0000 (12:08 -0800)]
avoid a compiler warning about assigning const char * to char *.

10 years agosort os.listxattr results before comparing it to avoid depending on the
Gregory P. Smith [Fri, 17 Jan 2014 20:01:22 +0000 (12:01 -0800)]
sort os.listxattr results before comparing it to avoid depending on the
ordering of the directory information in the underlying filesystem.

10 years agoAdded example to recently added cookbook entry.
Vinay Sajip [Fri, 17 Jan 2014 18:36:02 +0000 (18:36 +0000)]
Added example to recently added cookbook entry.

10 years agoFix some typos/grammar in current sections of NEWS.
Zachary Ware [Fri, 17 Jan 2014 15:30:03 +0000 (09:30 -0600)]
Fix some typos/grammar in current sections of NEWS.

10 years agoIssue #20266: Update parts of the Windows FAQ
Zachary Ware [Fri, 17 Jan 2014 14:59:44 +0000 (08:59 -0600)]
Issue #20266: Update parts of the Windows FAQ

10 years agoIssue #19936: Remove executable bits from C source files and several forgotten
Serhiy Storchaka [Thu, 16 Jan 2014 16:48:45 +0000 (18:48 +0200)]
Issue #19936: Remove executable bits from C source files and several forgotten
test files.

10 years agoMerge heads
Serhiy Storchaka [Thu, 16 Jan 2014 15:20:02 +0000 (17:20 +0200)]
Merge heads

10 years agoIssue #19936: Added executable bits or shebang lines to Python scripts which
Serhiy Storchaka [Thu, 16 Jan 2014 15:15:49 +0000 (17:15 +0200)]
Issue #19936: Added executable bits or shebang lines to Python scripts which
requires them.  Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.  Fixed
shebang line to use python3 executable in the unittestgui script.

10 years agolinkify chain.from_iterable (closes #20272)
Benjamin Peterson [Thu, 16 Jan 2014 15:10:13 +0000 (10:10 -0500)]
linkify chain.from_iterable (closes #20272)

10 years agoupdate pysqlite website (closes #20278)
Benjamin Peterson [Thu, 16 Jan 2014 14:52:38 +0000 (09:52 -0500)]
update pysqlite website (closes #20278)

10 years agoIssue #19936: Disable shebang lines in order to prevent using a random
Stefan Krah [Thu, 16 Jan 2014 13:33:27 +0000 (14:33 +0100)]
Issue #19936: Disable shebang lines in order to prevent using a random
system python.

10 years agoAdded cookbook entry on alternative formatting styles.
Vinay Sajip [Wed, 15 Jan 2014 15:09:05 +0000 (15:09 +0000)]
Added cookbook entry on alternative formatting styles.

10 years agoClarified documentation note on module-level convenience functions.
Vinay Sajip [Wed, 15 Jan 2014 13:28:39 +0000 (13:28 +0000)]
Clarified documentation note on module-level convenience functions.

10 years agoIssue #20255: Update the about and bugs pages.
Zachary Ware [Tue, 14 Jan 2014 22:03:11 +0000 (16:03 -0600)]
Issue #20255: Update the about and bugs pages.

10 years agoIssue #20253: Fixed a typo in the ipaddress docs that advertised an
Zachary Ware [Tue, 14 Jan 2014 15:09:48 +0000 (09:09 -0600)]
Issue #20253: Fixed a typo in the ipaddress docs that advertised an
illegal attribute name.  Found by INADA Naoki.

10 years agoFix typo. Found by David Pesta on docs@.
Zachary Ware [Tue, 14 Jan 2014 14:44:49 +0000 (08:44 -0600)]
Fix typo.  Found by David Pesta on docs@.

10 years agoFix typo. Found by David Pesta on docs@.
Zachary Ware [Tue, 14 Jan 2014 14:40:53 +0000 (08:40 -0600)]
Fix typo.  Found by David Pesta on docs@.

10 years agoCloses #20258: Sphinx toolchain: move back to Jinja2 2.3.1 with support for Py2.5.
Georg Brandl [Tue, 14 Jan 2014 11:00:45 +0000 (12:00 +0100)]
Closes #20258: Sphinx toolchain: move back to Jinja2 2.3.1 with support for Py2.5.

10 years agoadd test for #20251
Benjamin Peterson [Tue, 14 Jan 2014 05:27:42 +0000 (00:27 -0500)]
add test for #20251

10 years agoremove overly strict assertion (closes #20251)
Benjamin Peterson [Tue, 14 Jan 2014 05:21:49 +0000 (00:21 -0500)]
remove overly strict assertion (closes #20251)

10 years agocorrect defaultdict signature in docstring (closes #20250)
Benjamin Peterson [Tue, 14 Jan 2014 04:56:05 +0000 (23:56 -0500)]
correct defaultdict signature in docstring (closes #20250)

Patch from Andrew Barnert.

10 years agomerge 3.2 (#20246)
Benjamin Peterson [Tue, 14 Jan 2014 04:12:55 +0000 (23:12 -0500)]
merge 3.2 (#20246)

10 years agocomplain when nbytes > buflen to fix possible buffer overflow (closes #20246)
Benjamin Peterson [Tue, 14 Jan 2014 03:59:38 +0000 (22:59 -0500)]
complain when nbytes > buflen to fix possible buffer overflow (closes #20246)

10 years agoFix typo.
Zachary Ware [Tue, 14 Jan 2014 02:38:57 +0000 (20:38 -0600)]
Fix typo.

10 years agoIssue #20242: Fixed basicConfig() format strings for the alternative formatting styles.
Vinay Sajip [Mon, 13 Jan 2014 21:59:56 +0000 (21:59 +0000)]
Issue #20242: Fixed basicConfig() format strings for the alternative formatting styles.

10 years ago#20236: Fix sphinx markup.
R David Murray [Mon, 13 Jan 2014 18:51:17 +0000 (13:51 -0500)]
#20236: Fix sphinx markup.

10 years ago#20206, #5803: more efficient algorithm that doesn't truncate output.
R David Murray [Mon, 13 Jan 2014 18:19:21 +0000 (13:19 -0500)]
#20206, #5803: more efficient algorithm that doesn't truncate output.

This fixes an edge case (20206) where if the input ended in a character
needing encoding but there was no newline on the string, the last byte
of the encoded character would be dropped.  The fix is to use a more
efficient algorithm, provided by Serhiy Storchaka (5803), that does not
have the bug.

10 years agoTest the open of non-exitent tarfile in all modes.
Serhiy Storchaka [Mon, 13 Jan 2014 17:07:33 +0000 (19:07 +0200)]
Test the open of non-exitent tarfile in all modes.

10 years agoFixed typo.
Serhiy Storchaka [Mon, 13 Jan 2014 12:23:18 +0000 (14:23 +0200)]
Fixed typo.

11 years agoIssue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and...
Senthil Kumaran [Mon, 13 Jan 2014 00:06:58 +0000 (16:06 -0800)]
Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.

11 years agoIssue #20138: The wsgiref.application_uri() and wsgiref.request_uri()
Serhiy Storchaka [Sun, 12 Jan 2014 10:08:11 +0000 (12:08 +0200)]
Issue #20138: The wsgiref.application_uri() and wsgiref.request_uri()
functions now conform to PEP 3333 when handle non-ASCII URLs.

11 years agomerge heads
Georg Brandl [Sun, 12 Jan 2014 07:10:39 +0000 (08:10 +0100)]
merge heads

11 years agoDoc: update Sphinx toolchain also in make.bat
Georg Brandl [Sun, 12 Jan 2014 07:09:01 +0000 (08:09 +0100)]
Doc: update Sphinx toolchain also in make.bat

11 years agoIssue #19092 - Raise a correct exception when cgi.FieldStorage is given an
Senthil Kumaran [Sun, 12 Jan 2014 06:20:16 +0000 (22:20 -0800)]
Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an
invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage
object.

11 years agoUpdate Sphinx toolchain.
Georg Brandl [Sat, 11 Jan 2014 19:04:19 +0000 (20:04 +0100)]
Update Sphinx toolchain.

11 years agotkinter.Text.debug() now always returns 0/1.
Serhiy Storchaka [Sat, 11 Jan 2014 11:13:46 +0000 (13:13 +0200)]
tkinter.Text.debug() now always returns 0/1.
Fixed a regression inroduced in issue #6157.

11 years agoFixed the serve.py script.
Serhiy Storchaka [Sat, 11 Jan 2014 09:52:20 +0000 (11:52 +0200)]
Fixed the serve.py script.
The application object must return an iterable yielding bytestrings.

11 years agoTry to fix some ttk tests. Error messages were changed in 8.6b3.
Serhiy Storchaka [Fri, 10 Jan 2014 22:10:04 +0000 (00:10 +0200)]
Try to fix some ttk tests.  Error messages were changed in 8.6b3.

11 years agofix build when SCHED_SPORADIC is defined (closes #20217)
Benjamin Peterson [Fri, 10 Jan 2014 15:22:40 +0000 (09:22 -0600)]
fix build when SCHED_SPORADIC is defined (closes #20217)

11 years agoIssue #19804: The test_find_mac test in test_uuid is now skipped if the
Serhiy Storchaka [Fri, 10 Jan 2014 13:06:59 +0000 (15:06 +0200)]
Issue #19804: The test_find_mac test in test_uuid is now skipped if the
ifconfig executable is not available.

11 years agoIssue #19886: Use better estimated memory requirements for bigmem tests.
Serhiy Storchaka [Fri, 10 Jan 2014 11:37:54 +0000 (13:37 +0200)]
Issue #19886: Use better estimated memory requirements for bigmem tests.
Incorrect requirements can cause memory swapping.

11 years agoIssue #13107: argparse and optparse no longer raises an exception when output
Serhiy Storchaka [Thu, 9 Jan 2014 21:14:27 +0000 (23:14 +0200)]
Issue #13107: argparse and optparse no longer raises an exception when output
a help on environment with too small COLUMNS.  Based on patch by
Elazar Gershuni.

11 years agoTry to fix test_ssl failures on some buildbots
Antoine Pitrou [Thu, 9 Jan 2014 20:28:48 +0000 (21:28 +0100)]
Try to fix test_ssl failures on some buildbots

11 years agoRemove conditional: it is useless at this point (OpenSSL headers are not yet included)
Antoine Pitrou [Thu, 9 Jan 2014 19:07:41 +0000 (20:07 +0100)]
Remove conditional: it is useless at this point (OpenSSL headers are not yet included)

11 years agoIssue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked...
Antoine Pitrou [Thu, 9 Jan 2014 19:02:20 +0000 (20:02 +0100)]
Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.

11 years agoDo not reset the line number because we already set file position to correct
Serhiy Storchaka [Thu, 9 Jan 2014 18:12:49 +0000 (20:12 +0200)]
Do not reset the line number because we already set file position to correct
value.

(fixes error in patch for issue #18960)

11 years agoclear zip stat cache after each ref leak run
Benjamin Peterson [Thu, 9 Jan 2014 17:10:30 +0000 (11:10 -0600)]
clear zip stat cache after each ref leak run

11 years agoIssue #18960: Fix bugs with Python source code encoding in the second line.
Serhiy Storchaka [Thu, 9 Jan 2014 16:36:09 +0000 (18:36 +0200)]
Issue #18960: Fix bugs with Python source code encoding in the second line.

* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.

* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.

* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.

* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.

* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.

* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.

11 years agofix zipimport ref leak
Benjamin Peterson [Thu, 9 Jan 2014 15:36:10 +0000 (09:36 -0600)]
fix zipimport ref leak

11 years agoIssue #20078: Reading malformed zipfiles no longer hangs with 100% CPU
Serhiy Storchaka [Thu, 9 Jan 2014 12:50:20 +0000 (14:50 +0200)]
Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPU
consumption.

11 years agoFix verb tense in base64 docs, and the phrasing of a news entry.
R David Murray [Wed, 8 Jan 2014 23:09:29 +0000 (18:09 -0500)]
Fix verb tense in base64 docs, and the phrasing of a news entry.

11 years agoIssue #20113: Fix test_posix on OpenIndiana
Victor Stinner [Wed, 8 Jan 2014 15:01:31 +0000 (16:01 +0100)]
Issue #20113: Fix test_posix on OpenIndiana

11 years agoIssue #20113: os.readv() and os.writev() now raise an OSError exception on
Victor Stinner [Wed, 8 Jan 2014 14:21:28 +0000 (15:21 +0100)]
Issue #20113: os.readv() and os.writev() now raise an OSError exception on
error instead of returning -1.

11 years agoFixes Issue #19081: When a zipimport .zip file in sys.path being imported from
Gregory P. Smith [Wed, 8 Jan 2014 02:30:07 +0000 (18:30 -0800)]
Fixes Issue #19081: When a zipimport .zip file in sys.path being imported from
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).

11 years agoIssue #20072: Fixed multiple errors in tkinter with wantobjects is False.
Serhiy Storchaka [Tue, 7 Jan 2014 17:27:42 +0000 (19:27 +0200)]
Issue #20072: Fixed multiple errors in tkinter with wantobjects is False.

* Misc.image_names(), Misc.image_types(), Wm.wm_colormapwindows(), and
  LabelFrame.panes() now always return a tuple.
* Fixed error of comparing str and int in tt.LabeledScale._adjust().
* ttk.Notebook.index() now always returns int.
* ttk.Notebook.tabs() now always returns a tuple.
* ttk.Entry.bbox() now always returns a tuple of ints.
* ttk.Entry.validate() now always correctly works.
* ttk.Combobox.current() now always returns int.
* ttk.Panedwindow.sashpos() now always returns int.
* ttk.Treeview.bbox() now always returns a tuple of ints.
* ttk.Treeview.get_children() now always returns a tuple.
* ttk.Treeview.exists() now always correctly works.
* ttk.Treeview.index() now always returns int.
* ttk.Treeview.tag_has() now always returns 0 or 1.
* And numerous other errors in methods which returns a tuple, list or dict.
* Fixed ttk tests for wantobjects is False.

11 years agoWhitespace.
Stefan Krah [Sat, 4 Jan 2014 12:03:48 +0000 (13:03 +0100)]
Whitespace.

11 years agoRegenerate python34stub.def.
Martin v. Löwis [Sat, 4 Jan 2014 10:20:45 +0000 (11:20 +0100)]
Regenerate python34stub.def.

11 years agoIssue #17432: Drop UCS2 from names of Unicode functions in python3.def.
Martin v. Löwis [Sat, 4 Jan 2014 09:01:42 +0000 (10:01 +0100)]
Issue #17432: Drop UCS2 from names of Unicode functions in python3.def.

11 years agocorrect word for __annotations__ doc (closes #20110)
Benjamin Peterson [Thu, 2 Jan 2014 22:47:50 +0000 (16:47 -0600)]
correct word for __annotations__ doc (closes #20110)

Patch from Claudiu Popa.

11 years ago#17282: Document unittest.main defaultTest argument.
R David Murray [Thu, 2 Jan 2014 18:37:26 +0000 (13:37 -0500)]
#17282: Document unittest.main defaultTest argument.

11 years agoavoid parameter name clash (closes #20108)
Benjamin Peterson [Thu, 2 Jan 2014 18:24:08 +0000 (12:24 -0600)]
avoid parameter name clash (closes #20108)

11 years agoremove brackets
Benjamin Peterson [Thu, 2 Jan 2014 18:22:30 +0000 (12:22 -0600)]
remove brackets

11 years agoIssue #20101: Allow test_monotonic to pass on Windows machines on which
Zachary Ware [Thu, 2 Jan 2014 15:41:10 +0000 (09:41 -0600)]
Issue #20101: Allow test_monotonic to pass on Windows machines on which
time.get_clock_info('monotonic').resolution == 0.015600099999999999

This is just a workaround pending a real resolution to #20101.

11 years agoIssue #18829: Add tests for the csv module for invalid characters (delimiter,
Victor Stinner [Thu, 2 Jan 2014 11:53:13 +0000 (12:53 +0100)]
Issue #18829: Add tests for the csv module for invalid characters (delimiter,
escapechar, quotechar)

11 years agoparser: fix usage of Py_BuildValue() to build a parser error
Victor Stinner [Thu, 2 Jan 2014 10:49:27 +0000 (11:49 +0100)]
parser: fix usage of Py_BuildValue() to build a parser error

Fix typo: "os" format => "Os"

11 years agoUpdate copyright dates in Mac plists.
Ned Deily [Wed, 1 Jan 2014 21:05:03 +0000 (13:05 -0800)]
Update copyright dates in Mac plists.

11 years agoupdate copyright year
Benjamin Peterson [Wed, 1 Jan 2014 04:02:22 +0000 (22:02 -0600)]
update copyright year

11 years agoIssue #20055: Fix test_shutil under Windows with symlink privileges held.
Antoine Pitrou [Wed, 1 Jan 2014 01:50:45 +0000 (02:50 +0100)]
Issue #20055: Fix test_shutil under Windows with symlink privileges held.
Patch by Vajrasky Kok.

11 years agoClarify the wording of a news entry.
R David Murray [Tue, 31 Dec 2013 22:33:47 +0000 (17:33 -0500)]
Clarify the wording of a news entry.

11 years agostr subclasses may have non-empty __slots__, bytes subclasses can't.
Zachary Ware [Tue, 31 Dec 2013 18:09:26 +0000 (12:09 -0600)]
str subclasses may have non-empty __slots__, bytes subclasses can't.

11 years agoBackporing the fix from Issue #12692
Senthil Kumaran [Sun, 29 Dec 2013 01:36:18 +0000 (17:36 -0800)]
Backporing the fix from Issue #12692

11 years agoIssue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather...
Antoine Pitrou [Sat, 28 Dec 2013 16:26:33 +0000 (17:26 +0100)]
Issue #19422: Explicitly disallow non-SOCK_STREAM sockets in the ssl module, rather than silently let them emit clear text data.

11 years ago#18116: backport fix to 3.3 since real-world failure mode demonstrated.
R David Murray [Fri, 27 Dec 2013 16:24:32 +0000 (11:24 -0500)]
#18116: backport fix to 3.3 since real-world failure mode demonstrated.

In issue 20074 it was pointed out that getpass would fail with a traceback if
stdin was, for example /dev/null, which is a non-unlikely scenario.

Also backported the tests from issue 17484 as modified by issue 18116.

(What I really did was copy getpass.py and test_getpass.py from their
state on tip as of 17bd04fbf3d3).

11 years agoIssue #20027: Fixed locale aliases for devanagari locales.
Serhiy Storchaka [Thu, 26 Dec 2013 19:20:59 +0000 (21:20 +0200)]
Issue #20027: Fixed locale aliases for devanagari locales.

11 years agoIssue #20067: Tkinter variables now work when wantobjects is false.
Serhiy Storchaka [Thu, 26 Dec 2013 18:06:05 +0000 (20:06 +0200)]
Issue #20067: Tkinter variables now work when wantobjects is false.

11 years agoIssue #19938: Re-enabled test_bug_1333982 in test_dis, which had been
Zachary Ware [Thu, 26 Dec 2013 15:53:49 +0000 (09:53 -0600)]
Issue #19938: Re-enabled test_bug_1333982 in test_dis, which had been
disabled since 3.0 due to the changes in listcomp handling.

11 years agotest_debug in test_tkinter/test_text no longer fails when wantobjects is false.
Serhiy Storchaka [Wed, 25 Dec 2013 15:35:24 +0000 (17:35 +0200)]
test_debug in test_tkinter/test_text no longer fails when wantobjects is false.

11 years agoIssue #19320: test_tcl no longer fails when wantobjects is false.
Serhiy Storchaka [Wed, 25 Dec 2013 15:29:01 +0000 (17:29 +0200)]
Issue #19320: test_tcl no longer fails when wantobjects is false.