[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: We shouldn't do this in Python for the same reason we're not including a predefined set of CA root certificates with the distribution. The difference here is that there are properly maintained alternatives to Python including a predefined set of CA

[issue20065] Python-3.3.3/Modules/socketmodule.c:1660:14: error: 'CAN_RAW' undeclared (first use in this function)

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9dc199b921eb by Vinay Sajip in branch '3.4': Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account. http://hg.python.org/cpython/rev/9dc199b921eb New changeset 20cced06acdd by Vinay Sajip in branch 'default': Issue #10141, Issue

[issue10141] SocketCan support

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9dc199b921eb by Vinay Sajip in branch '3.4': Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account. http://hg.python.org/cpython/rev/9dc199b921eb New changeset 20cced06acdd by Vinay Sajip in branch 'default': Issue #10141, Issue

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Updated the patch to change the priority slightly to ensure that all the secure PFS ciphers come first and that non PFS AES comes before the other Non PFS HIGH ciphers -- Added file: http://bugs.python.org/file34546/better-ciphers-better-priority.diff

[issue16047] Tools/freeze no longer works in Python 3

2014-03-21 Thread Christian Bachmaier
Christian Bachmaier added the comment: Thanks for the patches. After applying issue11824-0.patch and then isse16047-1.patch I am successfully able to freeze a hello world python script under ubuntu 14.04 with python 3.4 rc3. I have attached my new site.py file, since the automatical patch

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 21.03.2014 12:42, Donald Stufft wrote: If we enforce a specific set of ciphers per default and a user finds that a server he wants to communicate with for example only supports RC4 ciphers, because that's the server admins were told to use after the

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-03-21 Thread Brett Cannon
Brett Cannon added the comment: You lose chronology in the directory, but not necessarily in the output; if you sort based on first commit time then you retain the chronological ordering in the merge. -- ___ Python tracker rep...@bugs.python.org

[issue21006] asyncio.docs : create_subprocess_exec example does not work on windows

2014-03-21 Thread Alexandre JABORSKA
Alexandre JABORSKA added the comment: I saw the low level part with the warning. But what I mean is that I found no clear indication on how to change default loop to allow asyncio.subprocess usage with Windows Python. I guessed : asyncio.set_event_loop(ProactorEventLoop()) but I'm not sure

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: It shows the effect of the additional !DSS - which I don't understand; DSA is part of the X.509 standard, so it's removing support will break compatibility. Could you perhaps explain you're reasoning ? Well DSA has problems with weak RNGs and consequently no

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think the proposed cipher string is still overly complicated and tedious to maintain. The following seems to achieve similar results: 'EECDH+AESGCM:DH+AESGCM:ECDH:DH:HIGH:!aNULL:!eNULL:!MD5:!DSS:!LOW:!EXPORT' Also, as Marc-André points out, we probably

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm pretty sure you can't even use PSK or SRP using the stdlib ssl module, I didn't explicitly exclude them though. This is true. There are issues open, though: issue 11943 and issue 19084. -- ___ Python tracker

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: (oh, I missed the part where Marc-André suggested not to drop DSS; this should also be removed from my cipher string proposal) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: As I said earlier Antoine, doing that puts PFS RC4 before non PFS AES. That isn't good because RC4 key stream bias makes it extremely fragile. RC4 needs to be in the default ciphers for compatibility sake but it should be dead last so that it's only used as a

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: With regard to PSK and SRP. Seeing as how Python doesn't currently support them, SRP had a patch that hasn't been worked on since 2011 and PSK doesn't have a patch at all that this cipher string shouldn't concern itself with something that Python might someday

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: With regard to PSK and SRP. Seeing as how Python doesn't currently support them, SRP had a patch that hasn't been worked on since 2011 and PSK doesn't have a patch at all that this cipher string shouldn't concern itself with something that Python might someday

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Yup :) Just being explicit in that! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995 ___ ___

[issue20344] subprocess.check_output() docs misrepresent what shell=True does

