[issue27781] Change sys.getfilesystemencoding() on Windows to UTF-8

2016-09-05 Thread Nick Coghlan
Nick Coghlan added the comment: I belatedly remembered I've had this new test case hanging around for a while, and never got around to getting it into shape for inclusion in the standard library. With the prospect of reasonable cross-platform consistency in this area, it could be a good thing

[issue26415] Excessive peak memory consumption by the Python parser

2016-09-05 Thread A. Skrobov
A. Skrobov added the comment: Updated the comment for Init_ValidationGrammar() -- Added file: http://bugs.python.org/file44370/patch ___ Python tracker ___ __

[issue19500] Add client-side SSL session resumption

2016-09-05 Thread Xiang Zhang
Xiang Zhang added the comment: Patch LGTM. But one thing is that every time it returns a new instance of SSL.Session. That means ssl_sock.session == ssl_sock.session will always return False right now. Is it useful to make it comparable? -- nosy: +xiang.zhang _

[issue27953] math.tan has poor accuracy near pi/2 on OS X Tiger

2016-09-05 Thread Ned Deily
Ned Deily added the comment: It would be nice to use the existing @requires_mac_ver() decorator to skip the tests (see Lib/test/support/__init__.py). -- ___ Python tracker ___ _

[issue19500] Add client-side SSL session resumption

2016-09-05 Thread Christian Heimes
Christian Heimes added the comment: Xiang, good point! I have added richcompare to SSLSession (based on session id). My branch on github implements a couple more fixes and improvements. -- ___ Python tracker _

[issue27923] PEP 467 -- Minor API improvements for binary sequences

2016-09-05 Thread Martin Panter
Martin Panter added the comment: Elias, the patch URL is where I downloaded your patch from; see the list of patches at the top of this bug: hg import --no-commit https://bugs.python.org/file44316/pep467.patch Anyway in this email it

[issue27497] csv module: Add return value to DictWriter.writeheader

