[issue11943] Add TLS-SRP (RFC 5054) support to ssl, _ssl, http, and urllib

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- components: +Extension Modules versions: +Python 3.7 -Python 3.4 ___ Python tracker ___ ___ Python-bu

[issue23177] test_ssl: failures on OpenBSD with LibreSSL

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I have fixed all libressl related test failures while I added support for OpenSSL 1.1.0. -- nosy: +christian.heimes resolution: -> fixed status: open -> closed ___ Python tracker

[issue19084] No way to use TLS-PSK from python ssl

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.7 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue25674] test_ssl (test_algorithms) failures on bolen-ubuntu slaves: sha256.tbs-internet.com unknown host

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- priority: normal -> low versions: +Python 3.7 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list

[issue23845] test_ssl: fails on recent libressl with SSLV3_ALERT_HANDSHAKE_FAILURE

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: SSLv3 is no longer relevant. -- nosy: +christian.heimes resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue24930] test_ssl: try more protocols in test_options()

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: This ticket is no longer relevant. All but TLS_METHOD (old name SSLv23_METHOD) have been deprecated by OpenSSL. In the future Python will use auto-negotiation. -- nosy: +christian.heimes resolution: -> out of date status: open -> closed

[issue15464] ssl: add set_msg_callback function

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.6, Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread SilentGhost
Changes by SilentGhost : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25852] smtplib's SMTP.connect() should store the server name in ._host for .starttls()

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Please provide a more recent patch with a unit test. -- nosy: +christian.heimes stage: patch review -> needs patch versions: +Python 3.7 -Python 3.4 ___ Python tracker __

[issue25939] _ssl.enum_certificates() fails with ERROR_ACCESS_DENIED if python.exe run with low integrity level

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Benjamin, Steve, can we close this ticket? -- nosy: +christian.heimes ___ Python tracker ___ ___ P

[issue18233] SSLSocket.getpeercertchain()

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.6, Python 3.7 -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list

[issue18369] X509 cert class for ssl module

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- versions: +Python 3.7 -Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue21541] Provide configure option --with-ssl for compilation with custom openssl

2016-09-08 Thread Christian Heimes
Changes by Christian Heimes : -- nosy: +christian.heimes stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue28016] test_fileio fails on AIX

2016-09-08 Thread Eric N. Vander Weele
Changes by Eric N. Vander Weele : -- nosy: +ericvw ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

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

2016-09-08 Thread Ned Deily
Ned Deily added the comment: Thanks for the new option. Perhaps the top-level README should be updated to mention --with-optimizations? -- nosy: +ned.deily versions: +Python 3.5, Python 3.6 ___ Python tracker ___

[issue28022] SSL releated deprecation for 3.6

2016-09-08 Thread Cory Benfield
Cory Benfield added the comment: 10/10, yes. I will happily provide code review for this. -- nosy: +Lukasa ___ Python tracker ___ ___

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Marcos Dione
Changes by Marcos Dione : -- versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28021] Calculating wrong modulus manually

2016-09-08 Thread Steven D'Aprano
Steven D'Aprano added the comment: That is because of floating point rounding. When you calculate a/23, the result is the approximate float 2.659090889061502e+18 instead of the exact integer result 2659090889061502012. Converting to an int gives you a result which is too small: py> a = 11**19

