[issue10141] SocketCan support

2014-03-20 Thread Charles-François Natali
Charles-François Natali added the comment: > Are you saying that an additional clause for CAN_RAW being defined should be added around where it is used? Would that sort things out? Yes. > I'd rather not just revert my change, as that would mean I couldn't compile the SSL module. I don't get it

[issue21004] how to store json data into postgresql using python script

2014-03-20 Thread Pramod Jadhav
Changes by Pramod Jadhav : -- nosy: pramod.jadhav priority: normal severity: normal status: open title: how to store json data into postgresql using python script ___ Python tracker

[issue21003] how to do batch processing using python

2014-03-20 Thread Pramod Jadhav
New submission from Pramod Jadhav: i am new in python.i have created twitter data anlysis script.how to run this script dailly using python script. -- messages: 214327 nosy: pramod.jadhav priority: normal severity: normal status: open title: how to do batch processing using python

[issue20062] Remove emacs page from devguide

2014-03-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Ideally, the information should exist on the wiki (so it can easily be kept up-to-date) and the devguide should link to it (so new devs can find the resource). -- nosy: +rhettinger ___ Python tracker

[issue20062] Remove emacs page from devguide

2014-03-20 Thread Albert Looney
Albert Looney added the comment: Patch should be fixed now and remove emacs.rst file. It seems to me that the Emacs information that is being deleted is already in the wiki. https://wiki.python.org/moin/EmacsEditor -- Added file: http://bugs.python.org/file34542/devguide.patch __

[issue20906] Issues in Unicode HOWTO

2014-03-20 Thread Graham Wideman
Graham Wideman added the comment: At the moment I've run out of time to exert much forward push on this. By way of temporary summary/suggestion for regrouping: Focus on what this page is intending to deliver. What concepts should readers of this page be able to distinguish and understand when

[issue21002] _sre.SRE_Scanner object should have a fullmatch() method

2014-03-20 Thread R. David Murray
R. David Murray added the comment: Scanner isn't a public interface, so the real enhancement here would be to make it one, in which case adding fullmatch would make sense. I don't know if making it public is a good idea or not. -- nosy: +r.david.murray, twouters type: behavior -> enha

[issue21001] Python 3.4 MSI installer doesn't work

2014-03-20 Thread R. David Murray
R. David Murray added the comment: Your IDE stopping support for the beta2 is rather strange, IMO. The MSI works fine for other people, so I would suggest posting on python-list looking for help with figuring out what is going wrong on your particular system. If you can isolate a bug to repor

[issue20906] Issues in Unicode HOWTO

2014-03-20 Thread Graham Wideman
Graham Wideman added the comment: Marc-Andre: Thanks for your latest comments. > We could also have called encodings: "character set", "code page", > "character encoding", "transformation", etc. I concur with you that things _could_ be called all sorts of names, and the choices may be arbitra

[issue21002] _sre.SRE_Scanner object should have a fullmatch() method

2014-03-20 Thread Gareth Gouldstone
Gareth Gouldstone added the comment: I also encountered issue 20998, which explains the convoluted [^\W\d_] in place of [a-zA-Z] as I was investigating why case-insensitivity and quantifiers would not work together. -- ___ Python tracker

[issue17846] Building Python on Windows - Supplementary info

2014-03-20 Thread Kathleen Weaver
Kathleen Weaver added the comment: Does this mean that Python 3.4 doesn't use VS 2010? hunks 1 & 2 (@@ -49,9 and @@ -216,7): Both changes should be reverted. The change from 3.4 -> 3.3 reverts a very recent change made due to 3.4 becoming the newest maintenance branch. If I'm not mistak

[issue20984] 'Add/Remove Programs' dialog missing entries for 32-bit CPython 'current user only' installations on 64-bit Windows

2014-03-20 Thread A Hettinger
A Hettinger added the comment: There was a request on the python-dev to check this on windows 8. I confirm the same behavior. Windows 8.1 Pro 64bit Python 3.4.0 32bit (release) Installed current user: Does not show up in Add/Remove Programs Installer correctly sees installation and can remove i