2014-03-21 Thread R. David Murray
R. David Murray added the comment: Thanks Tuomas, but we don't have any consensus that that kind of change will be accepted. It's just my opinion that it should be...and if it was, it would have to start with a deprecation, not raising an exception. What we need as a patch for this issue is

[issue19995] %c, %o, %x, %X accept non-integer values instead of raising an exception

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset e266525c9294 by Ethan Furman in branch 'default': Issue19995: more informative error message; spelling corrections; use operator.mod instead of __mod__ http://hg.python.org/cpython/rev/e266525c9294 --

[issue11380] Improve reporting of broken stdout pipe during interpreter shutdown

2014-03-21 Thread Dillon Aumiller
Changes by Dillon Aumiller dillonaumil...@gmail.com: -- nosy: +daumiller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11380 ___ ___

[issue21007] List of development releases in PEPs like 429 should be links to download pages

2014-03-21 Thread Ram Rachum
Changes by Ram Rachum r...@rachum.com: -- assignee: docs@python components: Documentation nosy: cool-RR, docs@python priority: normal severity: normal status: open title: List of development releases in PEPs like 429 should be links to download pages type: behavior versions: Python

[issue21007] List of development releases in PEPs like 429 should be links to download pages

2014-03-21 Thread Benjamin Peterson
New submission from Benjamin Peterson: I disagree. They are easy enough to find on the website. Easier than the release schedule I hope! Of course, RMs are welcome to link to the download page if they want, but we needn't require it. -- nosy: +benjamin.peterson resolution: - rejected

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: Very nice, but your help message still doesn't explain what json.tool does. :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21000 ___

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2014-03-21 Thread Tal Einat
Tal Einat added the comment: Im considering updating SearchBar and posting a patch. Marco, any chance you could detail the quirks and bugs you experienced when using SearchBar? -- nosy: +taleinat ___ Python tracker rep...@bugs.python.org

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Perhaps this thing should use argparse? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21000 ___

[issue19714] Add tests for importlib.machinery.WindowsRegistryFinder

2014-03-21 Thread Claudiu.Popa
Claudiu.Popa added the comment: Hello. Here's a patch for this issue. It tests only the conditions described by Eric. -- keywords: +patch nosy: +Claudiu.Popa Added file: http://bugs.python.org/file34549/issue19714.patch ___ Python tracker

[issue21008] Update devinabox for Python 3.4

2014-03-21 Thread Brett Cannon
New submission from Brett Cannon: E.g. with pip included it makes setting up coverage.py easier. -- assignee: brett.cannon messages: 214371 nosy: brett.cannon priority: low severity: normal stage: needs patch status: open title: Update devinabox for Python 3.4

[issue19165] Change formatter warning to DeprecationWarning in 3.5

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 455e5385752a by Brett Cannon in branch 'default': Issue #19165: The formatter module graduates to full deprecation. http://hg.python.org/cpython/rev/455e5385752a -- nosy: +python-dev ___ Python tracker

[issue18967] Find a less conflict prone approach to Misc/NEWS

