[issue27963] null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_errors

2016-09-05 Thread Minh Râu
Minh Râu added the comment: the patch look good. Thank Xiang -- ___ Python tracker ___ ___ Python-bugs-list

[issue27963] null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_errors

2016-09-05 Thread Xiang Zhang
Xiang Zhang added the comment: issue27963.patch tries to fix the crash caused by not enough memory and avoid inconsistent state when failure. -- keywords: +patch Added file: http://bugs.python.org/file44390/issue27963.patch ___ Python tracker

[issue27966] PEP-397 documents incorrect registry path

2016-09-05 Thread Mark Hammond
New submission from Mark Hammond: Received via email: PEP-397 (PEP 397 -- Python launcher for Windows) says: """ The launcher installation is registered in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CurrentVersion\SharedDLLs with a reference counter. """ There is no such entry. It should be

[issue27889] ctypes interfers with signal handling

2016-09-05 Thread Andre Merzky
Andre Merzky added the comment: > The repro is tied to the time.sleep call in the try block. If I do > time.sleep(1) Yes - if both sleeps, the one in the `try` block and the one in the thread's routine (`sub`) are equal, then you'll have the typical race, and you can well be in the

[issue27962] null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_encoding

2016-09-05 Thread Xiang Zhang
Xiang Zhang added the comment: I suggest close this as duplicate of issue27963 and fix these all in that issue. -- ___ Python tracker ___

[issue27137] Python implementation of `functools.partial` is not a class

2016-09-05 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks for the nudge, and sorry for getting distracted! I won't be able to get to this today, but I'll definitely handle it in time for the deadline :) -- ___ Python tracker

[issue27963] null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_errors

2016-09-05 Thread Xiang Zhang
Xiang Zhang added the comment: Ooh, I treat dereference as decref, sorry. Then I think it may happen when there is not enough memory. But your patch is not complete, at least you should Py_DECREF(result). But this function may need more care since the malloc failure in it will alter states.

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: > Also, the Gentoo buildbots fail: > http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%203.x/builds/1368/steps/test/logs/stdio > == > ERROR: test_aead_aes_gcm

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: Nick Coghlan added the comment: > a. How do folks feel about providing a new "text" parameter to replace the > cryptic "universal_newlines=True" that would explicitly be equivalent to > "universal newlines with sys.getdefaultencoding()"? If it's just

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: Martin Panter added the comment: > Also, should encoding=... or errors=... be an error if > universal_newlines=False (the default)? Right. But if encoding or errors is used, universal_newlines value should be set automatically to True. For example, I expect

[issue27965] automatic .py extension

2016-09-05 Thread Martin Panter
Changes by Martin Panter : -- assignee: -> terry.reedy components: +IDLE nosy: +terry.reedy type: performance -> behavior ___ Python tracker

[issue27965] automatic .py extension

2016-09-05 Thread Marcquise Washington
Changes by Marcquise Washington : -- type: behavior -> ___ Python tracker ___ ___

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: Steve: > You may be right about leaving out the opener API. The only use of it right > now is for separate encodings, but I don't know how valuable that is. My proposal is: Popen(cmd, stdin={'encoding': 'oem'}, stdout={'encoding': 'ansi'}) The dict would just

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Martin Panter
Martin Panter added the comment: Also, the Gentoo buildbots fail: http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%203.x/builds/1368/steps/test/logs/stdio == ERROR: test_aead_aes_gcm

[issue27866] ssl: get list of enabled ciphers

2016-09-05 Thread Martin Panter
Martin Panter added the comment: Fails on the Gentoo buildbots: http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%20with%20X%203.x/builds/1368/steps/test/logs/stdio == ERROR: test_get_ciphers

[issue27962] null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_encoding

2016-09-05 Thread Xiang Zhang
Xiang Zhang added the comment: Same as my comment in issue27963. Python 2.7.12+ (2.7:de9e410e78d8, Sep 6 2016, 12:28:48) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ctypes >>> >>> s = 'a'*(0x/2-0x) >>> sss =

[issue27963] null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_errors

2016-09-05 Thread Xiang Zhang
Xiang Zhang added the comment: Hmm, I tested the example snippet but it works. And PyMem_Free shouldn't fail when encounter NULL. The doc explicitly says "If p is NULL, no operation is performed". -- nosy: +xiang.zhang ___ Python tracker

[issue27938] PyUnicode_AsEncodedString, PyUnicode_Decode: add fast-path for "us-ascii" encoding