[issue21002] _sre.SRE_Scanner object should have a fullmatch() method

2014-03-20 Thread Gareth Gouldstone
New submission from Gareth Gouldstone: I believe that the SRE_Scanner object should have a .fullmatch() method for consistency with other re pattern-matching behaviour. >>> rex = re.compile('([^\\W\\d_]{1,2}[0-9]{1,2}[^\\d\\W_]?)[ >>> \\t]*([0-9][^\\d\\W_]{2})') >>> rex.scanner('bn20bs') <_sre

[issue20951] SSLSocket.send() returns 0 for non-blocking socket

2014-03-20 Thread Nikolaus Rath
Changes by Nikolaus Rath : Added file: http://bugs.python.org/file34541/issue20951.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue20951] SSLSocket.send() returns 0 for non-blocking socket

2014-03-20 Thread Nikolaus Rath
Changes by Nikolaus Rath : Removed file: http://bugs.python.org/file34540/issue20951.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20951] SSLSocket.send() returns 0 for non-blocking socket

2014-03-20 Thread Nikolaus Rath
Nikolaus Rath added the comment: I'd like to argue with the wise words of Nick Coghlan here: --snip-- There's a great saying in the usability world: "You can't document your way out of a usability problem". What it means is that if all the affordances of your application (or programming langua

[issue20951] SSLSocket.send() returns 0 for non-blocking socket

2014-03-20 Thread Nikolaus Rath
Changes by Nikolaus Rath : Added file: http://bugs.python.org/file34540/issue20951.diff ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: > Again: the point is maintenance later, not breakage now. Ok, well I don't agree that it's more maintenance later to be explicit and not include HIGH, but whatever it's not insecure at the moment so. Attached is a patch against 3.5 for folks to review. --

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

2014-03-20 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21001] Python 3.4 MSI installer doesn't work

