Re: Uninstall

2015-08-04 Thread milos zorica
you can't fully uninstall python from OSX, linux, BSD as there are many python dependent system tools -- https://mail.python.org/mailman/listinfo/python-list

[issue19518] Add new PyRun_xxx() functions to not encode the filename

2015-08-04 Thread Adam Bartoš
Adam Bartoš added the comment: I'm not sure this is the right issue. The support for Unicode filenames is not (at least on Windows) ideal. Let α.py be a Python script with invalid syntax. py α.py File encoding error, line 2 as as compile error ^ SyntaxError: invalid syntax On the

ANN: eGenix Talks Videos: Python Idioms Talk

2015-08-04 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix Talks Videos: Python Idioms Talk EuroPython 2015 This announcement is also available on our web-site for online reading:

Uninstall

2015-08-04 Thread Bill
How do I uninstall Python from a Mac? -- https://mail.python.org/mailman/listinfo/python-list

Re: how to determine for using c extension or not ?

2015-08-04 Thread umedoblock
On 2015年08月04日 00:05, Oscar Benjamin wrote: On Mon, 3 Aug 2015 at 15:58 umedoblock umedobl...@gmail.com mailto:umedobl...@gmail.com wrote: I use bisect.bisect.__module__ sentence to determine for using c extension or not. Why do you want to know if it uses the C extension? It

[issue24747] ctypes silently truncates ints larger than C int

2015-08-04 Thread Christopher Meng
Changes by Christopher Meng cicku...@gmail.com: -- nosy: +Christopher Meng ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24747 ___ ___

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2015-08-04 Thread Nick Coghlan
Nick Coghlan added the comment: Berker committed the original patch to move the helper module, so adjusting the stage back to reflect the ongoing review on related issues. -- keywords: -easy stage: commit review - patch review ___ Python tracker

[issue24787] csv.Sniffer guesses M instead of \t or , as the delimiter