[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-09-08 Thread STINNER Victor
New submission from STINNER Victor: The issue #27350 changed the design of Python dictionaries to make them compact. python-gdb.py must be updated for the new structure of Python dict. -- messages: 275058 nosy: haypo, methane priority: normal severity: normal status: open title: python-

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

2016-09-08 Thread Jim Jewett
Jim Jewett added the comment: In general, the rule is that micro versions (such as 3.4.4 to 3.4.5) should not make any changes that are not clearly bug fixes. If users would call the new API (or ABI) differently, it is almost certainly a change that should be reserved for a development release

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

2016-09-08 Thread Steve Dower
Steve Dower added the comment: Thanks for that review, Eryk, but I'm going to defer those to other issues (specifically issue27998 for scandir and we should file a new issue for the symlink concerns). I've got some more doc updates to do though, and then I'll check in if there are no other co

[issue15272] pkgutil.find_loader accepts invalid module names

2016-09-08 Thread Eric Snow
Eric Snow added the comment: pkgutil has since been updated to use importlib, meaning it relies on importlib to sort this out. -- components: +Library (Lib) resolution: -> out of date stage: needs patch -> resolved status: open -> closed versions: +Python 3.6 -Python 3.3 _

[issue27445] Charset instance not passed to set_payload()

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4f6fef83cd0c by Berker Peksag in branch '3.5': Issue #27445: Don't pass str(_charset) to MIMEText.set_payload() https://hg.python.org/cpython/rev/4f6fef83cd0c New changeset c5cb8bd335ae by Berker Peksag in branch 'default': Issue #27445: Merge from

[issue27445] Charset instance not passed to set_payload()

2016-09-08 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Claude. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0bd618fe0639 by Victor Stinner in branch 'default': Implement compact dict https://hg.python.org/cpython/rev/0bd618fe0639 -- nosy: +python-dev ___ Python tracker _

[issue21201] Uninformative error message in multiprocessing.Manager()

2016-09-08 Thread Davin Potts
Changes by Davin Potts : -- assignee: -> davin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue27350] Compact and ordered dict

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0bd618fe0639 by Victor Stinner in branch 'default': Implement compact dict https://hg.python.org/cpython/rev/0bd618fe0639 New changeset 66a539984c9c by Victor Stinner in branch 'default': Add Py_MEMBER_SIZE macro https://hg.python.org/cpython/rev/66

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

2016-09-08 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue27445] Charset instance not passed to set_payload()

2016-09-08 Thread Claude Paroz
Claude Paroz added the comment: Thanks for pushing the patch! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27350] Compact and ordered dict

2016-09-08 Thread STINNER Victor
STINNER Victor added the comment: Hi INADA Naoki, we discuss a lot about your compact dict change at the current Python core dev sprint. We *all* want your change in Python 3.6! I looked at the code and I found some minor issues, but sadly I'm very busy right now with s many other topics.

[issue24337] Implement `http.client.HTTPMessage.__repr__` to make debugging easier

2016-09-08 Thread R. David Murray
R. David Murray added the comment: I would suggest something like: The second case should be rare these days for email, but would (I think?) show 0 body lines for an HTTPMessage. If I'm right it might actually make sense to have a separate repr for HTTPMessage that omitted the body lin

[issue27853] Add title to examples in importlib docs

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset a547d43c7258 by Brett Cannon in branch 'default': Issue #27853: Add section headers to the importlib example docs https://hg.python.org/cpython/rev/a547d43c7258 -- nosy: +python-dev ___ Python tracker

[issue27853] Add title to examples in importlib docs

2016-09-08 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue21201] Uninformative error message in multiprocessing.Manager()

2016-09-08 Thread Davin Potts
Davin Potts added the comment: Looks good to me as well. I'll go ahead with applying the patch. Berker: I'm not sure it's worth adding something like `util.info("Serialization failure on: %r", msg)`. If serialization failed for some reason other than MemoryError, we will be communicating th

[issue27350] Compact and ordered dict

2016-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Did you test the patch with your superstable benchmarking tools Victor? -- ___ Python tracker ___

[issue23773] importlib does not properly remove frames when invoking external import hooks

2016-09-08 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: brett.cannon -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue28024] fileinput causes RecursionErrors when dealing with large numbers of empty files

2016-09-08 Thread Josh Rosenberg
New submission from Josh Rosenberg: Accidentally discovered this while running code that processes a whole bunch of files, when it turned out the files were empty. The readline method of fileinput.input will make a recursive call to continue processing when it reaches the end of a file. This i

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

