Re: addressof object with id()

2013-03-24 Thread Nobody
On Sat, 23 Mar 2013 19:37:35 -0500, Fabian von Romberg wrote: I have a single questions regarding id() built-in function. example 1: var1 = some string var2 = some string if use the id() function on both, it returns exactly the same address. I'm assuming that you used something other

Re: Separate Rows in reader

2013-03-24 Thread rusi
On Mar 24, 10:46 am, Dave Angel da...@davea.name wrote: On 03/24/2013 01:20 AM, Jiewei Huang wrote: Hi all, Currently create a simple text-based database of information about people I have a csv file which consist of 3 rows , row 1 2 and 3 is as such: Name        Address        

Re: SOAPpy.Types.faultType: Cannot use object of type stdClass as array

2013-03-24 Thread Tamer Higazi
Hi Chris! The example from the website is buggy because the WSDL urls are not correct... $WSDL_AUTH = 'https://kasapi.kasserver.com/soap/wsdl/KasAuth.wsdl' $WSDL_API ='https://kasapi.kasserver.com/soap/wsdl/KasApi.wsdl' which I had replaced so far. then you will see the results, even if the

Re: addressof object with id()

2013-03-24 Thread Peter Otten
Steven D'Aprano wrote: On Sat, 23 Mar 2013 21:00:07 -0400, Roy Smith wrote: In article mailman.3657.1364085583.2939.python-l...@python.org, Fabian von Romberg fromberg...@hotmail.com wrote: Hi, I have a single questions regarding id() built-in function. example 1: var1 = some

Re: Separate Rows in reader

2013-03-24 Thread Jiewei Huang
On Sunday, March 24, 2013 3:46:49 PM UTC+10, Dave Angel wrote: On 03/24/2013 01:20 AM, Jiewei Huang wrote: Hi all, Currently create a simple text-based database of information about people I have a csv file which consist of 3 rows , row 1 2 and 3 is as such: Name

Re: Separate Rows in reader

2013-03-24 Thread Jiewei Huang
On Sunday, March 24, 2013 5:34:03 PM UTC+10, rusi wrote: On Mar 24, 10:46 am, Dave Angel da...@davea.name wrote: On 03/24/2013 01:20 AM, Jiewei Huang wrote: this is the data in csv file http://imgur.com/L4qUkGQ and this is the correct output that i need to get: [('John Konon',

Re: addressof object with id()

2013-03-24 Thread Steven D'Aprano
On Sun, 24 Mar 2013 06:54:08 +, Nobody wrote: More generally, an implementation *may* intern any immutable value, although it's not guaranteed to do so for anything except (IIRC) False, True and None. I believe the same also applies to NotImplemented and Ellipsis, although I'm too lazy

Re: Separate Rows in reader

2013-03-24 Thread ypsun
Jiewei Huang於 2013年3月24日星期日UTC+1上午6時20分29秒寫道: Hi all, Currently create a simple text-based database of information about people I have a csv file which consist of 3 rows , row 1 2 and 3 is as such: Name AddressTelephone Birthday John KononMinistry of

Re: Separate Rows in reader

2013-03-24 Thread ypsun
Jiewei Huang於 2013年3月24日星期日UTC+1上午6時20分29秒寫道: Hi all, Currently create a simple text-based database of information about people I have a csv file which consist of 3 rows , row 1 2 and 3 is as such: Name AddressTelephone Birthday John KononMinistry of

Re: Separate Rows in reader