2015-08-04 Thread Peter Otten
Peter Otten added the comment: The sniffer actually changes its mind in the fourth line: Python 3.4.0 (default, Jun 19 2015, 14:20:21) [GCC 4.8.2] on linux Type help, copyright, credits or license for more information. import csv csv.Sniffer().sniff(\ ... Invoice File,Credit Memo,Amount

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread Jean-Michel Pichavant
- Original Message - From: Cecil Westerhof ce...@decebal.nl To: python-list@python.org Sent: Sunday, 2 August, 2015 12:11:28 PM Subject: Most Pythonic way to store (small) configuration There are a lot of ways to store configuration information: - conf file - xml file - database

Re: how to determine for using c extension or not ?

2015-08-04 Thread umedoblock
On 2015年08月04日 03:11, Terry Reedy wrote: Posting three times under two different names is not polite. Please to not repeat. sorry... You should not care. If you think there is an undocumented difference in behavior, ask here if it is a bug. I don't think a bug in this question. I

Re: Uninstall

2015-08-04 Thread Grant Edwards
On 2015-08-04, milos zorica miloshzor...@gmail.com wrote: you can't fully uninstall python from OSX, linux, BSD as there are many python dependent system tools Well, technically you _can_ uninstall Python if you really want, but all sorts of things will stop working. In some cases, it's very

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread marco . nawijn
On Sunday, August 2, 2015 at 12:14:51 PM UTC+2, Cecil Westerhof wrote: There are a lot of ways to store configuration information: - conf file - xml file - database - json file - and possible a lot of other ways I want to write a Python program to display cleaned log files. I do not

Re: How to import a function from another module...

2015-08-04 Thread marco . nawijn
On Tuesday, August 4, 2015 at 3:11:41 PM UTC+2, Dwight GoldWinde wrote: Thank you, Steven. I am a newbie with Python? so I really want to learn how to do it the easy way. Yes, could you tell me how to put the py.file that contains the function in the Python search path??? BIG SMILE...

Re: Uninstall

2015-08-04 Thread milos zorica
that's my point -- https://mail.python.org/mailman/listinfo/python-list

ANN: eGenix Talks Videos: Python Idioms Talk

2015-08-04 Thread eGenix Team: M.-A. Lemburg
ANNOUNCING eGenix Talks Videos: Python Idioms Talk EuroPython 2015 This announcement is also available on our web-site for online reading:

EuroPython 2015: Thank you to all volunteers

2015-08-04 Thread M.-A. Lemburg
EuroPython is now over and was a great success thanks to everyone who helped make it happen. Unfortunately, we did not properly acknowledge all the volunteers who were working on the event during the closing session and we would like to apologize for this, so here’s the full list of all

ANN: PyWavelets 0.3.0 release

2015-08-04 Thread Ralf Gommers
Dear all, On behalf of the PyWavelets development team I'm excited to announce the availability of PyWavelets 0.3.0. This is the first release of the package in 3 years. It is the result of a significant effort of a growing development team to modernize the package, to provide Python 3.x support

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread c.buhtz
Dear Cecil, I subscribed to late to answer to your top-post in that thread. I had the same topic for myself in the last months and tried a lot of things. In your situation I would prefere the INI-file format, too. But doen't user 'configparser' for that. As other fellows described it's a bad

Re: Python 3 May Become Relevant Now

2015-08-04 Thread Todd
On Aug 3, 2015 17:46, Rick Johnson rantingrickjohn...@gmail.com wrote: On Sunday, August 2, 2015 at 9:45:51 PM UTC-5, Chris Angelico wrote: How do you know it was written today, if you didn't click it? Because i possess skills you can hardly fathom. There are always loopholes; back doors;

[issue20180] Derby #11: Convert 50 sites to Argument Clinic across 9 files

2015-08-04 Thread Tal Einat
Tal Einat added the comment: Summary of the current state of this AC conversion derby group: 1) The collections, itertools and random modules should not be converted (at least for now). 2) The three example modules should not be converted (Modules/xxlimited.c, Modules/xxmodule.c and

ANN: Lea 2.1.2

2015-08-04 Thread Pierre Denis
I am pleased to announce the release of Lea 2.1.2! There are NO known open bug in this version.   Please note the migration of the project to Bitbucket (see URL below), due to the approaching end of Google Code. What is Lea? Lea is a Python package aiming at working with discrete

Re: How to import a function from another module...

2015-08-04 Thread Dwight GoldWinde
Thank you, Steven. I am a newbie with Python? so I really want to learn how to do it the easy way. Yes, could you tell me how to put the py.file that contains the function in the Python search path??? BIG SMILE... Always, Dwight www.3forliving.key.to (video playlist on YouTube)

Re: __main__ vs official module name: distinct module instances

2015-08-04 Thread Jonas Wielicki
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02.08.2015 05:53, Cameron Simpson wrote: When invoked this way, the module cs.app.maildb that is being executed is actually the module named __main__. If some other piece of code imports cs.app.maildb they get a _different_ instance of the

[issue17570] Improve devguide Windows instructions

2015-08-04 Thread Steve Dower
Steve Dower added the comment: Looks like the patchcheck section also has a PCBuild/python.exe that should be fixed. Are the previous commenters satisfied with the fixes? -- ___ Python tracker rep...@bugs.python.org

[issue24787] csv.Sniffer guesses M instead of \t or , as the delimiter

2015-08-04 Thread Skip Montanaro
Skip Montanaro added the comment: I should have probably pointed out that the Sniffer class is the unloved stepchild of the csv module. In my experience it is rarely necessary. You either: * Are reading CSV files which are about what Excel would produce with its default settings or * Know

[issue17570] Improve devguide Windows instructions

2015-08-04 Thread Zachary Ware
Zachary Ware added the comment: In the patch: -add configuration settings to ``~/.hgrc`` for the relevant repo(s) (remember +add configuration settings to ``~/.hgrc`` (``mercurial.ini`` on Windows) +for the relevant repo(s) (remember This is nonsensical, `~/.hgrc`

Re: Uninstall

2015-08-04 Thread Rustom Mody
On Wednesday, August 5, 2015 at 7:49:10 AM UTC+5:30, Mario Figueiredo wrote: On Wed, Aug 5, 2015 at 3:08 AM, Mario Figueiredo mar...@gmail.com wrote: But being an asshole does not. That is something one chooses to become. Your answer squarely puts you in the group of people that chose to

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread Michael Torrie
On 08/04/2015 08:44 PM, random...@fastmail.us wrote: On Tue, Aug 4, 2015, at 21:32, Michael Torrie wrote: In many of my projects I put basic config variables in a file like config.py and import that in each module that needs it. The config module doubles as a global namespace for sharing

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread Michael Torrie
On 08/04/2015 08:19 PM, Cameron Simpson wrote: So on the whole I am against python code as the config file format. Really, who needs a Turing complete configuration file? In Django's case, since you're intimately referring to certain classes and methods, particularly in the url mapping

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread Rustom Mody
On Wednesday, August 5, 2015 at 10:19:11 AM UTC+5:30, Michael Torrie wrote: On 08/04/2015 08:44 PM, wrote: On Tue, Aug 4, 2015, at 21:32, Michael Torrie wrote: In many of my projects I put basic config variables in a file like config.py and import that in each module that needs it. The

Re: Uninstall

2015-08-04 Thread paul . anton . letnes
Right. Try which python in the terminal and report back! Cheers Paul -- https://mail.python.org/mailman/listinfo/python-list

[issue24790] Idle: improve stack viewer

2015-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: 5. Change title to something better than 'Idle'. Perhaps 'Idle Shell Traceback'? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24790 ___

[issue24790] Idle: improve stack viewer

2015-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: 5b. Add Python version to end of , as with Shell window. This will be more than one patch. Some should be easy. -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24790

Re: Uninstall

2015-08-04 Thread Mario Figueiredo
On Tue, Aug 4, 2015 at 11:06 PM, Ned Batchelder n...@nedbatchelder.com wrote: On Tuesday, August 4, 2015 at 2:32:16 PM UTC-4, sohca...@gmail.com wrote: milos: You can't uninstall Python because it will break things Grant: Actually, you CAN uninstall Python, but it will break things I

Re: Uninstall

2015-08-04 Thread Mario Figueiredo
On Wed, Aug 5, 2015 at 3:08 AM, Mario Figueiredo mar...@gmail.com wrote: But being an asshole does not. That is something one chooses to become. Your answer squarely puts you in the group of people that chose to be in life to be a pain to others [...] An ugly mistyping there completely changed

[issue24791] *args regression

2015-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3c170f68407f by Zachary Ware in branch '3.4': Issue #24791: Add tests for things that regressed with PEP 448 https://hg.python.org/cpython/rev/3c170f68407f -- nosy: +python-dev ___ Python tracker

[issue24791] *args regression

2015-08-04 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- keywords: +3.4regression nosy: +benjamin.peterson, yselivanov, zach.ware priority: normal - release blocker stage: - needs patch type: - behavior versions: +Python 3.6 ___ Python tracker

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread random832
On Tue, Aug 4, 2015, at 21:32, Michael Torrie wrote: In many of my projects I put basic config variables in a file like config.py and import that in each module that needs it. The config module doubles as a global namespace for sharing between modules as well. What about JSONP? That is, a

[issue24791] *args regression

2015-08-04 Thread Zachary Ware
Zachary Ware added the comment: Test committed on 3.4; I'm not comfortable enough with the grammar to actually fix the issue (the obvious change of `star_expr` = `'*' test` isn't enough, I tried :)). -- ___ Python tracker rep...@bugs.python.org

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread Michael Torrie
On 08/04/2015 01:59 PM, Ben Finney wrote: marco.naw...@colosso.nl writes: Why not use Python files itself as configuration files? Because configuration data will be user-editable. (If it's not user-editable, that is itself a poor design choice.) If you allow executable code to be

[issue24791] *args regression

2015-08-04 Thread Ben Longbons
New submission from Ben Longbons: The following code is allowed by the grammar of Python 3.4, but not Python 3.5: `def f(): g(*a or b)` where unary `*` has the lowest precedence, i.e. it is equivalent to: `def f(): g(*(a or b))` The cause of the regression that the 3.4 grammar for `arglist`

[issue24791] *args regression

2015-08-04 Thread Ben Longbons
Ben Longbons added the comment: Related: bug 24176 fixed this for the `**` case. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24791 ___ ___

Re: Uninstall

2015-08-04 Thread Ned Batchelder
On Tuesday, August 4, 2015 at 2:32:16 PM UTC-4, sohca...@gmail.com wrote: milos: You can't uninstall Python because it will break things Grant: Actually, you CAN uninstall Python, but it will break things I really fucking hate how pedantic some of the people on this mailing list are.

[issue24787] csv.Sniffer guesses M instead of \t or , as the delimiter

2015-08-04 Thread R. David Murray
R. David Murray added the comment: If you look at the algorithm it is doing some fancy things with metrics, but does have a 'preferred delimiters' list that it checks. It is possible things could be improved either by tweaking the threshold or by somehow giving added weight to the metrics

[issue24788] HTTPException is derived from Exception instead of IOError

2015-08-04 Thread Martin Panter
Martin Panter added the comment: Did you have any specific exceptions in mind, or specific subclasses of IOError? In 3.5 we now have the RemoteDisconnected exception, which derives ConnectionResetError. Some of the other exceptions are only local programmer errors. Currently documented

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-08-04 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Added file: http://bugs.python.org/file40127/odict-correct-resize.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___

Re: Linux script to get most expensive processes

2015-08-04 Thread Cecil Westerhof
On Tuesday 4 Aug 2015 22:52 CEST, Emile van Sebille wrote: On 8/4/2015 1:19 PM, Cecil Westerhof wrote: Under Linux I like to get the most expensive processes. The two most useful commands are: ps -eo pid,user,pcpu,args --sort=-pcpu and: ps -eo pid,user,pcpu,args --sort=-vsize In my case I

Re: Linux script to get most expensive processes

2015-08-04 Thread MRAB
On 2015-08-04 22:30, Cecil Westerhof wrote: On Tuesday 4 Aug 2015 22:52 CEST, Emile van Sebille wrote: On 8/4/2015 1:19 PM, Cecil Westerhof wrote: Under Linux I like to get the most expensive processes. The two most useful commands are: ps -eo pid,user,pcpu,args --sort=-pcpu and: ps -eo

Re: Linux script to get most expensive processes

2015-08-04 Thread Emile van Sebille
On 8/4/2015 2:30 PM, Cecil Westerhof wrote: On Tuesday 4 Aug 2015 22:52 CEST, Emile van Sebille wrote: My platform shows as linux2 and it worked fine for me when checking for that. I heard that that was possible also, but none of my systems gives this. I should change it. You could also

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-08-04 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: Removed file: http://bugs.python.org/file40126/odict-correct-resize.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___

[issue17776] IDLE Internationalization

2015-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume setting builtins._ is part of imitating the shell. It could be replace with setattr. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17776 ___

Re: Linux script to get most expensive processes

2015-08-04 Thread Cecil Westerhof
On Wednesday 5 Aug 2015 00:12 CEST, Emile van Sebille wrote: On 8/4/2015 2:30 PM, Cecil Westerhof wrote: On Tuesday 4 Aug 2015 22:52 CEST, Emile van Sebille wrote: My platform shows as linux2 and it worked fine for me when checking for that. I heard that that was possible also, but none

Re: Linux script to get most expensive processes

2015-08-04 Thread Cecil Westerhof
On Wednesday 5 Aug 2015 00:00 CEST, MRAB wrote: I amended the code to work with linux and linux2: accepted_params = { 'pcpu', 'rss', 'size', 'time', 'vsize', } accepted_platforms = { 'linux', 'linux2', }

[issue24790] Idle: improve stack viewer

2015-08-04 Thread Terry J. Reedy
New submission from Terry J. Reedy: Debug = Stack Viewer (no hot key) could become more useful, aside from #23544, freezing Idle when Debugger active. 1. Don't include idlelib.run.runcode. 2. Don't duplicate globals under each function. Once for the module is enough. 3. Remove +Locals under

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-08-04 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24667 ___

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-08-04 Thread Eric Snow
Eric Snow added the comment: It turns out the problem was that the odict resize mechanism was not getting triggered in all the cases that it should have been. dict resizes after a certain number of insertions, whether or not previous deletions have cleared out space. odict only resizes its

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread Irmen de Jong
On 4-8-2015 16:53, marco.naw...@colosso.nl wrote: Why not use Python files itself as configuration files? It could create a security risk if the config files are user-editable. (it will make it easy to inject code into your application) Irmen --

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread marco . nawijn
On Tuesday, August 4, 2015 at 7:06:33 PM UTC+2, Irmen de Jong wrote: On 4-8-2015 16:53, marco.naw...@colosso.nl wrote: Why not use Python files itself as configuration files? It could create a security risk if the config files are user-editable. (it will make it easy to inject code into

[issue24778] mailcap.findmatch() ........ Shell Command Injection in filename

2015-08-04 Thread Bernd Dietzel
Bernd Dietzel added the comment: Yes changing the docs is a good idea. I was thinking about a patch : import os ### patch import random try: from shlex import quote except ImportError: from pipes import quote ### ... and so on # Part 3: using the database. def

[issue20769] Reload() description is unclear

2015-08-04 Thread Robert Collins
Robert Collins added the comment: 2.7 side applied. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20769 ___ ___ Python-bugs-list mailing list

[issue20769] Reload() description is unclear

2015-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset cfd768814ca3 by Robert Collins in branch '2.7': Issue #20769: Improve reload() docs. Patch by Dorian Pula. https://hg.python.org/cpython/rev/cfd768814ca3 -- nosy: +python-dev ___ Python tracker

Re: Uninstall

2015-08-04 Thread sohcahtoa82
On Tuesday, August 4, 2015 at 7:29:29 AM UTC-7, Grant Edwards wrote: On 2015-08-04, milos zorica miloshzor...@gmail.com wrote: you can't fully uninstall python from OSX, linux, BSD as there are many python dependent system tools Well, technically you _can_ uninstall Python if you really

Linux script to get most expensive processes

2015-08-04 Thread Cecil Westerhof
Under Linux I like to get the most expensive processes. The two most useful commands are: ps -eo pid,user,pcpu,args --sort=-pcpu and: ps -eo pid,user,pcpu,args --sort=-vsize In my case I am only interested in the seven most expensive processes. For this I wrote the following script.

Re: Linux script to get most expensive processes

2015-08-04 Thread Emile van Sebille
On 8/4/2015 1:19 PM, Cecil Westerhof wrote: Under Linux I like to get the most expensive processes. The two most useful commands are: ps -eo pid,user,pcpu,args --sort=-pcpu and: ps -eo pid,user,pcpu,args --sort=-vsize In my case I am only interested in the seven most expensive

[issue20769] Reload() description is unclear

2015-08-04 Thread Robert Collins
Robert Collins added the comment: 24081 invalidates half the patch, but the other half still applies. -- nosy: +rbcollins versions: +Python 3.4, Python 3.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20769

[issue24759] Idle: add ttk widgets as an option

2015-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: A second specific reason to make ttk optional is either they or the accompanying re-writing may (and probably will) break some extension that goes beyond the narrowly defined extension interface. For the present, a user using such an extension would be able

[issue24750] IDLE: Cosmetic improvements for main window

2015-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Back to Editor Windows: I have a new idea for the status bar First: move ln, col to the left, replace the label with a label + entry box. If someone edits the line number and hits return (or just leaves the box?), jump to the line. Treat negative numbers as

Re: Uninstall

2015-08-04 Thread Mark Lawrence
On 04/08/2015 19:31, sohcahto...@gmail.com wrote: On Tuesday, August 4, 2015 at 7:29:29 AM UTC-7, Grant Edwards wrote: On 2015-08-04, milos zorica miloshzor...@gmail.com wrote: you can't fully uninstall python from OSX, linux, BSD as there are many python dependent system tools Well,

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread Ben Finney
marco.naw...@colosso.nl writes: Why not use Python files itself as configuration files? Because configuration data will be user-editable. (If it's not user-editable, that is itself a poor design choice.) If you allow executable code to be user-edited, that opens your program to arbitrary

[issue24788] HTTPException is derived from Exception instead of IOError

2015-08-04 Thread Pastafarianist
New submission from Pastafarianist: In both Python 2 and Python 3, HTTPException is derived from Exception. This is not quite convenient, since catching all connection-related errors while performing an HTTP query requires catching both IOError (which is subclassed by socket.error) and

Re: Uninstall

2015-08-04 Thread Mario Figueiredo
On Tue, Aug 4, 2015 at 9:01 PM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 04/08/2015 19:31, sohcahto...@gmail.com wrote: On Tuesday, August 4, 2015 at 7:29:29 AM UTC-7, Grant Edwards wrote: On 2015-08-04, milos zorica miloshzor...@gmail.com wrote: you can't fully uninstall python

Re: Uninstall

2015-08-04 Thread Ned Batchelder
On Tuesday, August 4, 2015 at 9:51:27 PM UTC-4, Mario Figueiredo wrote: On Tue, Aug 4, 2015 at 9:01 PM, Mark Lawrence bream...@yahoo.co.uk wrote: The simple solution is not to subscribe. Or even better, tell you to fuck off.  Can we please try to stay civil? --Ned. --

Re: Most Pythonic way to store (small) configuration

2015-08-04 Thread Cameron Simpson
On 04Aug2015 19:32, Michael Torrie torr...@gmail.com wrote: On 08/04/2015 01:59 PM, Ben Finney wrote: marco.naw...@colosso.nl writes: Why not use Python files itself as configuration files? Because configuration data will be user-editable. (If it's not user-editable, that is itself a poor

[issue24751] regrtest/buildbot: test run marked as failure even when re-run succeeds

2015-08-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6987a9c7dde9 by Zachary Ware in branch '2.7': Issue #24751: When running regrtest with '-w', don't fail if re-run succeeds. https://hg.python.org/cpython/rev/6987a9c7dde9 New changeset 9964edf2fd1e by Zachary Ware in branch '3.4': Issue #24751:

[issue24791] *args regression

2015-08-04 Thread Yury Selivanov
Yury Selivanov added the comment: The attached patch should fix that. Please review. -- keywords: +patch Added file: http://bugs.python.org/file40128/issue24791.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24791

[issue24791] *args regression

2015-08-04 Thread Yury Selivanov
Changes by Yury Selivanov yseliva...@gmail.com: -- nosy: +larry, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24791 ___ ___

[issue2292] Missing *-unpacking generalizations

2015-08-04 Thread Yury Selivanov
Yury Selivanov added the comment: Do we need to make lib2to3 compatible with the new grammar? -- nosy: +yselivanov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___

[issue24791] *args regression

2015-08-04 Thread Ben Longbons
Ben Longbons added the comment: Also consider: *() or (), *() or () [*() or (), *() or ()] {*() or (), *() or ()} {**{} or {}, **{} or {}} Note that the second-or-later argument is a separate part of the grammar so that's why I wrote it twice. Actually, I think `star_expr` will probably go

[issue24787] csv.Sniffer guesses M instead of \t or , as the delimiter

2015-08-04 Thread Tiago Wright
Tiago Wright added the comment: I agree that the parameters are easily deduced for any one csv file after a quick inspection. The reason I went searching for a good sniffer was that I have ~2100 csv files of slightly different formats coming from different sources. In some cases, a csv file is