2014-03-20 Thread Ram Rachum
Ram Rachum added the comment: Mark, perhaps you've misunderstood me. The MSI doesn't work at all, it doesn't even start the installation process, so I can't give any thought either to running my scripts nor to running the Python interpreter. (By the way, I've been working happily with 3.4b2 so

[issue21001] Python 3.4 MSI installer doesn't work

2014-03-20 Thread Mark Lawrence
Mark Lawrence added the comment: How have you tried to run your scripts and/or the Python 3.4 interpreter? What do you expect to see in Process Explorer? -- nosy: +BreamoreBoy ___ Python tracker _

[issue21001] Python 3.4 MSI installer doesn't work

2014-03-20 Thread Ram Rachum
Ram Rachum added the comment: Note: This happened on both of my computers, which leads me to believe that it's a problem with the MSI. -- ___ Python tracker ___

[issue21001] Python 3.4 MSI installer doesn't work

2014-03-20 Thread Ram Rachum
New submission from Ram Rachum: I'm trying to install Python 3.4 final on Windows 7 and it doesn't work. I'm using the x64 MSI. Nothing happens after running the MSI. I used Process Explorer but I can't see any new process created. I tried restarting my computer, didn't help. I tried launchin

[issue15351] Add to unittest.TestCase support for using context managers

2014-03-20 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The Python ssl module is used for servers and clients. Ideally servers will > have prefer server ciphers on, but that doesn't always happen and providing > a modern level of security for end users is preferable. We should have specific defaults for servers in

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: > > However I still content that using HIGH in the cipherstring actually > > adds additional maintenance burden. In order to know if that > > cipherstring is still safe you must run it against every target > > OpenSSL you want to make secure to ensure that it does

[issue10141] SocketCan support

2014-03-20 Thread Vinay Sajip
Vinay Sajip added the comment: Sorry if I messed up - I just applied the same logic as I thought you had done earlier (replacing #ifdef HAVE_LINUX_CAN_H with #ifdef AF_CAN), and everything compiled OK after my changes. Are you saying that an additional clause for CAN_RAW being defined should b

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > However I still content that using HIGH in the cipherstring actually > adds additional maintenance burden. In order to know if that > cipherstring is still safe you must run it against every target > OpenSSL you want to make secure to ensure that it doesn't all

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: Oh, Additionally Marc: Even if some system administrator or some system out there does patch their OpenSSL to actually be safe by default Python changing it's cipher string only adds to the potential security (or at worst does nothing). If even one system (of

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: Oh, additionally OpenSSL makes no promises what the meaning of "HIGH" will be in the future. So you can only look at what it means now and what it means in the past. OpenSSL is not a good library and it's unfortunate that they don't attempt to make people secu

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: Ok Antoine I've looked around. Using a string like this: ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:ECDH+RC4:DH+RC4:RSA+RC4:ECDH+HIGH:DH+HIGH:RSA+HIGH:!aNULL:!eNULL:!MD5:!DSS The only *additional

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: > > Again, Python is already forcing a set of ciphers. I don't know what sort of > > Systems you use, but even RHEL 6.5 has *horrible* ciphers by in the OpenSSL > > default set. Things like DES (not 3DES, DES) and 40bit RC4. > > I wonder why RedHat doesn't bother

[issue20686] Confusing statement about unicode strings in tutorial introduction

2014-03-20 Thread Georg Brandl
Georg Brandl added the comment: First, entering a string at the command prompt like this is not considered "printing"; it's invoking the repr(). Then, when you say flexible, you say it as if it's a good thing. In this context "flexible" means as much as "easy to produce mojibake" and is not

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Again, Python is already forcing a set of ciphers. I don't know what sort of > Systems you use, but even RHEL 6.5 has *horrible* ciphers by in the OpenSSL > default set. Things like DES (not 3DES, DES) and 40bit RC4. I wonder why RedHat doesn't bother changing

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: > I disagree. Python only provides an interface to OpenSSL, so the OpenSSL > system defaults should be used. Python is already changing the OpenSSL defaults, also you're advocating that Python should support 40bit encryption that can be brute forced in a matter o

[issue13936] RFE: change bool(datetime.time(0, 0, 0)) to evaluate as True

2014-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 89aa669dcc61 by Benjamin Peterson in branch 'default': remove the ability of datetime.time to be considered false (closes #13936) http://hg.python.org/cpython/rev/89aa669dcc61 -- nosy: +python-dev resolution: -> fixed stage: -> committed/r

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 20.03.2014 21:52, Alex Gaynor wrote: > > It's also worth noting that users appear to be FAR more likely to have an up > to date Python than they are an up to date OpenSSL, meaning that if a change > needs to be made, we're much better situated to get th

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: On 20.03.2014 23:36, Donald Stufft wrote: > > Donald Stufft added the comment: > > I'm still looking into what "HIGH" entails across all the various OpenSSLs > that are in production that I can access. That "FUD" was responding to the > attitude that it's

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: I'm still looking into what "HIGH" entails across all the various OpenSSLs that are in production that I can access. That "FUD" was responding to the attitude that it's not Python's job to do this. Python is exposing a security sensitive API, it is it's job. -

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: Oh and don't confuse me that I think Python's current situation is as bad as Ruby's was, but that attitude is dangerous and wrong :/ -- ___ Python tracker _

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Please let's not have a repeat of > https://bugs.ruby-lang.org/issues/9424, Python is in a better place to > workaround that than anyone else. Please stop the FUD. I proposed an alternative, how is it insecure according according to you? -- _

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: > This doesn't parse. If the system OpenSSL isn't maintained properly, it's not > Python's job to workaround that. And we certainly don't have the required > knowledge and dedication anyway. Please let's not have a repeat of https://bugs.ruby-lang.org/issues/94

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way: > Using the default or the "wide" open strings are inherently more > dangerous because of the wide range of OpenSSL's that are in > production use. It's hard without auditing every version of OpenSSL to > figure out what ciphers will be available in

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: See http://bugs.python.org/issue20995#msg214249 -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: Why? At best users will get yet another secure algorithm and at worst they'll get an insecure algorithm. -- ___ Python tracker ___ _

[issue20218] Add methods to `pathlib.Path`: `write_text`, `read_text`, `write_bytes`, `read_bytes`

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: Then I'd rather wait for other people to chime in and state whether they are interested in this feature. -- ___ Python tracker ___

[issue20744] shutil should not use distutils

2014-03-20 Thread Derek Chiang
Derek Chiang added the comment: Cool, thanks for doing this! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-03-20 Thread Matthew Barnett
Matthew Barnett added the comment: FWIW, here's my own attempt at a patch. -- Added file: http://bugs.python.org/file34538/issue20998.patch ___ Python tracker ___ ___

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The string I'm proposing has been carefully crafted in order to get > the ciphers in a very particular order. That order is basically - 1) > Security of the cipher itself 2) PFS 3) Performance while also > maintaining compatibility both forwards and backwards.

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

2014-03-20 Thread R. David Murray
R. David Murray added the comment: 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. If you *also* want to make a script that asks questions (or even a tkinter ap), that'

[issue20636] Better repr for tkinter widgets

2014-03-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: After looking more at testing entire (Idle) dialogs and windows for sanity, I like the idea even more. A person can check that everything that is present looks ok, but code is at least as good as using a checklist to verify that what is present is exactly what

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

2014-03-20 Thread Zachary Ware
Zachary Ware added the comment: The `hg commit -l ...` tricks are just for those who tend to use exactly the same text for commit message and NEWS, and I only point them out simply because I don't know how many people are even aware of the -l option :). If you want to use a NEWS entry as a ba

[issue18931] new selectors module should support devpoll on Solaris

2014-03-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- assignee: -> giampaolo.rodola components: +Library (Lib) resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue18931] new selectors module should support devpoll on Solaris

2014-03-20 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I successfully tested this on Solaris 11. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17846] Building Python on Windows - Supplementary info

2014-03-20 Thread Kathleen Weaver
Kathleen Weaver added the comment: I agree -- so should that be a separate patch since it's in cpython, not devguide? Quoting: Frankly, I don't see much added benefit from the new file. It's mostly duplication of PCbuild/readme.txt, and what little isn't already there should be. I would much

[issue18931] new selectors module should support devpoll on Solaris

2014-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a51a516bc70 by Giampaolo Rodola' in branch 'default': Fix issue 18931: selectors module now supports /dev/poll on Solaris. http://hg.python.org/cpython/rev/0a51a516bc70 -- ___ Python tracker

[issue17846] Building Python on Windows - Supplementary info

2014-03-20 Thread Zachary Ware
Zachary Ware added the comment: It will have to be a separate patch, but can be done in this issue. -- ___ Python tracker ___ ___ Pyth

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Alex Gaynor
Alex Gaynor added the comment: It's also worth noting that users appear to be FAR more likely to have an up to date Python than they are an up to date OpenSSL, meaning that if a change needs to be made, we're much better situated to get that disseminated to actual users than OpenSSL is --

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: Another bit of maintenance here: If a new cipher suite is added to OpenSSL it won' be generally available for a long while so very few if any services are going to be willing to depend on *only* it. For the very rare and unlikely case that somebody does setup a

[issue18931] new selectors module should support devpoll on Solaris

2014-03-20 Thread Guido van Rossum
Guido van Rossum added the comment: LGTM, but I don't have a Solaris box to test. I suppose one of you has tested this? Then okay to commit to the default (== 3.5) branch. -- ___ Python tracker ___

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

2014-03-20 Thread Brett Cannon
Brett Cannon added the comment: So the `hg commit -l` bit is going to run afoul of the same group of people who didn't like my commit message reuse idea unless you explicitly try to make it very clear that e.g. the first line is for Misc/NEWS and the latter is for the commit. Otherwise we have

[issue20996] Backport TLS 1.1 and 1.2 support for ssl_version

2014-03-20 Thread Nick Coghlan
Nick Coghlan added the comment: Yes, I have been persuaded this fixes a security issue in the Python 2 ecosystem: the current barriers to good web security practices are too high. I have been vocal in pointing out that Python 2 will remain a commercially supported platform for at least another d

[issue20980] In multiprocessing.pool, ExceptionWithTraceback should derive from Exception

2014-03-20 Thread Richard Oudkerk
Richard Oudkerk added the comment: We should only wrap the exception with ExceptionWithTraceback in the process case where it will be pickled and then unpickled. -- assignee: -> sbt ___ Python tracker ___

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-03-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file34537/sre_fullmatch_repeated_ignorecase.patch ___ Python tracker _

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Nick Coghlan
Nick Coghlan added the comment: In terms of following closely, I'd be willing to encourage Red Hat's SRT to keep an eye on this. -- ___ Python tracker ___ ___

[issue20990] pyflakes: undefined names, get_context() and main(), in multiprocessing

2014-03-20 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- assignee: -> sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue20744] shutil should not use distutils