2016-09-08 Thread Larry Hastings
Larry Hastings added the comment: I agree completely Jim. The problem is that OpenSSL regularly discovers face-meltingly bad security bugs, so it frequently pulls the "security exception" lever. As with so many things in this life, we play the hand we're dealt. I have my fingers crossed tha

[issue25939] _ssl.enum_certificates() fails with ERROR_ACCESS_DENIED if python.exe run with low integrity level

2016-09-08 Thread Steve Dower
Steve Dower added the comment: Yes, and done. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ _

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

2016-09-08 Thread Steve Dower
Steve Dower added the comment: This is pushed now - let the bug fixing begin :) -- stage: patch review -> commit review ___ Python tracker ___ ___

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

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e20c7d8a8187 by Steve Dower in branch 'default': Issue #27781: Change file system encoding on Windows to UTF-8 (PEP 529) https://hg.python.org/cpython/rev/e20c7d8a8187 -- nosy: +python-dev ___ Python trac

[issue28025] Use IntEnum and IntFlags in ssl module

2016-09-08 Thread Christian Heimes
New submission from Christian Heimes: The patch removes ssl._import_symbols and adds more enums to the ssl module. Please review the patch. I'll update documentation in the next step. With IntFlags it is much easier to understand flags like SSLContext.options >>> import ssl >>> ctx = ssl.creat

[issue16826] Don't check for PYTHONCASEOK if interpreter started with -E

2016-09-08 Thread Eric Snow
Eric Snow added the comment: What ended up happening with this? -- nosy: +eric.snow versions: +Python 3.6 -Python 3.3, Python 3.4 ___ Python tracker ___ _

[issue28025] Use IntEnum and IntFlags in ssl module

2016-09-08 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Here is the new patch. I hope I didn't miss any comment and fixed everything. There is still a refleak to fix. -- Added file: http://bugs.python.org/file44469/hg-pep-526-v2.diff ___ Python tracker

