[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-09-07 Thread Donald Stufft
Donald Stufft added the comment: > Is switching to a different SSL library without OS vendor support any more > reasonable than switching to a newer python without that same support? There are OSs that ship with Python 3.4 and LibreSSL. -- ___ Python

[issue10740] sqlite3 module breaks transactions and potentially corrupts data

2016-09-07 Thread Steve Dower
Steve Dower added the comment: I'm in favor of merging Berker's patch, once the string comparison is made a little more robust. Right now there's a risk of matching a prefix rather than a whole word, and potentially overrunning the buffer (unless I've forgotten how stricmp works). --

[issue6766] Cannot modify dictionaries inside dictionaries using Managers from multiprocessing

2016-09-07 Thread Davin Potts
Davin Potts added the comment: Fixed in upcoming 3.6. -- resolution: -> fixed stage: patch review -> resolved ___ Python tracker ___ _

[issue27850] Remove 3DES from cipher list (sweet32 CVE-2016-2183)

2016-09-07 Thread Larry Hastings
Larry Hastings added the comment: > My reading of this is that for OpenSSL Python defines a range of > compatible sonames at the time of the first release in a series (e.g. > 3.4.0), and then will never extend that in either direction for that > release series. Put another way: patches to extend

[issue27985] Implement PEP 526

2016-09-07 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Guido, I fixed __annotations__ in interactive REPL, will fix other minor things and submit a new patch tomorrow morning. There are two important questions in typing.py: > Why is the second isinstance() needed? Isn't _ClassVar a subclass of > TypingMeta and

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

2016-09-07 Thread Steve Dower
Steve Dower added the comment: Thanks! I've made the changes you suggested. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue24277] Take the new email package features out of provisional status

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset b97118691363 by R David Murray in branch 'default': #24277: The new email API is no longer provisional. https://hg.python.org/cpython/rev/b97118691363 -- nosy: +python-dev ___ Python tracker

[issue24277] Take the new email package features out of provisional status

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset bd5b38e3db1a by R David Murray in branch 'default': #24277: What's New and news entries for previous commit. https://hg.python.org/cpython/rev/bd5b38e3db1a -- ___ Python tracker

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2016-09-07 Thread Nick Coghlan
Nick Coghlan added the comment: I run into this kind of problem when switching back and forth between running things directly on my laptop and running them as a mounted volume in a container, since the permissions and SELinux labels on the cache can get messed up. However, in those cases, wri

[issue28007] Bad .pyc files prevent import of otherwise valid .py files.

2016-09-07 Thread R. David Murray
R. David Murray added the comment: That makes sense to me as a use case for warnings only. -- ___ Python tracker ___ ___ Python-bugs-l

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f023e60564b by Eric Snow in branch 'default': Issue #17211: Yield a namedtuple in pkgutil. https://hg.python.org/cpython/rev/4f023e60564b -- nosy: +python-dev ___ Python tracker

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2016-09-07 Thread Eric Snow
Eric Snow added the comment: I've applied the patch with a couple small changes. Thanks for the help! -- nosy: +eric.snow resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.6 -Python 3.4 ___ Python tracker

[issue26667] Update importlib to accept pathlib.Path objects

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1a36cf6389d8 by Brett Cannon in branch 'default': Issue #26667: Add path-like object support to importlib.util. https://hg.python.org/cpython/rev/1a36cf6389d8 -- nosy: +python-dev ___ Python tracker

[issue26667] Update importlib to accept pathlib.Path objects

2016-09-07 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue24277] Take the new email package features out of provisional status

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset ad297312a478 by R David Murray in branch 'default': #24277: Fix 3.4 whats new link broken by email doc changes. https://hg.python.org/cpython/rev/ad297312a478 -- ___ Python tracker

[issue6721] Locks in the standard library should be sanitized on fork

2016-09-07 Thread Davin Potts
Changes by Davin Potts : -- nosy: +davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue24277] Take the new email package features out of provisional status

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d82927c18931 by R David Murray in branch 'default': #24277: Fix some incorrect backslashes in email example. https://hg.python.org/cpython/rev/d82927c18931 -- ___ Python tracker

[issue15352] importlib.h should be regenerated when the marshaling code changes

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 344f44bd793f by Eric Snow in branch 'default': Issue #15352: Rebuild frozen modules when marshal.c is changed. https://hg.python.org/cpython/rev/344f44bd793f -- nosy: +python-dev ___ Python tracker

[issue15352] importlib.h should be regenerated when the marshaling code changes

2016-09-07 Thread Eric Snow
Eric Snow added the comment: Thanks for the patch Meador. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6 -Python 3.3 ___ Python tracker ___

[issue28011] winreg KEY_READ also fails for some keys