2016-09-05 Thread Martin Panter
Martin Panter added the comment: It seems this change is the cause of the Free BSD buildbot failures. From memory, both failing cases involve sending or receiving non-ASCII bytes in child Python processes.

[issue27965] automatic .py extension

2016-09-05 Thread Marcquise Washington
New submission from Marcquise Washington: I am experiencing an issue where when I finish coding a program and I go to save file, just before running the program, I have manually add the .py extension, instead of the extension being already embedded with the file name, given that I am saving

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Nick Coghlan
Nick Coghlan added the comment: A couple of high level questions: a. How do folks feel about providing a new "text" parameter to replace the cryptic "universal_newlines=True" that would explicitly be equivalent to "universal newlines with sys.getdefaultencoding()"? b. Given (a), what if the

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Martin Panter
Martin Panter added the comment: Would be nice to see tests for getstatusoutput() and the errors parameter. Also you need more error handling e.g. if the encoding is unsupported, I think the internal pipe files won’t be cleaned up. Also, should encoding=... or errors=... be an error if

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Martin Panter
Martin Panter added the comment: Despite the last changes, test_aes_cbc() hangs for fifteen minutes: http://buildbot.python.org/all/builders/x86-64%20Ubuntu%2015.10%20Skylake%20CPU%203.x/builds/1298/steps/test/logs/stdio running: test_socket (900 sec) 0:28:47 [332/402] test_socket crashed

[issue27964] Add random.shuffled

2016-09-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Sorry Steven, I concur with Tim and am going to reject this one. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue27964] Add random.shuffled

2016-09-05 Thread Tim Peters
Tim Peters added the comment: I'm at best -0 on the idea: very easy to get the effect without it, and hard to imagine it's needed frequently. `sorted()` is also very easy to mimic, but is used often by all sorts of code. For example, to display output in a `for key in sorted(dict):` loop,

Re: Pythons for .Net

2016-09-05 Thread Denis Akhiyarov
On Saturday, September 3, 2016 at 8:53:18 PM UTC-5, Steve D'Aprano wrote: > On Sat, 3 Sep 2016 12:34 pm, Denis Akhiyarov wrote: > > > Finally if anyone can contact Christian Heimes (Python Core Developer), > > then please ask him to reply on request to update the license to MIT: > > > >

[issue27960] Distutils tests are broken in 3.4

2016-09-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: Confirmed working here now. $ hg id -i 556a11c11edd $ ./python.exe -m test test_distutils [1/1] test_distutils 1 test OK. -- ___ Python tracker

[issue27964] Add random.shuffled

2016-09-05 Thread Steven D'Aprano
New submission from Steven D'Aprano: An occasionally requested feature is for a shuffled() function, related to the in-place random.shuffle() as sorted() is to list.sort(). See the latest example: https://mail.python.org/pipermail/python-ideas/2016-September/042096.html -- messages:

[issue27960] Distutils tests are broken in 3.4

2016-09-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: I believe this is fixed now. I'll be testing locally, but please don't hesitate to let me know if you find otherwise. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue27960] Distutils tests are broken in 3.4

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 556a11c11edd by Jason R. Coombs in branch '3.4': Issue #27960: Revert state to 675e20c38fdac6, backing out all changes by developed for Issue #12885. https://hg.python.org/cpython/rev/556a11c11edd New changeset b442744d2d22 by Jason R. Coombs in

[issue12885] distutils.filelist.findall() fails on broken symlink in Py2.x

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 556a11c11edd by Jason R. Coombs in branch '3.4': Issue #27960: Revert state to 675e20c38fdac6, backing out all changes by developed for Issue #12885. https://hg.python.org/cpython/rev/556a11c11edd --

[issue27960] Distutils tests are broken in 3.4

2016-09-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: I invoked `hg revert --all -r 675e20c38fdac6` at the 3.4 head, and that effectively reverted everything to its state prior to the commits. -- ___ Python tracker

[issue27779] Sync-up docstrings in C version of the the decimal module

2016-09-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: Lisa is not a committer. The assignment means that she is working on the patch. BTW, the decimal package has long been my area as well (writing a C implementation does not give you exclusive decision making over the docstrings.) --

[issue27355] Strip out the last lingering vestiges of Windows CE support

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0ce745bb7717 by Martin Panter in branch 'default': Issue #27355: Import no longer needed https://hg.python.org/cpython/rev/0ce745bb7717 -- ___ Python tracker

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Steve Dower
Steve Dower added the comment: You may be right about leaving out the opener API. The only use of it right now is for separate encodings, but I don't know how valuable that is. I'll pull it out tomorrow and just leave the encoding parameter. -- ___