2013-03-24 Thread Dave Angel
On 03/24/2013 04:11 AM, Jiewei Huang wrote: SNIP all those quoted lines doubled by anti-social googlegroups Sorry my typo in the output here is the correct output that i need : [('John Konon', 'Ministry of moon Walks', '4567882', '27-Feb'), ( 'Stacy Kisha', 'Ministry of Man Power',

Re: monty python

2013-03-24 Thread jmfauth
On 23 mar, 17:17, Mark Lawrence breamore...@yahoo.co.uk wrote: On 23/03/2013 09:24, jmfauth wrote: On 20 mar, 22:02, Tim Delaney tim.dela...@aptare.com wrote: On 21 March 2013 06:40, jmfauth wxjmfa...@gmail.com wrote: [snip usual rant from jmf] It has been acknowledged

Re: monty python

2013-03-24 Thread Chris Angelico
On Mon, Mar 25, 2013 at 12:31 AM, jmfauth wxjmfa...@gmail.com wrote: The problem here is that this PEP 393 should not have been created. The first time I read it, I quickly understood, it can not work! I fail to understand how something can not work when it is clearly working, and very

Re: Separate Rows in reader

2013-03-24 Thread Tim Chase
On 2013-03-24 09:03, Dave Angel wrote: SNIP all those quoted lines doubled by anti-social googlegroups [THANK YOU!] Sorry my typo in the output here is the correct output that i need : [('John Konon', 'Ministry of moon Walks', '4567882', '27-Feb'), ( 'Stacy Kisha', 'Ministry of Man

Re: monty python

2013-03-24 Thread Mark Lawrence
On 24/03/2013 13:31, jmfauth wrote: The problem here is that this PEP 393 should not have been created. The first time I read it, I quickly understood, it can not work! How come you couldn't pursuade the Python devs that PEP393 was so flawed? This is illustrated by all the examples I give

Re: Vowels [was Re: monty python]

2013-03-24 Thread Stefan Behnel
Terry Reedy, 22.03.2013 00:05: I never imagined that there were people who would mix up 'tuner' and 'tuna'. Live and learn. I assume you know The Chaos ? http://ncf.idallen.com/english.html Stefan -- http://mail.python.org/mailman/listinfo/python-list

Re: Vowels [was Re: monty python]

2013-03-24 Thread rusi
On Mar 24, 7:25 pm, Stefan Behnel stefan...@behnel.de wrote: I assume you know The Chaos ? http://ncf.idallen.com/english.html Ha! Sweet! (Or should I say suet?) -- http://mail.python.org/mailman/listinfo/python-list

ImportError: No module named multipli

2013-03-24 Thread yahya Kacem
Hi, i have this 2 files: file named multipli: #!/usr/bin/python3.2 #-* - coding : utf-8 -* def table(nb, max): i = 0 while i max: print(i + 1, * , nb, = , (i + 1) * nb) and file naled test: #!/usr/bin/python3.2 # -* - coding : utf-8 -* import os

Re: ImportError: No module named multipli

2013-03-24 Thread Kwpolska
On Sun, Mar 24, 2013 at 4:35 PM, yahya Kacem fuj.ty...@gmail.com wrote: Hi, i have this 2 files: file named multipli: #!/usr/bin/python3.2 #-* - coding : utf-8 -* def table(nb, max): i = 0 while i max: print(i + 1, * , nb, = , (i + 1) * nb) and file

Re: ImportError: No module named multipli

2013-03-24 Thread Chris Angelico
On Mon, Mar 25, 2013 at 2:35 AM, yahya Kacem fuj.ty...@gmail.com wrote: file named multipli: and file naled test: from multipli import table Try naming it multipli.py ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: Separate Rows in reader

2013-03-24 Thread rusi
On Mar 24, 6:49 pm, Tim Chase python.l...@tim.thechases.com wrote: On 2013-03-24 09:03, Dave Angel wrote: SNIP all those quoted lines doubled by anti-social googlegroups [THANK YOU!] Sorry my typo in the output here is the correct output that i need : [('John Konon', 'Ministry of

Re: ImportError: No module named multipli

2013-03-24 Thread yahya Kacem
On Sunday, March 24, 2013 4:35:29 PM UTC+1, yahya Kacem wrote: Hi, i have this 2 files: file named multipli: #!/usr/bin/python3.2 #-* - coding : utf-8 -* def table(nb, max): i = 0 while i max: print(i + 1, * , nb, = , (i + 1) * nb)

Re: ImportError: No module named multipli

2013-03-24 Thread Mark Lawrence
On 24/03/2013 15:48, Chris Angelico wrote: On Mon, Mar 25, 2013 at 2:35 AM, yahya Kacem fuj.ty...@gmail.com wrote: file named multipli: and file naled test: from multipli import table Try naming it multipli.py ChrisA Before or after fixing the infinite loop? :) -- Cheers. Mark

Re: Vowels [was Re: monty python]

2013-03-24 Thread Mark Lawrence
On 24/03/2013 14:25, Stefan Behnel wrote: Terry Reedy, 22.03.2013 00:05: I never imagined that there were people who would mix up 'tuner' and 'tuna'. Live and learn. I assume you know The Chaos ? http://ncf.idallen.com/english.html Stefan For many years I've felt it was wrong that

Re: ImportError: No module named multipli

2013-03-24 Thread Chris Angelico
On Mon, Mar 25, 2013 at 3:10 AM, Mark Lawrence breamore...@yahoo.co.uk wrote: On 24/03/2013 15:48, Chris Angelico wrote: On Mon, Mar 25, 2013 at 2:35 AM, yahya Kacem fuj.ty...@gmail.com wrote: file named multipli: and file naled test: from multipli import table Try naming it

Re: ImportError: No module named multipli

2013-03-24 Thread Mark Lawrence
On 24/03/2013 16:03, yahya Kacem wrote: On Sunday, March 24, 2013 4:35:29 PM UTC+1, yahya Kacem wrote: Hi, i have this 2 files: file named multipli: #!/usr/bin/python3.2 #-* - coding : utf-8 -* def table(nb, max): i = 0 while i max: print(i + 1,

i need advice

2013-03-24 Thread leonardo selmi
dear python programmers, i am focused on learning to program but i need help from all of you. i am a beginner but it is hard to find the right book or website to learn, i know that i have to do exercises but so far i found resources with gaps. i would be very grateful if you could give me

Re: i need advice

2013-03-24 Thread Joel Goldstick
On Sun, Mar 24, 2013 at 1:24 PM, leonardo selmi l.se...@icloud.com wrote: dear python programmers, i am focused on learning to program but i need help from all of you. i am a beginner but it is hard to find the right book or website to learn, i know that i have to do exercises but so far i

Re: i need advice

2013-03-24 Thread Mark Lawrence
On 24/03/2013 17:24, leonardo selmi wrote: dear python programmers, i am focused on learning to program but i need help from all of you. i am a beginner but it is hard to find the right book or website to learn, i know that i have to do exercises but so far i found resources with gaps. i

Re: i need advice

2013-03-24 Thread Omer
I know some people will disagree with me, but I recommend on Dive Into Python by Mark Pilgrim. It assumes no prior knowledge whatsoever, and it explains all the foundations of the language from the bottom up, without skipping any steps. It also provides many examples that demonstrate how to get

i need advice

2013-03-24 Thread leonardo selmi
dear python programmers, i am focused on learning to program but i need help from all of you. i am a beginner but it is hard to find the right book or website to learn, i know that i have to do exercises but so far i found resources with gaps. i would be very grateful if you could give me

Re: Separate Rows in reader

2013-03-24 Thread Tim Chase
On 2013-03-24 08:57, rusi wrote: On Mar 24, 6:49 pm, Tim Chase python.l...@tim.thechases.com wrote: After doing: import csv original = file('friends.csv', 'rU') reader = csv.reader(original, delimiter='\t') Stripping of the first line is: list(reader)[1:] [tuple(row) for row in

Re: Required arguments in argparse: at least one of a group

2013-03-24 Thread Marco
On 03/23/2013 05:27 PM, Rob Day wrote: I don't know about argparse, but if you use docopt (http://docopt.org/) then this is easy to do with something like: Usage: finder.py --file myfile --dir mydir finder.py --pattern mypattern --dir mydir finder.py --file myfile --pattern mypattern --dir

Re: Required arguments in argparse: at least one of a group

2013-03-24 Thread rurpy
On 03/23/2013 10:04 AM, Marco wrote: Is there the possibility using the argparse module to group two or more arguments in order to have at least one of them required? For instance, I would like to have not an error only in the following cases: python finder.py --file myfile --dir mydir

Re: ImportError: No module named multipli

2013-03-24 Thread yahya Kacem
On Sunday, March 24, 2013 4:35:29 PM UTC+1, yahya Kacem wrote: Hi, i have this 2 files: file named multipli: #!/usr/bin/python3.2 #-* - coding : utf-8 -* def table(nb, max): i = 0 while i max: print(i + 1, * , nb, = , (i + 1) * nb)

Re: ImportError: No module named multipli

2013-03-24 Thread yahya Kacem
+Mark Lawrence sorry for that I'm new here and I didn't know about that. -- http://mail.python.org/mailman/listinfo/python-list

import in Python3.3

2013-03-24 Thread Fabian von Romberg
Hi, I have a package name collections and inside of my package I want to import the collections package from the standard library, but there is name conflicts. How do I import explicitly from the standard library? Im working on Python3.3 Thanks in advance and regards, Fabian --

Re: how does the % work?

2013-03-24 Thread Tim Roberts
leonardo tampucciol...@libero.it wrote: thank you all! So, what was the problem? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list

Re: import in Python3.3

2013-03-24 Thread Steven D'Aprano
On Sun, 24 Mar 2013 18:12:49 -0500, Fabian von Romberg wrote: Hi, I have a package name collections and inside of my package I want to import the collections package from the standard library, but there is name conflicts. How do I import explicitly from the standard library? You can't.

[RELEASE] Python 2.7.4 release candidate 1

2013-03-24 Thread Benjamin Peterson
I'm happy to announce the first release candidate of 2.7.4. 2.7.4 will be the latest maintenance release in the Python 2.7 series. It includes hundreds of bugfixes to the core language and standard library. There has recently been a lot of discussion about XML-based denial of service attacks.

Re: Separate Rows in reader

2013-03-24 Thread Jiewei Huang
On Sunday, March 24, 2013 3:20:29 PM UTC+10, Jiewei Huang wrote: thanks to you guys i got my desire outcome! i will continue to code on writing and saving of csv file -- http://mail.python.org/mailman/listinfo/python-list

Re: import in Python3.3

2013-03-24 Thread Fabian von Romberg
Hi Steven, thanks a lot for the explanation. I will keep in mind not to use names for my modules that can shadow the standard library. Regards, Fabian On 03/24/2013 07:27 PM, Steven D'Aprano wrote: On Sun, 24 Mar 2013 18:12:49 -0500, Fabian von Romberg wrote: Hi, I have a package name

Re: Separate Rows in reader

2013-03-24 Thread rusi
On Mar 24, 11:28 pm, Tim Chase python.l...@tim.thechases.com wrote: Sorry if my print-statements were misinterpreted--I meant them as a do what you want with the data here stand-in (thus the ellipsis). Heh! I assumed the OP was a noob to whom this was directed (and whose original had the print

io.BytesIO

2013-03-24 Thread Fabian von Romberg
Hi, is there any way to get the allocated memory size from a io.BytesIO object? Thanks and regards, Fabian -- http://mail.python.org/mailman/listinfo/python-list

Re: io.BytesIO

2013-03-24 Thread Steven D'Aprano
On Sun, 24 Mar 2013 22:56:12 -0500, Fabian von Romberg wrote: Hi, is there any way to get the allocated memory size from a io.BytesIO object? The same as for any object: py import io, sys py obj = io.BytesIO() py sys.getsizeof(obj) 48 Is this what you are after, the size of the object

Re: io.BytesIO

2013-03-24 Thread Fabian von Romberg
Hi Steven, actually why I need is to know how much memory has been allocated for buffering. getsizeof gets the size of the object structure. For example, if I do io.BytesIO.truncate(1), it will resize the buffer to 1 bytes. So my question is how to get those 1 back from an

[issue12207] Document ast.PyCF_ONLY_AST

2013-03-24 Thread Ramchandra Apte
Ramchandra Apte added the comment: In my view, it is adequately documented now, should not be undocumented, and should not be given more prominence either. So I recommend closing this. +1 -- nosy: +Ramchandra Apte ___ Python tracker

[issue13248] deprecated in 3.2/3.3, should be removed in 3.4

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: We do not document removals after they are done as they are not an issue for back-compatibility (unlike changes and additions). I learned that people may use the (for example) 2.7 docs even though they are using 2.6, so I think we do want to use things like the

[issue13244] WebSocket schemes in urllib.parse

2013-03-24 Thread Éric Araujo
Éric Araujo added the comment: This is not committed to any branch yet. -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13244 ___

[issue17441] Do not cache re.compile

2013-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: The docs don't even mention that re.compile() actually uses a cache. Actually it does: re.compile(pattern, flags=0) Note The compiled versions of the most recent patterns passed to re.match(), re.search() or re.compile() are cached, so programs

[issue13248] deprecated in 3.2/3.3, should be removed in 3.4

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: IMHO deprecated-removed should be used on versions where the feature exists, and a versionchanged should be added once the feature has been removed. -- ___ Python tracker rep...@bugs.python.org

[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

2013-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: That shouldn't be too complicated, but does Windows have fcomod() Co? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15100 ___

[issue15100] Race conditions in shutil.copy, shutil.copy2 and shutil.copyfile

2013-03-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Windows doesn't have fchmod(), but chmod() doesn't do much on it either: “Although Windows supports chmod(), you can only set the file’s read-only flag with it (via the stat.S_IWRITE and stat.S_IREAD constants or a corresponding integer value). All other bits

[issue8796] Deprecate codecs.open()

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: I suggest to deprecated codecs.open() in 3.4, and possibly remove it in a later release. The implementation shouldn't be changed to use the builtin open(), but the deprecation note should point to it, and possibly mention the shortcomings of codecs.open().

[issue11087] Speeding up the interpreter with a few lines of code

2013-03-24 Thread Mark Dickinson
Mark Dickinson added the comment: ... is this worth pursuing? Not at the expense of introducing undefined behaviour. I suggest closing this. -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11087

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: I'm splitting the patches: - one which adds loads and dumps to ForkingPicler - the contention reduction patch I'd like to commit them soon. -- Added file: http://bugs.python.org/file29559/queues_contention.diff Added file:

[issue513840] entity unescape for sgml/htmllib

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: See also #2927. -- versions: +Python 3.4 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue513840 ___ ___

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: The old code deleted the obj in the feeder thread as soon as it was sent at lines 247 and 253 -- see Issue #16284. I think that should be retained. Apart from that LGTM. -- ___ Python tracker

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Charles-François Natali
Charles-François Natali added the comment: The old code deleted the obj in the feeder thread as soon as it was sent at lines 247 and 253 -- see Issue #16284. I think that should be retained. The object is overwritten by the pickled data, so it's not necessary anymore, no? --

[issue8552] msilib can't create large CAB files

2013-03-24 Thread R. David Murray
R. David Murray added the comment: It looks like it turned out that there is nothing specific in this issue that isn't covered by issue 2399. -- nosy: +r.david.murray resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Patches for Tools/msi

[issue17529] fix os.sendfile() documentation regarding the type of file descriptor

2013-03-24 Thread Charles-François Natali
Changes by Charles-François Natali cf.nat...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file29561/sendfile_doc.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17529

[issue12226] use HTTPS by default for uploading packages to pypi

2013-03-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: This is true, but if we get proper certificate checking, this should automatically work correctly then. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226

[issue17323] Disable [X refs, Y blocks] ouput in debug builds

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: Attached a new patch that addresses a couple of minor things pointed out in the reviews. -- stage: patch review - commit review Added file: http://bugs.python.org/file29562/issue17323-3.diff ___ Python tracker

[issue1602] windows console doesn't print or input Unicode

2013-03-24 Thread Drekin
Drekin added the comment: Hello. I have made a small upgrade of the workaround. • win_unicode_console.enable_streams() sets sys.stdin, stdout and stderr to custom filelike objects which use Windows functions ReadConcoleW and WriteConsoleW to handle unicode data properly. This can be done in

[issue1602] windows console doesn't print or input Unicode

2013-03-24 Thread Drekin
Changes by Drekin dre...@gmail.com: Added file: http://bugs.python.org/file29564/win_unicode_console_3.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1602 ___

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Richard Oudkerk
Richard Oudkerk added the comment: On 24/03/2013 12:16pm, Charles-François Natali wrote: The object is overwritten by the pickled data, so it's not necessary anymore, no? Yes, you are right. -- ___ Python tracker rep...@bugs.python.org

[issue17441] Do not cache re.compile

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17441 ___ ___ Python-bugs-list

[issue1602] windows console doesn't print or input Unicode

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1602 ___ ___ Python-bugs-list

[issue8796] Deprecate codecs.open()

2013-03-24 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8796 ___ ___ Python-bugs-list

[issue17482] functools.update_wrapper mishandles __wrapped__

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17482 ___ ___

[issue17492] Increase test coverage for random (up to 99%)

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17492 ___

[issue17504] Dropping duplicated docstring explanation of what Mocks' side_effect does.

2013-03-24 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: - ezio.melotti nosy: +ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.3 ___ Python tracker

[issue17504] Dropping duplicated docstring explanation of what Mocks' side_effect does.

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9445505389cf by Ezio Melotti in branch '3.3': #17504: remove duplicated sentence. Patch by Radu Voicilas. http://hg.python.org/cpython/rev/9445505389cf New changeset 2fc34f3dbc9d by Ezio Melotti in branch 'default': #17504: merge with 3.3.

[issue17025] reduce multiprocessing.Queue contention

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset bedb4cbdd311 by Charles-François Natali in branch 'default': Issue #17025: Add dumps() and loads() to ForkingPickler. http://hg.python.org/cpython/rev/bedb4cbdd311 -- nosy: +python-dev ___ Python tracker

[issue17516] Dead code should be removed

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - patch review type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17516 ___

[issue17519] unittest should not try to run abstract classes

2013-03-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17519 ___

[issue14010] deeply nested filter segfaults

2013-03-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: - The tests with range(100) seems to duplicate those with recursion limit. - zip_iter should would be simpler with a goto error; LGTM otherwise. -- ___ Python tracker rep...@bugs.python.org

[issue17150] pprint could use line continuation for long string literals

2013-03-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: This is a nice addition. Thank you. -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17150 ___

[issue16475] Support object instancing and recursion in marshal

2013-03-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Sorry, what does instancing mean? And does this change bring interesting features? And is there an impact on regular .pyc files? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue14010] deeply nested filter segfaults

2013-03-24 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14010 ___ ___

[issue16475] Support object instancing and recursion in marshal

2013-03-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: Sorry, what does instancing mean? He means keeping track of instance identities, so that objects that were shared before marshal continue to be shared after loading. And does this change bring interesting features? interesting to whom? And is there an

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-24 Thread Kevin Barry
Kevin Barry added the comment: emmanuel, Regarding your points: All three can be taken care of with a combination of my patch and setting sys.stdin, sys.stdout, and sys.stderr to the pty. (That should really be done internally with another patch, since os.fdopen is OS-specific. Also,

[issue17536] update browser list with additional browser names

2013-03-24 Thread Matthias Klose
New submission from Matthias Klose: Add some browser names supported on Debian systems: - www-browser, x-www-browser are browser names handled by the alternatives system, which should be preferred over specific browser names. Inserted with lower priority than the browsers for specific

[issue17536] update browser list with additional browser names

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 206522d9134e by doko in branch '3.3': - Issue #17536: Add to webbrowser's browser list: www-browser, x-www-browser, http://hg.python.org/cpython/rev/206522d9134e New changeset 34648809d777 by doko in branch 'default': - Issue #17536: Add to

[issue17536] update browser list with additional browser names

2013-03-24 Thread Matthias Klose
Matthias Klose added the comment: 2.7.diff is the backport for 2.7, adding additional names xdg-open, gvfs-open, and chromium names. -- Added file: http://bugs.python.org/file29566/2.7.diff ___ Python tracker rep...@bugs.python.org

[issue17516] Dead code should be removed

2013-03-24 Thread R. David Murray
R. David Murray added the comment: Oh, it looks like you are right: useless strings are already removed during compilation. But it looks a little bit surprising to me to use a multiline string for a comment. I prefer classic # comments. I was surprised by this as well. I think the comment

[issue17086] backport cross-build patches to the 2.7 branch

2013-03-24 Thread Matthias Klose
Matthias Klose added the comment: this is about setting PYTHONPATH for regenerating the plat directory. This doesn't break anything afaics and doesn't do any harm. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17086

[issue17086] backport cross-build patches to the 2.7 branch

2013-03-24 Thread Matthias Klose
Matthias Klose added the comment: cross build patch is applied, closing the issue. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17086 ___

[issue17536] update browser list with additional browser names

2013-03-24 Thread R. David Murray
R. David Murray added the comment: Technically this is a new feature and should only go into 3.4. I'm open to discussion about this, but the discussion should have happened *before* the commit. You will note in particular that support for Chrome was added in issue 13620 as an enhancement,

[issue17525] os.getcwd() fails on cifs share

2013-03-24 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17525 ___ ___

[issue17536] update browser list with additional browser names

2013-03-24 Thread Matthias Klose
Matthias Klose added the comment: Technically this is a new feature and should only go into 3.4. I'm open to discussion about this, but the discussion should have happened *before* the commit. ok, will do so in the future. Howver it did look a bit simple ... You will note in particular

[issue17526] inspect.findsource raises undocumented error for code objects with empty filename

2013-03-24 Thread R. David Murray
R. David Murray added the comment: It is very likely the code is the same in 3.3 and 3.4, so I'm adding those versions without testing :) -- keywords: +easy nosy: +r.david.murray stage: - needs patch versions: +Python 3.3, Python 3.4 ___ Python

[issue17527] PATCH as valid request method in wsgiref.validator

2013-03-24 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17527 ___ ___

[issue17536] update browser list with additional browser names

2013-03-24 Thread R. David Murray
R. David Murray added the comment: Yeah, that's why I said I was open to discussion on it. It is more of a UI/system-config issue than a code issue, so I think maybe a backport would be OK. But we should check with python-dev, I think, since making UI changes to IDLE requires a PEP :)

[issue17527] PATCH as valid request method in wsgiref.validator

2013-03-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think this can be applied to old versions of Python as well. It was an unintentional omission from the last of valid HTTP verbs. There is nothing new here. -- nosy: +rhettinger ___ Python tracker

[issue16475] Support object instancing and recursion in marshal

2013-03-24 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The size of the pyc files may decrease This is very good news! Indeed, I noticed decimal.cpython-34.pyc going from 212k to 178k. 17% less! This is worth an entry in whatsnew/3.4.rst IMO. -- ___ Python

[issue17445] Handle bytes comparisons in difflib.Differ

2013-03-24 Thread Greg Ward
Greg Ward added the comment: I recommend the following: replace the simple test in the attached bytes_diff.py with Greg's unittest-based tests and adjust the __name__ == '__main__' incantation accordingly. Latest patch, following Terry's suggestion:

[issue17425] Update OpenSSL versions in Windows builds

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0fb7db2f9b5e by Martin v. Loewis in branch '3.2': Issue #17425: Build with openssl 1.0.0k on Windows. http://hg.python.org/cpython/rev/0fb7db2f9b5e New changeset 8051e6ff97e2 by Martin v. Loewis in branch '3.3': #17425: null merge 3.2

[issue17537] sv.DictReader should fail if 1 column has the same name

2013-03-24 Thread Matthias Klose
New submission from Matthias Klose: forwarded from Debian http://bugs.debian.org/699463 The csv.DictReader object doesn't handle multiple columns with the same name very well - it simply over-writes the first column-with-same-name with the contents of the second column-with-same-name e.g.:

[issue17425] Update OpenSSL versions in Windows builds

2013-03-24 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17425 ___ ___

[issue17425] Update OpenSSL versions in Windows builds

2013-03-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 840a90e8cefd by Martin v. Löwis in branch '3.3': Issue #17425: Build with openssl 1.0.1d on Windows. http://hg.python.org/cpython/rev/840a90e8cefd New changeset a626a32bd42d by Martin v. Löwis in branch 'default': #17425: merge 3.3

  1   2   >