2016-09-07 Thread Pabitra
New submission from Pabitra: UAC does not give KEY_ALL_ACCESS on various keys, that's a know fact. But, KEY_READ access also throws WindowsError: [Error 5] Access is denied for few keys. Out of all the keys in HKEY_USERS, I am trying to access, "S-1-5-18", "S-1-5-19" and "S-1-5-20". Openkey

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-07 Thread Emanuel Barry
Changes by Emanuel Barry : Added file: http://bugs.python.org/file44457/invalid_stdlib_escapes_3_rebased_2.patch ___ Python tracker ___ ___ P

[issue22555] Tracking issue for adjustments to binary/text boundary handling

2016-09-07 Thread Nick Coghlan
Nick Coghlan added the comment: Likely to be resolved, or at least significantly updated, for 3.6 due to PEP 528 and PEP 529: * Using sys.stdin consistently at the default interactive prompt: issue 1602 * Improved Unicode handling in the Windows console: issue 17620 * Allowing text encoding an

[issue15578] Crash when modifying sys.modules during import

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2d6dd8402d77 by Eric Snow in branch '2.7': Issue #15578: Correctly incref the parent module while importing. https://hg.python.org/cpython/rev/2d6dd8402d77 -- nosy: +python-dev ___ Python tracker

[issue15578] Crash when modifying sys.modules during import

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

[issue27985] Implement PEP 526

2016-09-07 Thread Guido van Rossum
Guido van Rossum added the comment: Oh, dang, I misread the definition of _ClassVar. It's fine then! Looking forward to the next installment. -- ___ Python tracker ___ __

[issue28011] winreg KEY_READ also fails for some keys

2016-09-07 Thread Pabitra
Pabitra added the comment: Same applies for Python 3.5 as well. -- versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list m

[issue28012] meditation

2016-09-07 Thread Gukas Artunyan
New submission from Gukas Artunyan: Hi! Here are some of my meditations on life and art, please read them and tell me what you think, here is the link My best to you, gukaar77 -- messages: 274956 nosy: gukaar77 priority: normal severity: nor

[issue28012] Spam

2016-09-07 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -gukaar77 resolution: -> not a bug stage: -> resolved status: open -> closed title: meditation -> Spam ___ Python tracker ___ _

[issue28012] Spam

2016-09-07 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg274956 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue28013] PPC64 Fedora socket and ssl compile failure

2016-09-07 Thread Martin Panter
New submission from Martin Panter: First build that failed is . Sample of the error messages: In file included from /usr/include/bluetooth/bluetooth.h:37:0, from /home/shager/cpython-buildarea/3.x.edels

[issue28013] PPC64 Fedora socket and ssl compile failure

2016-09-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: It's strange because it seems to imply the system headers are syntatically invalid. -- ___ Python tracker ___ ___

[issue28014] Strange interaction between methods in subclass of C OrderedDict

2016-09-07 Thread Zachary Ware
New submission from Zachary Ware: I'm not certain that the implementation of this subclass of OrderedDict is actually sane, but it works in 3.4 and fails in 3.5+. The buggy implementation: class SimpleLRUCache(OrderedDict): def __init__(self, size): super().__init__() self

[issue26798] add BLAKE2 to hashlib

2016-09-07 Thread Martin Panter
Martin Panter added the comment: Seems the test fails if the installed Python tree is not writable: http://buildbot.python.org/all/builders/x86%20Gentoo%20Installed%20with%20X%203.x/builds/1005/steps/test/logs/stdio == ERROR: tes

[issue28014] Strange interaction between methods in subclass of C OrderedDict

2016-09-07 Thread Xiang Zhang
Xiang Zhang added the comment: Please see issue27275. Someone has already complained about this. And I think the cause is the gap between Pure Python implementation and C implementation when it comes to subclasses. -- nosy: +xiang.zhang ___ Python t

[issue27275] KeyError thrown by optimised collections.OrderedDict.popitem()

2016-09-07 Thread Zachary Ware
Zachary Ware added the comment: Attaching test case from #28014 here since this issue looks close enough to that one to be caused by the same thing. -- nosy: +zach.ware Added file: http://bugs.python.org/file44459/simple_lru.py ___ Python tracker

[issue28014] Strange interaction between methods in subclass of C OrderedDict

2016-09-07 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> KeyError thrown by optimised collections.OrderedDict.popitem() ___ Python tracker __

[issue28013] PPC64 Fedora socket and ssl compile failure

2016-09-07 Thread Martin Panter
Martin Panter added the comment: Looks like enabling C99 is the trigger. This is an old bug with the bluetooth header (or at least a regression triggered by an old patch, I haven’t followed the whole story): https://marc.info/?i=CAOcK=cpahp-zbuwopa3yb0zcampwqgujzqcp+ktpjrx6tkd...@mail.gmail.com

[issue18844] allow weights in random.choice

2016-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Using a generator doesn't prevents state to be saved and restored. -- ___ Python tracker ___ ___ P

[issue15578] Crash when modifying sys.modules during import

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 731e5617cc8d by Gregory P. Smith in branch '2.7': Fix placement of Misc/NEWS item for issue #15578. https://hg.python.org/cpython/rev/731e5617cc8d -- ___ Python tracker