[issue27960] Distutils tests are broken in 3.4

2016-09-05 Thread Jason R. Coombs
Jason R. Coombs added the comment: Sorry you've had to spend any time on this. I'll get it corrected immediately. -- ___ Python tracker ___

[issue27963] null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_errors

2016-09-05 Thread Minh Râu
Changes by Minh Râu : -- title: null poiter dereference in set_conversion_mode dua uncheck _ctypes_conversion_errors -> null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_errors ___ Python

[issue27922] Make IDLE tests less flashy

2016-09-05 Thread Xiang Zhang
Xiang Zhang added the comment: It's fine, knowing that the maintainer thinks this behaviour is okay. :) -- ___ Python tracker ___

[issue27962] null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_encoding

2016-09-05 Thread Minh Râu
Changes by Minh Râu : -- title: null poiter dereference in set_conversion_mode dua uncheck _ctypes_conversion_encoding -> null poiter dereference in set_conversion_mode due uncheck _ctypes_conversion_encoding ___ Python

[issue27963] null poiter dereference in set_conversion_mode dua uncheck _ctypes_conversion_errors

2016-09-05 Thread Minh Râu
Changes by Minh Râu : -- type: -> security ___ Python tracker ___ ___

[issue27963] null poiter dereference in set_conversion_mode dua uncheck _ctypes_conversion_errors