2014-03-21 Thread Zachary Ware
Zachary Ware added the comment: R. David Murray wrote: I want no script asking me questions. Post-facto errors for omissions are fine (and if I have to positively say no in the input file, that's fine). tkinter is right out. I have been planning a command line interface, something along the

[issue19165] Change formatter warning to DeprecationWarning in 3.5

2014-03-21 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19165 ___

[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset b5b81a3eb6e6 by Brett Cannon in branch '3.4': Issue #20884: Don't assume in importlib.__init__ that __file__ is http://hg.python.org/cpython/rev/b5b81a3eb6e6 New changeset 42ae7b2524a2 by Brett Cannon in branch 'default': Merge for issue #20884

[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-21 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20884 ___

[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-21 Thread Jurko Gospodnetić
Jurko Gospodnetić added the comment: Thanks Brett! :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20884 ___ ___ Python-bugs-list mailing

[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 395904f70d6a by Brett Cannon in branch 'default': Issue #20627: xmlrpc.client.ServerProxy is now a context manager. http://hg.python.org/cpython/rev/395904f70d6a -- nosy: +python-dev ___ Python tracker

[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-21 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch! -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20627 ___

[issue20627] Add context manager support to xmlrpc.client.ServerProxy

2014-03-21 Thread Claudiu.Popa
Claudiu.Popa added the comment: My pleasure! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20627 ___ ___ Python-bugs-list mailing list

[issue18566] In unittest.TestCase docs for setUp() and tearDown() don't mention AssertionError

2014-03-21 Thread Nitika Agarwal
Nitika Agarwal added the comment: Hi, I am attaching a patch with the changes made as suggested by py.user. -- nosy: +nitika Added file: http://bugs.python.org/file34550/document18566.patch ___ Python tracker rep...@bugs.python.org

[issue21009] Potential deadlock in concurrent futures when garbage collection occurs during Queue.get

2014-03-21 Thread Simon Jagoe
New submission from Simon Jagoe: At Enthought we have been tracking a deadlock in some code that turned out to be due to the following scenario: 0) There is some cyclic garbage that requires collection; an object in the garbage is referred to by a weakref with a callback 1) You have a

[issue21009] Potential deadlock in concurrent futures when garbage collection occurs during Queue.get

2014-03-21 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21009 ___ ___

[issue21010] asyncio doc typo

2014-03-21 Thread Claudiu.Popa
New submission from Claudiu.Popa: There is an invalid item meth:`resume_reading`. -- assignee: docs@python components: Documentation files: asyncio_doc_fix.patch keywords: patch messages: 214381 nosy: Claudiu.Popa, docs@python priority: normal severity: normal status: open title:

[issue21009] Potential deadlock in concurrent futures when garbage collection occurs during Queue.get

2014-03-21 Thread Chris Farrow
Changes by Chris Farrow farro...@gmail.com: -- nosy: +Chris.Farrow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21009 ___ ___ Python-bugs-list

[issue21008] Update devinabox for Python 3.4

2014-03-21 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21008 ___

[issue21005] asyncio.docs : asyncio.subprocess.DEVNULL doc inadequate

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 230510d0cb92 by Victor Stinner in branch '3.4': Close #21005: Fix documentation of asyncio.subprocess.DEVNULL http://hg.python.org/cpython/rev/230510d0cb92 -- resolution: - fixed stage: - committed/rejected status: open - closed

[issue21006] asyncio.docs : create_subprocess_exec example does not work on windows

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab0aa412fca2 by Victor Stinner in branch '3.4': Issue #21006: Fix subprocess example on Windows in asyncio doc http://hg.python.org/cpython/rev/ab0aa412fca2 -- ___ Python tracker rep...@bugs.python.org

[issue21010] asyncio doc typo

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset ef4f460e3c9e by Victor Stinner in branch '3.4': Close #21010: Fix typo in asyncio doc. Patch written by Claudiu Popa. http://hg.python.org/cpython/rev/ef4f460e3c9e New changeset 7761b3dff2e8 by Victor Stinner in branch 'default': (Merge 3.4) Close

[issue21010] asyncio doc typo

2014-03-21 Thread STINNER Victor
STINNER Victor added the comment: Fix applied, thanks. -- nosy: +haypo stage: committed/rejected - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21010 ___

[issue21007] List of development releases in PEPs like 429 should be links to download pages

2014-03-21 Thread Ram Rachum
Ram Rachum added the comment: I looked for it for 10 minutes but couldn't find the link. I ended up using a URL from an old script. I still don't know how I was supposed to find it. -- ___ Python tracker rep...@bugs.python.org

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, so I think the latest patch is mostly good but I don't understand why the restricted ciphers (again, misnomer) would ban RC4 (and DSS?). These are the ciphers used by higher-level client libs, and connection failures will confuse the hell out of people.

[issue19714] Add tests for importlib.machinery.WindowsRegistryFinder

2014-03-21 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: Added file: http://bugs.python.org/file34553/issue19714.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19714 ___

[issue21011] PyArg_ParseTupleAndKeywords doesn't take const char *keywords[]

2014-03-21 Thread Hristo Venev
New submission from Hristo Venev: This really annoys me. I have to store the literals in char[] and then make a char*[] from them. It would be better if a simple array of string literals could be used. It would also require less data space because string literals could be merged by the

[issue21001] Python 3.4 MSI installer doesn't work

2014-03-21 Thread Zachary Ware
Zachary Ware added the comment: I've used the same installer on multiple machines with no problems, as have many others; this leads me to believe that there is no problem with the MSI :) Did you use the same MSI file on both machines? Try re-downloading, or checking the size and md5sum of

[issue21012] Figure out how to best leverage pip in devinabox

2014-03-21 Thread Brett Cannon
New submission from Brett Cannon: Probably the most complicated bit now for using devinabox is building the various bits of docs in a way that doesn't require mucking with the system python: * Having Python built * Creating a venv * Installing sphinx * Running the requisite Makefile with the

[issue10141] SocketCan support

2014-03-21 Thread Charles-François Natali
Charles-François Natali added the comment: That AF_CAN was undefined (even though HAVE_LINUX_CAN_H is). This is on Ubuntu Jaunty, which I use for my Python core development. How dear... The latest change should be OK. -- ___ Python tracker

[issue21012] Figure out how to best leverage pip in devinabox

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Right now you can do ``pip install --download some/path --no-use-wheel stuff`` and then ``pip install --no-index --find-links some/path stuff`` In the future that'll be ``pip download`` instead probably. -- nosy: +dstufft

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Note: The RC4 and DSS exclusion existed previously on the restricted ciphers so we'd have to ask Christian why he did that. For me personally the restricted ciphers are intended to be best practice ciphers and that means no RC4. DSS here I'm kind of meh about

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Forgot to add! If you think splitting between restricted server and client ciphers I can split them like that and upload a new patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Berker Peksag
Berker Peksag added the comment: Here's a new patch. Changes: - Updated the output of -h option - Added documentation - Switched to argparse -- Added file: http://bugs.python.org/file34554/issue21000_v2.diff ___ Python tracker rep...@bugs.python.org

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Forgot to add! If you think splitting between restricted server and client ciphers I can split them like that and upload a new patch. I was about to open a separate issue for the server side. How about restricting this issue to client usage? --

[issue18378] locale.getdefaultlocale() fails on Mac OS X with default language set to English

2014-03-21 Thread Ned Deily
Ned Deily added the comment: Ronald or Dmitry, can you elaborate under what conditions you start your login shell on 10.9? I cannot reproduce the behavior you observe. With 10.9 Terminal.app and the default language settings in System Preferences and with the default Terminal.app

[issue20999] setlocale, getlocale succession -- ValueError or (None, None)

2014-03-21 Thread Ned Deily
Ned Deily added the comment: OK, let's close this issue as a duplicate of Issue18378 and continue the discussion there. -- resolution: works for me - duplicate status: open - closed superseder: - locale.getdefaultlocale() fails on Mac OS X with default language set to English

[issue20942] _frozen_importlib should not have a __file__ attribute

2014-03-21 Thread Brett Cannon
Brett Cannon added the comment: Here is a patch to change PyImport_ImportFrozenModuleObject() to not set __file__. Had to refactor some things as PyImport_ExecCodeModuleObject() was setting __file__ no matter what, so to avoid it even being used during import I had to change some things.

[issue16047] Tools/freeze no longer works in Python 3

2014-03-21 Thread Brett Cannon
Brett Cannon added the comment: Did you want to update your patch for Python 3.4 and 3.5, Meador? -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16047 ___

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Not sure what you mean by client issue. Do you mean to keep RC4? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995 ___

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Which client issue? Sorry, I've lost track :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995 ___ ___

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Er, I typed issue and meant usage. Right now the only difference between restricted ciphers and the default ciphers is restricted ciphers have no RC4 and no DSS. You wanted this issue limited to client changes and I'm not sure how to do that without enabling

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Er, I typed issue and meant usage. Right now the only difference between restricted ciphers and the default ciphers is restricted ciphers have no RC4 and no DSS. You wanted this issue limited to client changes and I'm not sure how to do that without enabling

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +dstufft ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20913 ___ ___ Python-bugs-list mailing

[issue21007] List of development releases in PEPs like 429 should be links to download pages

2014-03-21 Thread Ned Deily
Ned Deily added the comment: AFAIK, traditionally, there have not been separate download pages for each pre-release of a new feature (e.g. 3.4.0) or maintenance (e.g. 3.3.5) release. The usual practice has been to create *one* release page at the usual URI (e.g.

[issue21013] server-specific SSL context configuration

2014-03-21 Thread Antoine Pitrou
New submission from Antoine Pitrou: Currently, create_default_context() doesn't do anything special for server use. It seems the configuration could be improved, though: - PROTOCOL_TLSv1 is suboptimal for servers: a TLSv1 server can't accept a TLSv1.2 client, but a SSLv23 server will; so we

[issue20421] expose SSL socket protocol version

2014-03-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +dstufft ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20421 ___ ___ Python-bugs-list mailing

[issue21013] server-specific SSL context configuration

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: (also perhaps enable OP_CIPHER_SERVER_PREFERENCE, although it seems it could cause interoperability problems with some clients) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21013

[issue21013] server-specific SSL context configuration

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Nah it should be fine to enable that, and it's preferable to do so. The server selects the cipher anyways in the TLS handshake. That just tells the server to prefer it's list for precedence and not the client list. --

[issue17846] Building Python on Windows - Supplementary info

2014-03-21 Thread Zachary Ware
Zachary Ware added the comment: No, 3.4 uses VS 2010. Your patch changes the line from hg update 3.4 to hg update 3.3, which is not a legitimate change, in fact it undoes a change that Éric Araujo just made. With the release of 3.4.0, 3.4 became the current maintenance branch and 3.3 moved

[issue17621] Create a lazy import loader mixin

2014-03-21 Thread Brett Cannon
Brett Cannon added the comment: New patch that includes docs and integrates the tests. If someone who understands import can look it over and give me an LGTM that would be appreciated. -- Added file: http://bugs.python.org/file34556/lazy_loader.diff

[issue20884] importlib/__init__.py can not be loaded without __file__ - breaks cxFreeze

2014-03-21 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20884 ___

[issue19995] %c, %o, %x, %X accept non-integer values instead of raising an exception

2014-03-21 Thread Ethan Furman
Ethan Furman added the comment: Final status: 3.4 - DeprecationWarning 3.5 - TypeError -- resolution: - fixed stage: commit review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue13630] IDLE: Find(ed) text is not highlighted while dialog box is open

2014-03-21 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13630 ___ ___

[issue20956] tokenize module claims tokenize.tokenize returns namedtuple, but it doesn't

2014-03-21 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20956 ___ ___ Python-bugs-list

[issue10240] dict.update.__doc__ is misleading

2014-03-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: Maybe the fastpath should do a strict check and not be used for subclasses of dict? This code is ancient and well-established. IMO, nothing good can come from changing it (besides slowing down code that is already deployed and working fine).

[issue13856] xmlrpc / httplib changes to allow for certificate verification

2014-03-21 Thread Jakub Wilk
Changes by Jakub Wilk jw...@jwilk.net: -- nosy: +jwilk ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13856 ___ ___ Python-bugs-list mailing list

[issue21000] json.tool ought to have a help flag

2014-03-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks like a nice improvement. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21000 ___

[issue8297] AttributeError message text should include module name

2014-03-21 Thread Ethan Furman
Changes by Ethan Furman et...@stoneleaf.us: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8297 ___ ___

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Nick Coghlan
Nick Coghlan added the comment: Shall we commit the new string for 3.5 for the time being? I'm currently working on a PEP to help define a policy for dealing with network security related issues/enhancements in maintenance branches, so I don't think we should touch those until we have that

[issue20913] Standard Library documentation needs SSL security best practices doc.

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Updated patch with Martin's suggested changes, and various other nits. -- Added file: http://bugs.python.org/file34557/ssl_best2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20913

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: (for the record and for the sake of comparison, Postfix's high security setting is ALL:!EXPORT:!LOW:!MEDIUM:+RC4:@STRENGTH) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch will also need updating the Cipher selection paragraph in ssl.rst, I think. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995 ___

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: I can add that. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995 ___ ___ Python-bugs-list mailing list

[issue17846] Building Python on Windows - Supplementary info

2014-03-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please get perl out of this discussion. A perl installation shouldn't be necessary to compile Python. (IOW, -1 on any patch that recommends that Perl should be installed to build Python) -- nosy: +loewis ___

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Hmm, I'm not sure what needs updated. The docs only say that ssl module disabled certain weak ciphers by default which is still the case. Was there some specific place or wording you were looking for? -- ___ Python

[issue17846] Building Python on Windows - Supplementary info

2014-03-21 Thread Mark Lawrence
Mark Lawrence added the comment: I simply do not understand the last comment, Perl has always been part of the build process on Windows. Are you saying that the build process has to change? -- nosy: +BreamoreBoy ___ Python tracker

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, the doc currently says: Starting from Python 3.2.3, the ssl module disables certain weak ciphers by default, but you may want to further restrict the cipher choice. For example:: context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Ah yes, I skipped over that looking for a place where we were detailing what ciphers were picked. Ok Thanks! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995

[issue17846] Building Python on Windows - Supplementary info

2014-03-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: No, Perl has not been mandatory for the build process, at least not for the last decade or so. It may occasionally happen that it is mandatory to build OpenSSL, but that would be a bug in our copy of OpenSSL. --

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Added the docs changes -- Added file: http://bugs.python.org/file34558/better-ciphers-with-docs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20995 ___

[issue20906] Issues in Unicode HOWTO

2014-03-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: UnicodeEncodeError: 'charmap' codec can't encode character '\u265e' in position 13: character maps to undefined. That's because stdout is treated as a regular bytestream under Windows (as it is under POSIX), and it therefore uses the current codepage to

[issue16047] Tools/freeze no longer works in Python 3

2014-03-21 Thread Meador Inge
Meador Inge added the comment: Sure. I will refresh it tonight or sometime tomorrow. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16047 ___

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9749a7aa958 by Donald Stufft in branch '3.4': Issue #20995: Enhance default ciphers used by the ssl module http://hg.python.org/cpython/rev/e9749a7aa958 -- nosy: +python-dev ___ Python tracker

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 60f696488c4f by Donald Stufft in branch 'default': Merge changes from 3.4 to bring in fixes for Issue #20995 http://hg.python.org/cpython/rev/60f696488c4f -- ___ Python tracker rep...@bugs.python.org

[issue21014] `1` = `True`; for tutorial docs

2014-03-21 Thread Samuel Marks
New submission from Samuel Marks: Particularly for new programmers `True` makes more sense than `1` when doing boolean logic. If you aren't going to accept this patch; at least add in a sentence explaining that: ` 1 == True`. Best, Samuel Marks -- assignee: docs@python components:

[issue21015] support SSL_CTX_set_ecdh_auto on newer OpenSSLs

2014-03-21 Thread Antoine Pitrou
New submission from Antoine Pitrou: From the OpenSSL changelog: *) Support for automatic EC temporary key parameter selection. If enabled the most preferred EC parameters are automatically used instead of hardcoded fixed parameters. Now a server just has to call:

[issue21015] support SSL_CTX_set_ecdh_auto on newer OpenSSLs

2014-03-21 Thread Donald Stufft
Donald Stufft added the comment: Heh, I was just getting ready to figure out if I should write this ticket or not :) I think we should do this. Nginx also defaults to prime256v1 (which is NIST P-256), DJB seems to think that's an unsafe curve though (http://safecurves.cr.yp.to/). --

<    1   2   3   >