[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Sorry, again attached a wrong diff, here is the correct one. -- Added file: http://bugs.python.org/file44470/hg-pep-526-v2.diff ___ Python tracker

[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: It looks like this part is causing a refleak def test_do_not_recreate_annotations(self): class C: del __annotations__ try: #with self.assertRaises(NameError): x: int except NameError:

[issue28019] itertools.count() falls back to fast (integer) mode when step rounds to 1

2016-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: PyLong_AsLong() not just converts Python integer to C long, but it also converts Python float to Python integer (with the lost of the fractional part). We need to check that the value is Python integer. Here is a patch that fixes this issue and few other bug

[issue27985] Implement PEP 526

2016-09-08 Thread Yury Selivanov
Yury Selivanov added the comment: > It looks like this part is causing a refleak There is one DECREF in ceval that you commented out. I think it should actually be there. But it doesn't solve the problem. -- nosy: +yselivanov ___ Python tracker <

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset b4cc62473c13 by R David Murray in branch 'default': #27364: fix "incorrect" uses of escape character in the stdlib. https://hg.python.org/cpython/rev/b4cc62473c13 -- nosy: +python-dev ___ Python tracker

[issue27985] Implement PEP 526

2016-09-08 Thread Guido van Rossum
Guido van Rossum added the comment: Yury will give you some help. Also, this patch no longer applies cleanly to hg. :-( -- ___ Python tracker ___

[issue28026] module_from_spec() should raise an error in 3.6

2016-09-08 Thread Eric Snow
New submission from Eric Snow: In Lib/importlib/_bootstrap.py, module_from_spec() specifies that the current deprecation warning should be an error in 3.6. So, here's a patch. -- assignee: eric.snow components: Interpreter Core files: module_from_spec.diff keywords: patch messages: 275

[issue23447] Import fails when doing a circular import involving an `import *`

2016-09-08 Thread Brett Cannon
Brett Cannon added the comment: I talked the semantic change over with Eric at the core sprint and we are both iffy enough on the semantic change and how it will impact stuff that we don't feel comfortable accepting the patch. Sorry, Steven, but thanks for taking a stab at it. -- assi

[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Yury, Commenting out was an attempt to debug. It should be there -- ___ Python tracker ___ ___ Pyt

[issue28026] module_from_spec() should raise an error in 3.6

2016-09-08 Thread Brett Cannon
Brett Cannon added the comment: LGTM -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue27350] Compact and ordered dict

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 36545fa93d2b by Victor Stinner in branch 'default': Add assertions to dk_set_index() https://hg.python.org/cpython/rev/36545fa93d2b -- ___ Python tracker _

[issue21062] Evalute all import-related modules for best practices

2016-09-08 Thread Brett Cannon
Brett Cannon added the comment: No need to keep this issue open as cleaning this stuff up will just come over time or never happen. :) -- resolution: -> works for me status: open -> closed ___ Python tracker

[issue27350] Compact and ordered dict

2016-09-08 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka added the comment: > Did you test the patch with your superstable benchmarking tools Victor? Not yet, as I wrote, we should benchmark the code (CPU and memory) to document the code: See my long comment for more details ;-) --

[issue23591] enum: Add Flags and IntFlags

2016-09-08 Thread Ethan Furman
Ethan Furman added the comment: Just so we're clear: I'm going to go with "auto()" and (mostly) use Python's standard routines (with only a little bit of metaclass magic). Vedran opined: > Since you like examples, what do you say about I love examples! Examples are like pictures, which are w

[issue21201] Uninformative error message in multiprocessing.Manager()

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset cbf81969aba4 by Davin Potts in branch '2.7': Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions https://hg.python.org/cpython/rev/cbf81969aba4 -- nosy: +python-dev _

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

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset faca0730270b by Steve Dower in branch 'default': Fixes tests broken by issue #27781. https://hg.python.org/cpython/rev/faca0730270b -- ___ Python tracker _

[issue28025] Use IntEnum and IntFlags in ssl module

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Thanks Ethan! I have updated the patch with documentation and your fix. Do you have an easy recipe to wrap properties like SSLContext.options to return an enum? It's not easy because super() does not support attribute proxy assignment. super().verify_mode =

[issue27985] Implement PEP 526

2016-09-08 Thread Yury Selivanov
Yury Selivanov added the comment: Ivan, take a look at my patch - i've fixed the refleak. It was in STORE_ANNOTATION opcode, you didn't DECREF `ann` consistently in all error branches. Also, you should never "break" in ceval -- only "goto error" or "DISPATCH()" -- Added file: http:/

[issue20683] Add example to tutorial namespace doc, section 9.2

2016-09-08 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> not a bug stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Pytho

[issue28026] module_from_spec() should raise an error in 3.6

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset ada5620efd82 by Eric Snow in branch 'default': Issue #28026: Raise ImportError when exec_module() exists but create_module() is missing. https://hg.python.org/cpython/rev/ada5620efd82 -- nosy: +python-dev __

[issue28026] module_from_spec() should raise an error in 3.6

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

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Hmm, I prefer to compile with stdc99. I wonder if we should consider this (presumably quite old) bluetooth.h to not exist if it doesn't work with c99. On Thu, Sep 8, 2016, at 02:49, Christian Heimes wrote: > > Christian Heimes added the comment: > > It comp

[issue27350] Compact and ordered dict

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 19902d840448 by Victor Stinner in branch 'default': Split lookdict_unicode_nodummy() assertion to debug https://hg.python.org/cpython/rev/19902d840448 -- ___ Python tracker

[issue23524] Use _set_thread_local_invalid_parameter_handler in posixmodule

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e88e2049b793 by Steve Dower in branch 'default': Issue #23524: Finish removing _PyVerify_fd from sources https://hg.python.org/cpython/rev/e88e2049b793 -- ___ Python tracker

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I checked my local bluetooth.h. It looks like it won't compile on big endian platforms either. Python uses some GCC features like __attribute__. Do they all work in C99 mode? -- ___ Python tracker

[issue28017] bluetooth.h on big endian needs GNU C extensions

2016-09-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: stc99 means "C99 + GCC extensions that aren't incompatible with the standard". gnuc99 means "sort of C99 with whatever GNU weirdness" On Thu, Sep 8, 2016, at 11:25, Christian Heimes wrote: > > Christian Heimes added the comment: > > I checked my local bluet

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

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e1987bf14148 by Gregory P. Smith in branch '3.5': document --with-optimizations in the README for issue26359. https://hg.python.org/cpython/rev/e1987bf14148 New changeset 4afb12077e08 by Gregory P. Smith in branch 'default': document --with-optimiza

[issue28027] Remove Lib/plat-*/* files

2016-09-08 Thread Zachary Ware
New submission from Zachary Ware: After discussion at the core dev sprints, Guido has decreed that the files in Lib/plat-* can and should be removed. -- assignee: zach.ware messages: 275106 nosy: gvanrossum, haypo, ned.deily, zach.ware priority: normal severity: normal status: open titl

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

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8567bc2876af by Gregory P. Smith in branch '2.7': document --with-optimizations in the README for issue26359. https://hg.python.org/cpython/rev/8567bc2876af -- ___ Python tracker

[issue28027] Remove Lib/plat-*/* files

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 14d89359a389 by Zachary Ware in branch 'default': Issue #28027: Remove Lib/plat-* files https://hg.python.org/cpython/rev/14d89359a389 -- nosy: +python-dev ___ Python tracker

[issue28022] SSL releated deprecation for 3.6

2016-09-08 Thread STINNER Victor
STINNER Victor added the comment: > - make ftplib, imaplib, nntplib, pop3lib, smtplib etc. validate certs by > default. I'm not sure about this one: http://legacy.python.org/dev/peps/pep-0476/#other-protocols -- nosy: +haypo ___ Python tracker

[issue28027] Remove Lib/plat-*/* files

2016-09-08 Thread Zachary Ware
Zachary Ware added the comment: Will close this after the buildbots have confirmed they don't hate it. -- ___ Python tracker ___ ___ P

[issue28027] Remove Lib/plat-*/* files

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e256583e6062 by Zachary Ware in branch 'default': Issue #28027: Mention the names of the removed modules in Misc/NEWS https://hg.python.org/cpython/rev/e256583e6062 -- ___ Python tracker

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread R. David Murray
R. David Murray added the comment: Here's a copy of Emanuel's deprecation patch with a versionchanged note in the lexical docs and a whatsnew entry. -- Added file: http://bugs.python.org/file44475/deprecate_invalid_escapes_both_5.patch ___ Python tr

[issue27350] Compact and ordered dict

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9434f511937d by Raymond Hettinger in branch 'default': Issue #27350: Add credits https://hg.python.org/cpython/rev/9434f511937d -- ___ Python tracker _

[issue28025] Use IntEnum and IntFlags in ssl module

2016-09-08 Thread Ethan Furman
Ethan Furman added the comment: Can you give me a code sample? Also, wouldn't be more readable? And keep the "OP_" names as aliases. -- ___ Python tracker ___ __

[issue16826] Don't check for PYTHONCASEOK if interpreter started with -E

2016-09-08 Thread Meador Inge
Meador Inge added the comment: Nothing. I didn't have a Windows box handy to investigate at the time. I do now and can look into this in the next day or so. -- ___ Python tracker

[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Yury, thank you for the fix and for good advice! (I checked everything like 10 times, except for TOS :-) I run the full test suite and everything seem to be fine now. Guido, does Yury's patch apply cleanly, or I need to regenerate a new one? --

[issue27350] Compact and ordered dict

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 48a1f97d03b4 by Victor Stinner in branch 'default': dk_get_index/dk_set_index uses a type indices variable https://hg.python.org/cpython/rev/48a1f97d03b4 New changeset fc8aaa073eb4 by Victor Stinner in branch 'default': Reindeint DK_xxx macros https

[issue27985] Implement PEP 526

2016-09-08 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Oh, I see there are more comments by Serhiy, I will implement them and submit a new patch. -- ___ Python tracker ___ _

[issue27350] Compact and ordered dict

2016-09-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't this premature to commit changes to critical part of Python core without having reliable benchmark results? -- ___ Python tracker ___ _

[issue28025] Use IntEnum and IntFlags in ssl module

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: I tried: class SSLContext(_SSLContext): ... @property def options(self): return Options(super().options) @options.setter def options(self, value) super().options = value # ^ # This fails with

[issue27350] Compact and ordered dict

2016-09-08 Thread STINNER Victor
STINNER Victor added the comment: For an unknown reason, the code fails on a few buildbots, but not all of them. * PPC64 Fedora 3.x: GNU/Linux ppc64 POWER7 Fedora 20 GCC Compile Farm host gcc110.fsffrance.org * PPC64LE Fedora 3.x: GNU/Linux ppc64le POWER8 Fedora 21 GCC Compile Farm host gcc112

[issue28027] Remove Lib/plat-*/* files

2016-09-08 Thread STINNER Victor
STINNER Victor added the comment: > Issue #28027: Mention the names of the removed modules in Misc/NEWS Thanks :-) -- ___ Python tracker ___

[issue28028] Convert warnings to SyntaxWarning in parser

2016-09-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: AST parser converts UnicodeError and ValueError raised during parsing string literal to SyntaxError. Maybe make it converting warnings (see issue27364) to SyntaxWarning? -- components: Interpreter Core messages: 275122 nosy: serhiy.storchaka priori

[issue28028] Convert warnings to SyntaxWarning in parser

2016-09-08 Thread Emanuel Barry
Changes by Emanuel Barry : -- nosy: +ebarry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38802c38cfe1 by R David Murray in branch 'default': #27364: Deprecate invalid escape strings in str/byutes. https://hg.python.org/cpython/rev/38802c38cfe1 -- ___ Python tracker

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread Emanuel Barry
Emanuel Barry added the comment: Thank you David for taking the time to review and commit this :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue27364] Deprecate invalid escape sequences in str/bytes

2016-09-08 Thread R. David Murray
R. David Murray added the comment: Thanks Emanuel. No bets on how much hate mail we get for this :) -- ___ Python tracker ___ ___ Pyt

[issue21201] Uninformative error message in multiprocessing.Manager()

2016-09-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b1f8c68de4c by Davin Potts in branch '3.5': Issue #21201: Improves readability of multiprocessing error message from server to client for certain exceptions https://hg.python.org/cpython/rev/9b1f8c68de4c New changeset 199aca18d9a1 by Davin Potts i

[issue28022] SSL releated deprecation for 3.6

2016-09-08 Thread Christian Heimes
Christian Heimes added the comment: Another deprecation: I like to deprecate all arguments from SSLSocket.__init__() and require users to go through SSLContext.wrap_socket(). It's going to make the implementation much simpler. The argument list is just crazy: class SSLSocket(socket): def

[issue21201] Uninformative error message in multiprocessing.Manager()

2016-09-08 Thread Davin Potts
Davin Potts added the comment: Thanks for your patch @wojtekwalczak! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue28022] SSL releated deprecation for 3.6

2016-09-08 Thread STINNER Victor
STINNER Victor added the comment: I like the idea of using SSLContext as the obvious and only choice to "configure" SSL. -- ___ Python tracker ___ ___

[issue16462] smtpd should return greeting

2016-09-08 Thread R. David Murray
R. David Murray added the comment: If someone wants to write a patch for this, we now require (unless you set decode_data to False) that process_message take a **kw dict, so we can pass the greeting in that dict. -- versions: +Python 3.7 -Python 3.4 ___

[issue28025] Use IntEnum and IntFlags in ssl module

2016-09-08 Thread Ethan Furman
Ethan Furman added the comment: Huh. Well, for property this works: @property def options(self): return Options(_SSLContext.options.__get__(self)) @options.setter def options(self, value): _SSLContext.options.__set__(self, Options.OP_ALL) Sure is ugly, though.

<    1   2   3   4   >