2014-03-20 Thread A.M. Kuchling
Changes by A.M. Kuchling : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

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

2014-03-20 Thread Zachary Ware
Changes by Zachary Ware : -- keywords: +patch Added file: http://bugs.python.org/file34536/0607c4a2e890.diff ___ Python tracker ___ __

[issue20744] shutil should not use distutils

2014-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 681e20f8b717 by Andrew Kuchling in branch 'default': #20744: don't try running an external 'zip' in shutil.make_archive() http://hg.python.org/cpython/rev/681e20f8b717 -- nosy: +python-dev ___ Python trac

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

2014-03-20 Thread Zachary Ware
Zachary Ware added the comment: The earlier in a release cycle we switch NEWS methods, the better. Does anyone have any thoughts to share about this, either on Brett's newsworthy.py, my news.py/news_release.py, or another approach entirely? I've updated the playground branch of sandbox/new_ne

[issue20686] Confusing statement about unicode strings in tutorial introduction

2014-03-20 Thread Daniel U. Thibault
Daniel U. Thibault added the comment: >>> mystring="äöü" >>> myustring=u"äöü" >>> mystring '\xc3\xa4\xc3\xb6\xc3\xbc' >>> myustring u'\xe4\xf6\xfc' >>> str(mystring) '\xc3\xa4\xc3\xb6\xc3\xbc' >>> str(myustring) Traceback (most recent call last): File "", line 1, in UnicodeEncodeError: 'asci