2016-09-05 Thread Minh Râu
New submission from Minh Râu: Description: Null dereference in function set_conversion_mode due uncheck _ctypes_conversion_errors: static PyObject * set_conversion_mode(PyObject *self, PyObject *args) { char *coding, *mode; PyObject *result; ...

[issue27962] null poiter dereference in set_conversion_mode dua uncheck _ctypes_conversion_encoding

2016-09-05 Thread Minh Râu
New submission from Minh Râu: Description: Null dereference in function set_conversion_mode due uncheck _ctypes_conversion_encoding: static PyObject * set_conversion_mode(PyObject *self, PyObject *args) { ... if (coding) { PyMem_Free(_ctypes_conversion_encoding);

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Added tests. -- Added file: http://bugs.python.org/file44389/6135_2.patch ___ Python tracker ___

[issue27959] Add 'oem' encoding

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Addressed most of the feedback, though I think having a fallback search function instead of the alias is better. -- Added file: http://bugs.python.org/file44388/27959_2.patch ___ Python tracker

[issue27960] Distutils tests are broken in 3.4

2016-09-05 Thread Martin Panter
Martin Panter added the comment: Probably related to the changes and Issue 12885. Most of the changes were probably reverted from 3.4 in revision e82b995d1a5c, but it looks like we also need to fully revert

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure that about "advanced API" to specify an encoding per stream, or even change other parameters like buffering or newlines. I suggest to start with the least controversal part: add encoding and errors and only accept a string. More patches can come

[issue27889] ctypes interfers with signal handling

2016-09-05 Thread George Slavin
George Slavin added the comment: I can reproduce this issue with Python 2.7.12 and Python 3.5.2 on a Arch linux VM using the python script provided, but I think this is an error in the code. The repro is tied to the time.sleep call in the try block. If I do time.sleep(1), I can reproduce

[issue27959] Add 'oem' encoding

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Forgot to include the oem.py file in that patch, but it's basically identical to mbcs.py except calling 'oem_encode' and 'oem_decode'. It'll be in the next one -- ___ Python tracker

[issue27961] remove support for platforms without "long long"

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9206a86f7321 by Benjamin Peterson in branch 'default': require a long long data type (closes #27961) https://hg.python.org/cpython/rev/9206a86f7321 -- nosy: +python-dev resolution: -> fixed stage: patch review -> resolved status: open ->

[issue27961] remove support for platforms without "long long"

2016-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: MSVC 2008 (at least) is documented to have "long long", too. https://msdn.microsoft.com/en-us/library/s3f49ktz(v=vs.90).aspx In fact, after this patch, I'm probably going to go s/PY_LONG_LONG/long long/. -- ___

[issue27961] remove support for platforms without "long long"

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: Python/pytime.c of Python 3.5 requires a 64-bit integer type and Py_LONG_LONG. Nobody complains, so I'm in favor of dropping all these annoying HAVE_LONG_LONG and just use directly Py_LONG_LONG. It should simplify the code at lot! By the way, it would be cool

[issue27961] remove support for platforms without "long long"

2016-09-05 Thread Martin Panter
Martin Panter added the comment: Makes sense if it already doesn’t work without HAVE_LONG_LONG. This also came up in discussion of adding a BLAKE2 hash algorithm: . FWIW the normal

[issue27959] Add 'oem' encoding

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Initial patch attached - tests to follow. -- keywords: +patch Added file: http://bugs.python.org/file44387/27959_1.patch ___ Python tracker

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Initial patch attached - tests to follow. -- Added file: http://bugs.python.org/file44386/6135_1.patch ___ Python tracker

[issue27940] xml.etree: Avoid XML declaration for the "ascii" encoding

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: New patch: * Avoid codecs.lookup() for method != "xml" * More unit tests -- Added file: http://bugs.python.org/file44385/etree_xml_declaration-2.patch ___ Python tracker

[issue27961] remove support for platforms without "long long"

2016-09-05 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file44384/longlong.patch ___ Python tracker

[issue26896] mix-up with the terms 'importer', 'finder', 'loader' in the import system and related code

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: The documentation changes made as part of this issue were applicable to 3.5 branch too. I had to touch the docs in this area as part of issue20842, and ended up with two patches one for 3.5 and another 3.6. I think, it is a good idea to backport the change

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: Change committed. - 3.5 * 103098:ecbad01262c8 - default * 103099:ee58ece83391 -- resolution: -> fixed stage: patch review -> commit review status: open -> closed ___ Python tracker

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: This is 3.3 version of patch attached. -- Added file: http://bugs.python.org/file44383/issue20842-3.3-v5.patch ___ Python tracker

[issue27137] Python implementation of `functools.partial` is not a class

2016-09-05 Thread Emanuel Barry
Emanuel Barry added the comment: We're one week from the feature freeze, seems like a good time to merge this :) -- ___ Python tracker ___

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-05 Thread Emanuel Barry
Emanuel Barry added the comment: Updated and rebased patch. There's a few file tweaks here and there to stay up to date, otherwise it's mostly the same. Martin, it may look like I've ignored your comments, but I'm trying to keep the patches as simple as possible, and so I don't want to go

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: For 3.5 version of patch, we have bring in some additional changes from issue26896 which properly clarified finder from importer. These changes are not required in the default branch. -- ___ Python tracker

[issue27961] remove support for platforms without "long long"

2016-09-05 Thread Benjamin Peterson
New submission from Benjamin Peterson: Neither Python 2.7 nor 3.3+ compile without HAVE_LONG_LONG, so effectively this is already completely unsupported. Let's completely dump it in 3.6. -- components: Interpreter Core messages: 274473 nosy: benjamin.peterson priority: normal severity:

Re: manually sorting images?

2016-09-05 Thread Tony van der Hoff
On 04/09/16 09:53, Ulli Horlacher wrote: > I need to sort images (*.jpg), visually, not by file name. > It looks, there is no standard UNIX tool for this job? > There is a very good tutorial here: http://www.pyimagesearch.com/2014/12/01/complete-guide-building-image-search-engine-python-opencv/

[issue27960] Distutils tests are broken in 3.4

2016-09-05 Thread Larry Hastings
New submission from Larry Hastings: 3.4.5 shipped with a working test suite. Since the release of 3.4.5 somebody broke test_distutils in the 3.4 branch. It needs to be fixed. jason.coombs: AFAICT you were the last person to touch it. Are you the one who broke it? % ./python -m test

Re: listdir

2016-09-05 Thread breamoreboy
On Monday, September 5, 2016 at 4:34:45 PM UTC+1, Rustom Mody wrote: > So what do you get when you replace the if-else with a simple: print(file) ? > > [And BTW dont use the variable name “file” its um sacred] Only in Python 2, it's gone from the built-ins in Python 3

[issue27959] Add 'oem' encoding

2016-09-05 Thread Steve Dower
Steve Dower added the comment: While I'm here, should also move `aliasmbcs` from site.py into initialization - no reason for this behaviour to depend on importing site. -- ___ Python tracker

[issue27959] Add 'oem' encoding

2016-09-05 Thread Steve Dower
New submission from Steve Dower: Currently the ANSI encoding is available on Windows as 'mbcs', however the OEM encoding (sometimes used by console-based applications) is not easily available. The implementation is identical to PyUnicode_DecodeMBCS[Stateful], simply passing CP_OEM instead of

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Steve Dower
Steve Dower added the comment: 'mbcs' is exactly equivalent to what 'ansi' would be, so that's just a matter of knowing the name. I'm okay with adding an alias for it though. -- ___ Python tracker

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: > * add 'oem' encoding to make it easy to choose (but don't try and guess when > it is used) I suggest to open a separated issue for that. By the way, you might also add "ansi"? See also the aliasmbcs() function of the site module. Note: I never liked that

[issue6135] subprocess seems to use local encoding and give no choice

2016-09-05 Thread Steve Dower
Steve Dower added the comment: I'll prepare a patch for the following: * add encoding and errors parameters to subprocess functions * add 'oem' encoding to make it easy to choose (but don't try and guess when it is used) EITHER * allow string or 2-tuple (stdin, stdout/err) or 3-tuple (stdin,

[issue27179] subprocess uses wrong encoding on Windows

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Chatting about this with Victor we've decided to close this as a duplicate of issue6135 and continue the discussion there, and also focus mainly on exposing the parameter rather than trying to guess the correct encoding. I'll post more details on issue6135.

[issue20366] SQLite FTS (full text search)

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d52f10a0f10d by Zachary Ware in branch 'default': Closes #20366: Build full text search support into SQLite on Windows https://hg.python.org/cpython/rev/d52f10a0f10d -- nosy: +python-dev resolution: -> fixed stage: needs patch -> resolved

[issue27958] 'zlib compression' not found in set(['RLE', 'ZLIB', None])

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d92f26a53b70 by Christian Heimes in branch 'default': Issue #26470: Use short name rather than name for compression name to fix #27958. https://hg.python.org/cpython/rev/d92f26a53b70 -- ___ Python

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2016-09-05 Thread Senthil Kumaran
Senthil Kumaran added the comment: I agree with the comment made by Oren. Not all instances of finder should be referenced as generic finder. Some classes and functions are are still PEP 302 specific finder. In the commit, 3987667bf98f Nick Coghlan modified the following functions to to use

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset d92f26a53b70 by Christian Heimes in branch 'default': Issue #26470: Use short name rather than name for compression name to fix #27958. https://hg.python.org/cpython/rev/d92f26a53b70 -- ___ Python

[issue27958] 'zlib compression' not found in set(['RLE', 'ZLIB', None])

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5566732c8ac5 by Christian Heimes in branch '3.5': Issue #26470: Use short name rather than name for compression name to fix #27958. https://hg.python.org/cpython/rev/5566732c8ac5 New changeset 2593ed9a6a62 by Christian Heimes in branch '2.7':

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5566732c8ac5 by Christian Heimes in branch '3.5': Issue #26470: Use short name rather than name for compression name to fix #27958. https://hg.python.org/cpython/rev/5566732c8ac5 New changeset 2593ed9a6a62 by Christian Heimes in branch '2.7':

[issue27748] Simplify test_winsound

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset fb74947843eb by Zachary Ware in branch '2.7': Issue #27748: Backed out changeset 6137d0ed0a15 https://hg.python.org/cpython/rev/fb74947843eb New changeset e85ce70b73b3 by Zachary Ware in branch '3.5': Issue #27748: Backed out changeset f845e24d794e

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ebe3ade6922 by Christian Heimes in branch 'default': Issue 27744: AES-CBC and DRBG need Kernel 3.19+ https://hg.python.org/cpython/rev/4ebe3ade6922 -- ___ Python tracker

[issue27938] PyUnicode_AsEncodedString, PyUnicode_Decode: add fast-path for "us-ascii" encoding

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: > See also get_standard_encoding() in Python/codecs.c. I suppose it is faster. I understand that PyCodec_SurrogatePassErrors() is already called with a normalized encoding name. With my enhanced _Py_normalize_encoding(), strange syntaxes like " utf 8 " also

[issue27915] Use 'ascii' instead of 'us-ascii' to bypass lookup machinery

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: Since "us-ascii" got a fast-path thanks to the issue #27938, this patch is not needed anymore. -- resolution: -> out of date status: open -> closed ___ Python tracker

[issue27938] PyUnicode_AsEncodedString, PyUnicode_Decode: add fast-path for "us-ascii" encoding

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 99818330b4c0 by Victor Stinner in branch 'default': Issue #27938: Add a fast-path for us-ascii encoding https://hg.python.org/cpython/rev/99818330b4c0 -- nosy: +python-dev ___ Python tracker

[issue27106] configparser.__all__ is incomplete

2016-09-05 Thread Łukasz Langa
Łukasz Langa added the comment: I'm still not convinced this change is *useful*. The list of incompatibilities in Python 3.6 in whatsnew is going to be used retrospectively by people already affected by a production issue, googling for an explanation as to what went wrong. I like the idea of

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee32af890e27 by Christian Heimes in branch 'default': Issue 27744: Check for AF_ALG support in Kernel https://hg.python.org/cpython/rev/ee32af890e27 -- ___ Python tracker

[issue25387] sound_msgbeep doesn't check the return value of MessageBeep

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: I decided not to backport. If anyone else would like to, I won't stand in their way. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.5 ___ Python

[issue25387] sound_msgbeep doesn't check the return value of MessageBeep

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e5b3dc049cc by Zachary Ware in branch 'default': Issue #25387: Check return value of winsound.MessageBeep https://hg.python.org/cpython/rev/4e5b3dc049cc -- nosy: +python-dev ___ Python tracker

Re: Installing python

2016-09-05 Thread Wildman via Python-list
On Mon, 05 Sep 2016 20:01:08 +, alister wrote: > On Mon, 05 Sep 2016 12:46:58 -0700, emaraiza98 wrote: > >> I installed pycharm for a computer science class I'm taking, and also >> downloaded python 3.5.2. However, my computer for some reason won't use >> 3.5.2 and my professor told me I

[issue27748] Simplify test_winsound

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6137d0ed0a15 by Zachary Ware in branch '2.7': Issue #27748: strengthen test_alias_nofallback https://hg.python.org/cpython/rev/6137d0ed0a15 New changeset f845e24d794e by Zachary Ware in branch '3.5': Issue #27748: strengthen test_alias_nofallback

[issue24254] Make class definition namespace ordered by default

2016-09-05 Thread Eric Snow
Changes by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue1602] windows console doesn't print or input Unicode

2016-09-05 Thread Steve Dower
Steve Dower added the comment: Updated patch. This implements everything we've been discussing on python-dev -- Added file: http://bugs.python.org/file44379/1602_3.patch ___ Python tracker

[issue27928] Add hashlib.scrypt

2016-09-05 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file44380/hashlib.scrypt.patch ___ Python tracker ___

[issue27958] 'zlib compression' not found in set(['RLE', 'ZLIB', None])

2016-09-05 Thread Christian Heimes
New submission from Christian Heimes: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%202.7/builds/1397/steps/test/logs/stdio fails: == FAIL: test_compression (test.test_ssl.ThreadedTests)

[issue27355] Strip out the last lingering vestiges of Windows CE support

2016-09-05 Thread Larry Hastings
Larry Hastings added the comment: Committed. Bye bye Windows CE! -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

[issue27355] Strip out the last lingering vestiges of Windows CE support

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a2eccee823b by Larry Hastings in branch 'default': Issue #27355: Removed support for Windows CE. It was never finished, https://hg.python.org/cpython/rev/7a2eccee823b -- nosy: +python-dev ___ Python

[issue27928] Add hashlib.scrypt

2016-09-05 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file44351/Add-hashlib.scrypt-3.patch ___ Python tracker ___

[issue27928] Add hashlib.scrypt

2016-09-05 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file44326/Add-hashlib.scrypt.patch ___ Python tracker ___

[issue27928] Add hashlib.scrypt

2016-09-05 Thread Christian Heimes
Changes by Christian Heimes : Removed file: http://bugs.python.org/file44344/Add-hashlib.scrypt-2.patch ___ Python tracker ___

[issue27744] Add AF_ALG (Linux Kernel crypto) to socket module

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52404f9596b5 by Christian Heimes in branch 'default': Issue #27744: correct comment and markup https://hg.python.org/cpython/rev/52404f9596b5 -- ___ Python tracker

[issue27355] Strip out the last lingering vestiges of Windows CE support

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: LGTM on Win32, Win64, and OSX. -- ___ Python tracker ___ ___ Python-bugs-list

[issue27866] ssl: get list of enabled ciphers

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca8d7cb55a8e by Christian Heimes in branch 'default': Issue #27866: Add SSLContext.get_ciphers() method to get a list of all enabled ciphers. https://hg.python.org/cpython/rev/ca8d7cb55a8e -- nosy: +python-dev

  1   2   >