[issue26307] no PGO for built-in modules with `make profile-opt`

2016-09-07 Thread Gregory P. Smith
Gregory P. Smith added the comment: My change means that the build/ directory tree exists but won't have any files other than *.gc?? files in it after a make clean. I doubt this will bother anyone. That felt better for clean than just avoiding the removal of build/ entirely. -- reso

[issue26359] CPython build options for out-of-the box performance

2016-09-07 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27993] In the argparse there are typos with endings in plural words

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset c07aadf9f5cb by Martin Panter in branch '2.7': Issue #27993: Fix problems with the plural “objects” in docs and comments https://hg.python.org/cpython/rev/c07aadf9f5cb -- ___ Python tracker

[issue27895] Spelling fixes

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9a68ab141c33 by Martin Panter in branch '2.7': Issue #27895: Spelling fixes (Contributed by Ville Skyttä). https://hg.python.org/cpython/rev/9a68ab141c33 -- ___ Python tracker

[issue27570] Avoid memcpy(. . ., NULL, 0) etc calls

2016-09-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d465da1e5902 by Martin Panter in branch '2.7': Issue #27570: Avoid zero-length memcpy() calls with null source pointers https://hg.python.org/cpython/rev/d465da1e5902 -- ___ Python tracker

[issue27993] In the argparse there are typos with endings in plural words

2016-09-07 Thread Martin Panter
Martin Panter added the comment: Thanks for the patch. I found a few more related instances to fix too. -- nosy: +martin.panter resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 2.7, Python 3.5 ___ Python tracker

[issue27895] Spelling fixes

2016-09-07 Thread Martin Panter
Changes by Martin Panter : -- versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28000] Build fails on AIX with _LINUX_SOURCE_COMPAT flag

2016-09-07 Thread Martin Panter
Martin Panter added the comment: Would it be appropriate to always build with _LINUX_SOURCE_COMPAT enabled or disabled? Or is there a disadvantage (e.g. compatibility with different AIX versions, or less functionality?) Do you know if this would also be applicable to 2.7? -- nosy: +ma

[issue28000] Build fails on AIX with _LINUX_SOURCE_COMPAT flag

2016-09-07 Thread Martin Panter
Martin Panter added the comment: Also, there is code in configure.ac to detect 3- and 6-arg versions. Perhaps can we use that in all cases for AIX (as for Linux)? The configure logic was overridden a long time ago: revision dad14ffe1c22. But I don’t know exactly why. -- versions: +Pyt

[issue26798] add BLAKE2 to hashlib

2016-09-07 Thread Martin Panter
Martin Panter added the comment: . Looks like Issue 28001 is open about the same problem. But I presume other tests use open_urlresource(), so why don’t they also fail? -- ___ Python tracker __

[issue27570] Avoid memcpy(. . ., NULL, 0) etc calls

2016-09-07 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23591] enum: Add Flags and IntFlags

2016-09-07 Thread Ethan Furman
Ethan Furman added the comment: Vedran commented: > This is something fundamental: it is breaking the promise that class body > is a suite of commands, where Python statements (such as assignment) have > their usual semantics. I find it curious that you're okay with >>> class Color(Enum): ...

[issue23591] enum: Add Flags and IntFlags

2016-09-07 Thread Martin Panter
Changes by Martin Panter : -- nosy: -martin.panter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28010] http.client.HTTPConnection.putrequest incorrect arguments

2016-09-07 Thread Martin Panter
Changes by Martin Panter : -- keywords: +easy stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue23591] enum: Add Flags and IntFlags

2016-09-07 Thread Vedran Čačić
Vedran Čačić added the comment: Yes, I didn't explain well. I'm ok with postprocessing. After all, since we got PEP 520, it's quite obvious that "the namespace class body is executed in" is not the same as "the final __dict__ of a class". But even "the namespace class body is executed in" _sho

[issue28011] winreg KEY_READ also fails for some keys

2016-09-07 Thread Eryk Sun
Eryk Sun added the comment: It's not a bug that you can't read those keys. The DACL (discretionary access control list) of those two keys doesn't grant any access to standard users. However, administrators do have full control, in case your account is a UAC restricted admin with a split token.

[issue28005] Broken encoding modules are silently skipped.

2016-09-07 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Steve, this is not a correct patch. The purpose of skipping ImportErrors is to give other search functions a chance to find and provide a working codec. Your patch causes this to break. -- nosy: +lemburg resolution: fixed -> status: closed -> open

[issue23591] enum: Add Flags and IntFlags

2016-09-07 Thread Vedran Čačić
Vedran Čačić added the comment: Since you like examples, what do you say about class MyEnum(Enum): red = some_function() blue = red Now, is MyEnum.blue the same as MyEnum.red (watch: not "equal", but "same")? Well, it depends on what some_function returns, right? If it retu

<    1   2   3