[issue11352] Update cgi module doc

2014-03-20 Thread R. David Murray
R. David Murray added the comment: It looks like the non-doc stuff was accidental inclusions and should be ignored. Or better, the patch author could address Berker and Jim's comments and resubmit a clean patch. -- ___ Python tracker

[issue20744] shutil should not use distutils

2014-03-20 Thread A.M. Kuchling
A.M. Kuchling added the comment: Yes, tests are only run after a change is committed and pushed into Mercurial; this is done by BuildBot https://www.python.org/dev/buildbot/ . So it's a good idea to run tests before submitting a patch or committing a change. No matter how trivial a change seem

[issue11352] Update cgi module doc

2014-03-20 Thread Jim Jewett
Jim Jewett added the comment: I have now also looked at cgi-doc.patch, and it is not strictly documentation changes. I have no informed opinion on the the additional changes, but I don't think they should go in as "doc change". -- ___ Python tracke

[issue18931] new selectors module should support devpoll on Solaris

2014-03-20 Thread Charles-François Natali
Changes by Charles-François Natali : Added file: http://bugs.python.org/file34535/devpoll3_try_again.diff ___ Python tracker ___ ___ Python-bu

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

2014-03-20 Thread R. David Murray
R. David Murray added the comment: Have you tried experimenting with what locale is set to? These look like locale configuration issues rather than platform issues. Specifically, the C locale will produce the (None, None) result on linux. -- nosy: +r.david.murray ___

[issue19861] Update What's New for Python 3.4

2014-03-20 Thread R. David Murray
R. David Murray added the comment: Oh, yeah, it should be. Any further changes should be independent bug reports. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker __

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

2014-03-20 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file34534/issue21000.diff ___ Python tracker ___

[issue10141] SocketCan support

2014-03-20 Thread Charles-François Natali
Charles-François Natali added the comment: Vinay, your change just reverted this: http://bugs.python.org/issue20065 Basically, AF_CAN being defined doesn't imply that CAN_RAW is defined. So compilation will now fail - again - on those hosts. -- status: closed -> open _

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-03-20 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> needs patch versions: +Python 3.5 ___ Python tracker ___ ___ Pytho

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