2016-09-05 Thread Berker Peksag
Berker Peksag added the comment: Thanks! The patch lacks a test case (you can add it into Lib/test/test_csv.py) and a versionchanged notice in documentation (see http://cpython-devguide.readthedocs.io/en/latest/documenting.html#paragraph-level-markup for details.) -- stage: needs patc

[issue27955] getrandom() syscall returning EPERM make the system unusable.

2016-09-05 Thread iwings
New submission from iwings: On QNAP's Linux Station (lxc based virtual environment), getrandom() syscall returns EPERM not ENOSYS when it's not available. (HOST) uname -a Linux **-NAS 3.12.6 #1 SMP Thu Sep 1 00:57:44 CST 2016 x86_64 unknown (HOST) /lib64/libc-2.19.so GNU C Library (Ubuntu

[issue27497] csv module: Add return value to DictWriter.writeheader

2016-09-05 Thread Skip Montanaro
Skip Montanaro added the comment: Also, a change in behavior has to be very carefully considered, even though it passes all existing test cases (and presumably the one(s) you'll add). The change may well only be acceptable for the next minor release of 3.x. On Mon, Sep 5, 2016 at 7:31 AM, Berker

[issue27955] getrandom() syscall returning EPERM make the system unusable.

2016-09-05 Thread Christian Heimes
Christian Heimes added the comment: Did you open a bug with your vendor, too? QNAP is clearly violating Kernel APIs. getrandom() is not suppose to fail with EPERM. Valid errnos are EINVAL, EFAULT, EAGAIN and EINTR. http://man7.org/linux/man-pages/man2/getrandom.2.html -- nosy: +christi

[issue27497] csv module: Add return value to DictWriter.writeheader

2016-09-05 Thread Ashish Nitin Patil
Ashish Nitin Patil added the comment: Thank you Berker & Skip for your review & additional inputs. I have added a (probably not so good) unittest for testing the newly added *return*. I have also added the corresponding *versionchanged* info to the documentation as suggested by Berker. Will ke

[issue23591] enum: Add Flags and IntFlags

2016-09-05 Thread Ethan Furman
Ethan Furman added the comment: > I am quite aware about what's the intended use, but you can't just > assume people will know about it. Fair enough. > In my view, you must do one of two things: > > 1) (at least in documentation, and preferably in the code by raising > Exceptions at class def

[issue27955] getrandom() syscall returning EPERM make the system unusable.

2016-09-05 Thread iwings
iwings added the comment: I did not report this to QNAP yet. but there's already a thread on their forum. https://forum.qnap.com/viewtopic.php?t=124650 (registration required) - ENOSYS is not listed in that man page, but it occurs. - EPERM is not listed in that man page, but it can be returned i

[issue27955] getrandom() syscall returning EPERM make the system unusable.

2016-09-05 Thread STINNER Victor
STINNER Victor added the comment: I'm ok to fallback on read /dev/urandom device when getrandom() is blocked by a stupid security policy :-) -- ___ Python tracker ___ ___

[issue27953] math.tan has poor accuracy near pi/2 on OS X Tiger

2016-09-05 Thread Mark Dickinson
Mark Dickinson added the comment: Ned: that's for skipping an entire test method, right? Here a single test method tests a few hundred different special cases; we want to exclude only one of those cases. -- ___ Python tracker

[issue27811] _PyGen_Finalize() should not fail with an exception

2016-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thank you, Armin. -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27811] _PyGen_Finalize() should not fail with an exception

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4d531711cbc7 by Benjamin Peterson in branch '3.5': do not allow _PyGen_Finalize to fail (closes #27811) https://hg.python.org/cpython/rev/4d531711cbc7 New changeset 1b14dbe9e98b by Benjamin Peterson in branch 'default': merge 3.5 (closes #27811) htt

[issue27812] PyFrameObject.f_gen can be left pointing to a dangling generator

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3e4452424f9b by Benjamin Peterson in branch '3.5': clear out f_gen during generator finalization (closes #27812) https://hg.python.org/cpython/rev/3e4452424f9b New changeset 1d7a938b1e47 by Benjamin Peterson in branch 'default': merge 3.5 (#27812) h

[issue27953] math.tan has poor accuracy near pi/2 on OS X Tiger

2016-09-05 Thread Ned Deily
Ned Deily added the comment: Mark, ah, yes, that's true. So the tests would have to be separated out into a separate test case method. So, not worth the effort. -- ___ Python tracker

[issue27106] configparser.__all__ is incomplete

2016-09-05 Thread Jacek Kołodziej
Jacek Kołodziej added the comment: Łukasz, Martin - I'm not sure how to proceed here, of course both ways out are reasonable. I'd be happy to provide (however small) patch for either one (adding Error to __all__ or just adding test for __all__). :) My inner librarian would of course either pus

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

2016-09-05 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: skrah -> lisroach ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

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

2016-09-05 Thread Stefan Krah
Stefan Krah added the comment: Sorry, Raymond, this is my code area. I said I'll review a patch. -- assignee: lisroach -> skrah ___ Python tracker ___ __

[issue27953] math.tan has poor accuracy near pi/2 on OS X Tiger

2016-09-05 Thread Mark Dickinson
Mark Dickinson added the comment: Given enough time, it would make a lot of sense to adapt these tests to use the subtests machinery (though it's not immediately clear to me how to make @requires_mac_ver work with the subtests machinery). I'm afraid this issue was a bit of a quick fix to get t

[issue27407] prepare_ssl.py missing in PCBuild folder

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8955049a79aa by Zachary Ware in branch '2.7': Issue #27407: Add prepare_ssl.py to 2.7 https://hg.python.org/cpython/rev/8955049a79aa New changeset 32552131d8cb by Zachary Ware in branch '2.7': Issue #27407: Make PCbuild/prepare_ssl.py Python 2 compa

[issue27922] Make IDLE tests less flashy

2016-09-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the good detective work. The flash is always there, somewhere, though sometimes minimal. SearchBase.open begins with if not self.top: self.create_widgets() else: self.top.deiconify() self.top.tkra

[issue27921] f-strings: do not allow backslashes

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset df5b6d1c7ea8 by Benjamin Peterson in branch 'default': fix skipping #27921 for windows https://hg.python.org/cpython/rev/df5b6d1c7ea8 -- ___ Python tracker ___

[issue19500] Add client-side SSL session resumption

2016-09-05 Thread Christian Heimes
Christian Heimes added the comment: Note to future me: Don't forget to take care of X.509 client authentication. A server is allowed to bypass client cert validation when a SSL session is resumed. SSLContext.load_cert_chain() should invalidate session caches. (CVE-2016-5419 https://curl.haxx.s

[issue27112] tokenize.__all__ list is incomplete

2016-09-05 Thread Jacek Kołodziej
Changes by Jacek Kołodziej : Added file: http://bugs.python.org/file44373/tokenize_all.v2.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue27112] tokenize.__all__ list is incomplete

2016-09-05 Thread Jacek Kołodziej
Jacek Kołodziej added the comment: > I would lean toward ensuring the test fails if someone adds a new > implementation detail without an underscore prefix. It is also good to be > explicit that the ISTERMINAL() etc functions are special cases. Original patch meets these requirements. I've upd

[issue27830] Add _PyObject_FastCallKeywords(): avoid the creation of a temporary dictionary for keyword arguments

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 119af59911a0 by Victor Stinner in branch 'default': Issue #27830: Remove unused _PyStack_AsDict() https://hg.python.org/cpython/rev/119af59911a0 -- ___ Python tracker

[issue27956] optimize dict_traverse a bit

2016-09-05 Thread Benjamin Peterson
New submission from Benjamin Peterson: dict_traverse shows up a lot on statistical profiles of Python programs. This is not surprising since Python programs have lots of dicts. There isn't a huge amount of room for optimization here, but we can avoid some memory indirection. This patch saves a

[issue27956] optimize dict_traverse a bit

2016-09-05 Thread INADA Naoki
INADA Naoki added the comment: lgtm. But http://bugs.python.org/issue27350 conflicts this. -- nosy: +methane ___ Python tracker ___ __

[issue27956] optimize dict_traverse a bit

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 027e421594b7 by Benjamin Peterson in branch 'default': remove memory indirections in dict_traverse (closes #27956) https://hg.python.org/cpython/rev/027e421594b7 -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open ->

[issue27883] Update sqlite version for Windows build

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 792e7a8dddb8 by Zachary Ware in branch 'default': Issue #27883: Update sqlite to 3.14.1 on Windows https://hg.python.org/cpython/rev/792e7a8dddb8 -- nosy: +python-dev ___ Python tracker

[issue27883] Update sqlite version for Windows build

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: Updated. I don't know what extensions are or are not included, please open additional issue(s) if something should be added or removed. -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed __

[issue27944] two hotshot module issues

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset aefdfa167f4b by Benjamin Peterson in branch '2.7': rewrite unpack_add_info, so it has less memory corruption bugs (closes #27944) https://hg.python.org/cpython/rev/aefdfa167f4b -- nosy: +python-dev resolution: -> fixed stage: -> resolved s

[issue27883] Update sqlite version for Windows build

2016-09-05 Thread Big Stone
Big Stone added the comment: thanks! I suppose I have to wait official python3.6b1 for windows to tell you what you included. -- ___ Python tracker ___ _

[issue19500] Add client-side SSL session resumption

2016-09-05 Thread Christian Heimes
Changes by Christian Heimes : Added file: http://bugs.python.org/file44376/SSLSession-support-2.patch ___ Python tracker ___ ___ Python-bugs-l

[issue27811] _PyGen_Finalize() should not fail with an exception

2016-09-05 Thread Armin Rigo
Armin Rigo added the comment: You're welcome. Unrelated, but I'm collecting similar issues in a file at http://bitbucket.org/pypy/extradoc/raw/extradoc/planning/py3.5/cpython-crashers.rst . After reporting the first two, I stopped, and will report them all in bulk some time later, but you ma

[issue27957] minor typo in importlib docs

2016-09-05 Thread George London
New submission from George London: An extra apostrophe made the grammar of a method description ambiguous. The attached patch removes the apostrophe. -- assignee: docs@python components: Documentation files: mywork.patch keywords: patch messages: 274429 nosy: docs@python, gjlondon prior

[issue27957] minor typo in importlib docs

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 33702360acef by Benjamin Peterson in branch '3.5': remove ungrammarical apostrophe (closes #27957) https://hg.python.org/cpython/rev/33702360acef New changeset f8d9569900a9 by Benjamin Peterson in branch 'default': merge 3.5 (#27957) https://hg.pyth

[issue27756] Add pyd icon for 3.6

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 29815771f2ac by Steve Dower in branch 'default': Issue #27756: Adds new icons for Python files and processes on Windows. Designs by Cherry Wang. https://hg.python.org/cpython/rev/29815771f2ac -- nosy: +python-dev __

[issue27756] Add pyd icon for 3.6

2016-09-05 Thread Steve Dower
Steve Dower added the comment: The new beautiful icons have been checked in! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue27748] Simplify test_winsound

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4c91651912d1 by Zachary Ware in branch '2.7': Issue #27748: Simplify test_winsound. https://hg.python.org/cpython/rev/4c91651912d1 New changeset 82467d0dbaea by Zachary Ware in branch '3.5': Issue #27748: Simplify test_winsound. https://hg.python.or

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

2016-09-05 Thread Larry Hastings
Larry Hastings added the comment: Refreshed the patch. With a Misc/NEWS entry I think it's ready for checkin. WFM on Linux 64-bit with gcc; can I get people to try other platforms? * os x (clang) * win32 * win64 -- Added file: http://bugs.python.org/file44378/larry.dont.wince.2.patch

[issue11620] winsound.PlaySound() with SND_MEMORY should accept bytes instead of strings

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8fa615a2a896 by Zachary Ware in branch 'default': Closes #11620: Fix support for SND_MEMORY in winsound.PlaySound. https://hg.python.org/cpython/rev/8fa615a2a896 -- nosy: +python-dev resolution: -> fixed stage: patch review -> resolved stat

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

2016-09-05 Thread Steve Dower
Steve Dower added the comment: I'm building on Windows now. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11620] winsound.PlaySound() with SND_MEMORY should accept bytes instead of strings

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the original patch, Tim! After discussion with Steve, we figured it's best to keep this to 3.6. -- versions: -Python 3.5 ___ Python tracker _

[issue26470] Make OpenSSL module compatible with OpenSSL 1.1.0

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5c75b315152b by Christian Heimes in branch '3.5': Issue #26470: Port ssl and hashlib module to OpenSSL 1.1.0. https://hg.python.org/cpython/rev/5c75b315152b New changeset bc5ba11973f5 by Christian Heimes in branch 'default': Issue #26470: Port ssl a

[issue20366] SQLite FTS (full text search)

2016-09-05 Thread Zachary Ware
Zachary Ware added the comment: The Mac installer includes FTS in its SQLite build, so we should match it on Windows. I just updated the SQLite version for Windows, so now's a good time to do this. -- resolution: wont fix -> stage: resolved -> needs patch status: closed -> open versi

[issue20366] SQLite FTS (full text search)

2016-09-05 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue27756] Add pyd icon for 3.6

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 386aa9738c6b by Steve Dower in branch 'default': Issue #27756: Updates installer icons to be the console and launcher icon instead of the setup icon https://hg.python.org/cpython/rev/386aa9738c6b -- ___

[issue24254] Make class definition namespace ordered by default

2016-09-05 Thread Roundup Robot
Roundup Robot added the comment: New changeset 635fd3912d4d by Eric Snow in branch 'default': Issue #24254: Preserve class attribute definition order. https://hg.python.org/cpython/rev/635fd3912d4d -- nosy: +python-dev ___ 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 74ce062a0397 by Christian Heimes in branch 'default': Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module. https://hg.python.org/cpython/rev/74ce062a0397 -- nosy: +python-dev ___ Python tracke

[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 _

[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 mailing list Unsubscribe

[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 ___

[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 ___ ___ Python-bugs

[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 ___ ___ Python-bugs-l

[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 ___ ___ Python-bugs

[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 tra

[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 ___

[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)

[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 ___ ___ Python-bugs-list ma

[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 __

[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 ___ ___ Pyth

[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 ht

[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

[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 tracke

[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

[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

[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

[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 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 t

[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

[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

[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': Issue

[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': Issue

[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 tracke

[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 i

[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 tracke

[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 s

[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.

[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, st

[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 al

[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 _

[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 C

[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 __

[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 test_

[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:

[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

[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 furt

[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 ___ ___

[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 ___ _

[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

[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

[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 ___

[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 _

[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 ___ __

[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 ___ ___

  1   2   >