[issue10141] SocketCan support

2014-03-21 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:

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

2014-03-21 Thread Ned Deily
Ned Deily added the comment: It's hard to be absolutely sure what is going on here since you show several different interpreters and appear to be running on a non-standard, unsupported platform but, as David noted, the primary issue is that the process locale has almost certainly not been set

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

2014-03-21 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21000 ___ ___

[issue20844] coding bug remains in 3.3.5rc2

2014-03-21 Thread Marc Schlaich
Marc Schlaich added the comment: I can reproduce this one. There are a few conditions which needs to be met: - Linux line endings - File needs to have at least x lines (empty lines are fine). I guess this is the point why no one could reproduce it. The attached file has 19 lines but probably

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

2014-03-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: The locale issue is that on a default (us english) install of 10.9 the following locale related environment variables are set: $ set | grep UTF LANG=en_US.UTF-8 LC_CTYPE=UTF-8 The locale module doesn't understand the LC_CTYPE setting, and this appears to be

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

2014-03-21 Thread Tuomas Savolainen
Tuomas Savolainen added the comment: Made a patch that throws exception as suggested: 3- Make check_output() throw an Exception if the first argument is a list and shell=True -- keywords: +patch nosy: +Tuomas.Savolainen Added file: http://bugs.python.org/file34543/issue20344.patch

[issue17128] OS X system openssl deprecated - installer should build local libssl

2014-03-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: The link below contains a script for building fat binaries for openssl. There's nothing surprising in the script, just building multiple times and then merging the result using lipo. https://gist.github.com/foozmeat/5154962 BTW. I'm not proposing to use

[issue21003] how to do batch processing using python

2014-03-21 Thread Eric V. Smith
Eric V. Smith added the comment: This bug tracker is for reporting bugs in python. For questions on using python, please use the python-list mailing list: https://mail.python.org/mailman/listinfo/python-list -- nosy: +eric.smith resolution: - invalid stage: - committed/rejected

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

2014-03-21 Thread Eric V. Smith
New submission from Eric V. Smith: This bug tracker is for reporting bugs in python. For questions on using python, please use the python-list mailing list: https://mail.python.org/mailman/listinfo/python-list -- nosy: +eric.smith resolution: - rejected stage: - committed/rejected

[issue20927] Different behaviour on Posix and Windows when using subprocess.Popen(..., cwd=path)

2014-03-21 Thread Jovik
Jovik added the comment: I appreciate your suggestion regarding cygwin, but in the new code base we want to avoid this dependency. Thanks for your time on this issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20927

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

2014-03-21 Thread Gareth Gouldstone
Gareth Gouldstone added the comment: Scanner may not be a public interface but it is widely documented, not least on page 67 of the O'reilly Python Cookbook. Even if Scanner is not made public, then surely it should maintain consistency with the public interfaces? -- versions:

[issue10240] dict.update.__doc__ is misleading

2014-03-21 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- assignee: - docs@python components: +Documentation -Interpreter Core nosy: +berker.peksag, docs@python versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker

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

2014-03-21 Thread Alexandre JABORSKA
New submission from Alexandre JABORSKA: asyncio.subprocess.DEVNULL documentation is the same as asyncio.subprocess.STDOUT one and (I guess) inadequate (cut paste error ?). -- assignee: docs@python components: Documentation messages: 214338 nosy: ajaborsk, docs@python priority: normal

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

2014-03-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 70c77ff64df1 by Victor Stinner in branch 'default': Close #21005: Fix documentation of asyncio.subprocess.DEVNULL http://hg.python.org/cpython/rev/70c77ff64df1 -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status:

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

2014-03-21 Thread STINNER Victor
STINNER Victor added the comment: and (I guess) inadequate (cut paste error ?). Correct, my bad. It's now fixed. Thanks for the report. -- nosy: +haypo resolution: fixed - stage: committed/rejected - status: closed - open ___ Python tracker

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

2014-03-21 Thread Alexandre JABORSKA
New submission from Alexandre JABORSKA: The documentation example (getstatusoutput) does not work on windows because it use the default loop (based on select). The whole asyncio.ProactorEventLoop stuff is not really explained anywhere. Maybe a How to use asyncio on Windows could be useful.

[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 7cca663a72eb by Victor Stinner in branch 'default': Issue #21006: Fix subprocess example on Windows in asyncio doc http://hg.python.org/cpython/rev/7cca663a72eb -- nosy: +python-dev ___ Python tracker

[issue10141] SocketCan support

2014-03-21 Thread Vinay Sajip
Vinay Sajip added the comment: What error were you getting? 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. Note the change you made in d4ce850b06b7 to fix this problem when it occurred before - it's the same

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

2014-03-21 Thread STINNER Victor
STINNER Victor added the comment: Oh, the limit parameter StreamReader is not documented! Here is a patch to document it. -- nosy: +gvanrossum, haypo, yselivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21006

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

2014-03-21 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file34544/streamreader_limit.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21006

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

2014-03-21 Thread STINNER Victor
STINNER Victor added the comment: The whole asyncio.ProactorEventLoop stuff is not really explained anywhere. Maybe a How to use asyncio on Windows could be useful. It is explained in the subprocess methods of the event loop. Well, I expected this reaction: the subprocess documentation is

[issue21001] Python 3.4 MSI installer doesn't work

2014-03-21 Thread Ram Rachum
Ram Rachum added the comment: David: It's failing on both of my computers, laptop and desktop, not just one. Don't you guys have a simple command to create an .exe installer? This has a good chance of solving my problem. -- ___ Python tracker

[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 00:10, Donald Stufft wrote: 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

[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

  1   2   >