2014-03-20 Thread Benjamin Peterson
New submission from Benjamin Peterson: I current get this behavior: % python3 -m json.tool -h Traceback (most recent call last): File "/usr/lib64/python3.3/runpy.py", line 160, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib64/python3.3/runpy.py", line 73, in _r

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

2014-03-20 Thread albertjan
New submission from albertjan: ->> see also issue #18378 # Result applies to Python 2.7.2 and Python 3.3.4 # Mac OS X Mountain Lion 10.9.1 on Virtualbox with a Linux Debian AMD-64 host fomcls-Mac-Pro:~ fomcl$ uname -a Darwin fomcls-Mac-Pro.local 12.2.0 Darwin Kernel Version 12.2.0: S

[issue20744] shutil should not use distutils

2014-03-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20939] test_geturl of test_urllibnet fails with 'https://www.python.org/' != 'http://www.python.org/'

2014-03-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20168] Derby: Convert the _tkinter module to use Argument Clinic

2014-03-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is updated patch. -- versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file34533/tkinter_clinic_2.patch ___ Python tracker ___

[issue17188] Document 'from None' in raise statement doc.

2014-03-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-03-20 Thread Nathan West
Changes by Nathan West : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue20994] Disable TLS Compression

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: Here's the same patch for Python 2.7, it's basically the same thing just at a different location. -- Added file: http://bugs.python.org/file34532/disable-ssl-compression-2.7.diff ___ Python tracker

[issue20998] fullmatch isn't matching correctly under re.IGNORECASE

2014-03-20 Thread Nathan West
New submission from Nathan West: I have the following regular expression: In [2]: regex = re.compile("ME IS \w+", re.I) For some reason, when using `fullmatch`, it doesn't match substrings longer than 1 for the '\w+': In [3]: regex.fullmatch("ME IS L") Out[3]: <_sre.SRE_Match object; span=(0,

[issue19861] Update What's New for Python 3.4

2014-03-20 Thread Zachary Ware
Zachary Ware added the comment: Thanks for the #3158 addition, David :) We've been a week with no more major changes; is this issue done? -- ___ Python tracker ___ _

[issue20996] Backport TLS 1.1 and 1.2 support for ssl_version

2014-03-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-20 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Garbage collection still closes files, but Python >=3.2 might print ResourceWarnings. -- nosy: +Arfrever ___ Python tracker __

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20994] Disable TLS Compression

2014-03-20 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20994] Disable TLS Compression

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: This is a simple patch, it simple disables TLS Compression by default. If a user wants to add it back they can create their own SSLContext and do ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23) ctx.options &= ~ssl.OP_NO_COMPRESSION This should be able to apply again

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Donald Stufft
Donald Stufft added the comment: Yea I noticed that, so I was doing some more testing, here's what I think we should be using (It Adds back in RC4): ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:ECDH+RC4:DH+RC4:RSA+RC4!aNULL:!MD5:!D

[issue20887] stdlib compatibility with pypy, test_zipfile.py

2014-03-20 Thread mattip
mattip added the comment: As far as I know, cpython3 dropped the assumption that garbage collection closes files, so python3's version of this test should already handle the issue, no? -- ___ Python tracker _

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Alex Gaynor
Alex Gaynor added the comment: That's because of the set of ciphersuites offered by the server (see https://www.ssllabs.com/ssltest/analyze.html?d=linuxfr.org), it's not an inevitable property of TLS. For example jenkins.cryptography.io (see https://www.ssllabs.com/ssltest/analyze.html?d=jenki

[issue20636] Better repr for tkinter widgets

2014-03-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Are there any questions or objections? -- assignee: -> serhiy.storchaka ___ Python tracker ___ __

[issue20995] Use Better Default Ciphers for the SSL Module

2014-03-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: > create_default_context is about best practices, though, so it seems to > me it wouldn't be crazy to do it there. Agreed, but the real problem here is maintenance. Hardcoding a list of specific ciphers means someone must follow closely the introduction of new c

  1   2   >