[ANN] Leipzig Python User Group - Meeting, December 14, 2010, 08:00pm

2010-12-12 Thread Stefan Schwarzer
=== Leipzig Python User Group === We will meet on Tuesday, December, 14th, 8:00 pm at the training center of Python Academy in Leipzig, Germany ( http://www.python-academy.com/center/find.html ). Food and soft drinks are provided. Please send a short confirmation mail to i...@python-academy.de,

ANN: cssutils 0.9.8a1

2010-12-12 Thread Christof
what is it -- A Python package to parse and build CSS Cascading Style Sheets. (Not a renderer though!) about this release -- 0.9.8a1 is an early alpha release. Please note the *major* changes in the css value API. main changes + **API CHANGE (major)**

Re: Ways of accessing this mailing list?

2010-12-12 Thread Ben Finney
Harishankar v.harishan...@gmail.com writes: The advantage of a proper newsreader [program] is that it quotes correctly (i.e. quote at top, reply below). That's a function of the person typing into it, not of the program. Placing the cursor at the top of the message allows the person to trim

Re: Ways of accessing this mailing list?

2010-12-12 Thread Harishankar
On Sun, 12 Dec 2010 19:18:52 +1100, Ben Finney wrote: That's a function of the person typing into it, not of the program. I was talking about the default program behaviour. Yes, you can move the cursor up or down, but I was talking about the way regular e-mail clients generally handle quoted

Re: Bind C++ program for use with both Python 2.x and 3.x

2010-12-12 Thread Stefan Behnel
Peter C., 11.12.2010 23:41: Hello, I am looking at the possibility of making a program in C++. The catch is it will require the ability to work with binding for use with scripting in both Python 2.x and 3.x for various tool plugins. Do I read this right that you want your program to be written

default argument in method

2010-12-12 Thread ernest
Hi, I'd like to have a reference to an instance attribute as default argument in a method. It doesn't work because self is not defined at the time the method signature is evaluated. For example: class C(object): def __init__(self): self.foo = 5 def m(self, val=self.foo):

Re: default argument in method

2010-12-12 Thread Chris Rebert
On Sun, Dec 12, 2010 at 3:35 AM, ernest nfdi...@gmail.com wrote: Hi, I'd like to have a reference to an instance attribute as default argument in a method. It doesn't work because self is not defined at the time the method signature is evaluated. For example: class C(object):    def

Get careers in Management stage.

2010-12-12 Thread gaurav
Great careers in Management work. Institutional careers in Management http://topcareer.webs.com/humanresourcemgmt.htm http://rojgars.webs.com/bankingjobs.htm Full ranges of Banking and insurance banking jobs, railway jobs opportunities to make career. http://rojgars.webs.com/bankingjobs.htm --

Re: class browser

2010-12-12 Thread rusi
On Dec 8, 11:24 pm, Adam Tauno Williams awill...@whitemice.org wrote: On Wed, 2010-12-08 at 13:18 +0530, Rustom Mody wrote: If I have a medium to large python code base to browse/study, what are the class browsers available? Monodevelop has good Python support which includes a working

Re: python-parser running Beautiful Soup needs to be reviewed

2010-12-12 Thread Stef Mientki
I've no opinion. I'm just struggling with BeautifulSoup myself, finding it one of the toughest libs I've seen ;-) Really? While I'm by no means an expert, I find it very easy to work with. It's very well structured IMHO. I think the cause lies in the documentation. The PySide documentation

Objects and validation

2010-12-12 Thread python
I have a routine in Python which is extracting information from a website. This information is read and inserted into objects. I currently have all the validations and checks implemented in the routines which are reading the HTML and creating the objects. It is however also possible to move all

Re: Reading by positions plain text files

2010-12-12 Thread javivd
On Dec 1, 7:15 am, Tim Harig user...@ilthio.net wrote: On 2010-12-01, javivd javiervan...@gmail.com wrote: On Nov 30, 11:43 pm, Tim Harig user...@ilthio.net wrote: On 2010-11-30, javivd javiervan...@gmail.com wrote: I have a case now in wich anotherfilehas been provided (besides

while True or while 1

2010-12-12 Thread Max Countryman
I'm sure this has been brought up many times, but a quick Googling didn't yield the decisive results I was hoping for, so I apologize if this has already been addressed in great detail somewhere else. I am wondering what the rationale is behind preferring while True over while 1? For me, it

Re: while True or while 1

2010-12-12 Thread Christian Heimes
Am 12.12.2010 15:14, schrieb Max Countryman: I'm sure this has been brought up many times, but a quick Googling didn't yield the decisive results I was hoping for, so I apologize if this has already been addressed in great detail somewhere else. I am wondering what the rationale is behind

Re: while True or while 1

2010-12-12 Thread Krister Svanlund
On Sun, Dec 12, 2010 at 3:14 PM, Max Countryman m...@me.com wrote: I'm sure this has been brought up many times, but a quick Googling didn't yield the decisive results I was hoping for, so I apologize if this has already been addressed in great detail somewhere else. I am wondering what the

Re: Objects and validation

2010-12-12 Thread pakalk
On 12 Gru, 15:28, pyt...@lists.fastmail.net wrote: I have a routine in Python which is extracting information from a website. This information is read and inserted into objects. I currently have all the validations and checks implemented in the routines which are reading the HTML and creating

Re: stuck with Pexpect script need help!!

2010-12-12 Thread Emile van Sebille
On 12/10/2010 10:02 PM Darshak Bavishi said... snip Pexpect is intended for UNIX-like operating systems.) snip Can we use pexpect from windows host machine ?! I expect not... Emile -- http://mail.python.org/mailman/listinfo/python-list

Re: Ways of accessing this mailing list?

2010-12-12 Thread Emile van Sebille
On 12/12/2010 2:07 AM Harishankar said... On Sun, 12 Dec 2010 19:18:52 +1100, Ben Finney wrote: That's a function of the person typing into it, not of the program. I was talking about the default program behaviour. Yes, you can move the cursor up or down, but I was talking about the way

Re: stuck with Pexpect script need help!!

2010-12-12 Thread Alexander Kapps
On 12.12.2010 17:06, Emile van Sebille wrote: On 12/10/2010 10:02 PM Darshak Bavishi said... snip Pexpect is intended for UNIX-like operating systems.) snip Can we use pexpect from windows host machine ?! I expect not... Emile According to [1] you might get it working with the Cygwin

Re: while True or while 1

2010-12-12 Thread Steve Holden
On 12/12/2010 10:30 AM, Christian Heimes wrote: Am 12.12.2010 15:14, schrieb Max Countryman: I'm sure this has been brought up many times, but a quick Googling didn't yield the decisive results I was hoping for, so I apologize if this has already been addressed in great detail somewhere

Re: Reading by positions plain text files

2010-12-12 Thread Tim Harig
On 2010-12-12, javivd javiervan...@gmail.com wrote: On Dec 1, 7:15 am, Tim Harig user...@ilthio.net wrote: On 2010-12-01, javivd javiervan...@gmail.com wrote: On Nov 30, 11:43 pm, Tim Harig user...@ilthio.net wrote: encodings and how you mark line endings.  Frankly, the use of the world

Re: Needed: Real-world examples for Python's Cooperative Multiple Inheritance

2010-12-12 Thread Daniel Urban
So far, the only situation I can find where method names necessarily overlap is for the basics like __init__(), close(), flush(), and save() where multiple parents need to have their own initialization and finalization. One other possibility is subclasses of the JSONEncoder class. For example

Re: Reading by positions plain text files

2010-12-12 Thread Tim Harig
On 2010-12-12, Tim Harig user...@ilthio.net wrote: I used .seek() in this manner, but is not working. It is working the way it is supposed to. If you want the absolute position in a column: f = open('somefile.txt', 'r').read().splitlines() for column in f:

Re: while True or while 1

2010-12-12 Thread Christian Heimes
Am 12.12.2010 19:31, schrieb Steve Holden: Would you care to quantify how much CPU time that optimization will typically save for a loop of fair magnitude (say, a billion iterations)? The difference is minimal but measurable for very tight loops. $ python -m timeit -n20 -- i = 0 while 1:

Re: Wanted: slow regexes

2010-12-12 Thread Alexander Gattin
Hello, On Wed, Dec 08, 2010 at 04:24:02PM +, MRAB wrote: Interestingly, that webpage says that: (a x 10) =~ /^(ab?)*$/ caused Perl to segfault. I tried it and it didn't segfault, but it didn't match either It doesn't segfault but produces a warning with -w: xr...@xrgtn-q40:~$

Re: while True or while 1

2010-12-12 Thread Martin v. Loewis
Python is designed to provide readable code. Writing while True: ... is much more legible than its pre-True couterpart while 1: ... No argue with that! I actually want to argue with that: I find while 1 more legible. That's probably because a) I'm use to it,

Python on wikipedia

2010-12-12 Thread DevPlayer
Snapshot in time, hey look at that; someone used Python as THE example of what a programming language is on Wikipedia. http://en.wikipedia.org/wiki/Programming_language -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on wikipedia

2010-12-12 Thread pakalk
On 12 Gru, 22:21, DevPlayer devpla...@gmail.com wrote: Snapshot in time, hey look at that; someone used Python as THE example of what a programming language is on Wikipedia.http://en.wikipedia.org/wiki/Programming_language aand? what is the catch? --

Directly calling python's function arguments dispatcher

2010-12-12 Thread Pascal Chambon
Hello I've encountered several times, when dealing with adaptation of function signatures, the need for explicitly resolving complex argument sets into a simple variable mapping. Explanations. Consider that function: def foo(a1, a2, *args, **kwargs): pass calling foo(1, a2=2, a3=3)

Re: while True or while 1

2010-12-12 Thread Steven D'Aprano
On Sun, 12 Dec 2010 16:33:41 +0100, Krister Svanlund wrote: On Sun, Dec 12, 2010 at 3:14 PM, Max Countryman m...@me.com wrote: I'm sure this has been brought up many times, but a quick Googling didn't yield the decisive results I was hoping for, so I apologize if this has already been

Tkinter polling example: file copy with progress bar

2010-12-12 Thread JohnWShipman
Attached below is a Tkinter script that demonstrates polling, that is, performing a long-running process in parallel with the GUI. The script asks for an input file name and an output file name and copies the input file to the output file. The copy operation is done in a child process managed

Re: Python on wikipedia

2010-12-12 Thread Terry Reedy
On 12/12/2010 4:38 PM, pakalk wrote: On 12 Gru, 22:21, DevPlayerdevpla...@gmail.com wrote: Snapshot in time, hey look at that; someone used Python as THE example of what a programming language is on Wikipedia.http://en.wikipedia.org/wiki/Programming_language aand? what is the

Re: Directly calling python's function arguments dispatcher

2010-12-12 Thread Peter Otten
Pascal Chambon wrote: I've encountered several times, when dealing with adaptation of function signatures, the need for explicitly resolving complex argument sets into a simple variable mapping. Explanations. Consider that function: def foo(a1, a2, *args, **kwargs): pass

Re: Python on wikipedia

2010-12-12 Thread Bill Allen
Yeah, I noticed that a while back too. Kinda cool. --Bill On Sun, Dec 12, 2010 at 3:21 PM, DevPlayer devpla...@gmail.com wrote: Snapshot in time, hey look at that; someone used Python as THE example of what a programming language is on Wikipedia.

Re: while True or while 1

2010-12-12 Thread Steve Holden
On 12/12/2010 2:32 PM, Christian Heimes wrote: Am 12.12.2010 19:31, schrieb Steve Holden: Would you care to quantify how much CPU time that optimization will typically save for a loop of fair magnitude (say, a billion iterations)? The difference is minimal but measurable for very tight

Is there any way to SSH from Python ?!

2010-12-12 Thread Darshak Bavishi
Hi Experts, I need to know that is there any way to SSH (From Windows Host) to Unix machine ?! If Yes than How ? Because when i use telenet it not showing the no result !! As earlier it was suggested that i should try with exit first and than read_all() but still issue persist and getting hang

Re: Is there any way to SSH from Python ?!

2010-12-12 Thread Chris Rebert
On Sun, Dec 12, 2010 at 9:03 PM, Darshak Bavishi bavishi.dars...@gmail.com wrote: Hi Experts, I need to know that is there any way to SSH (From Windows Host) to Unix machine ?! If Yes than How ? http://www.lag.net/paramiko/ Did you try googling ssh python? Cheers, Chris --

Re: Is there any way to SSH from Python ?!

2010-12-12 Thread Darshak Bavishi
i am trying from last week but no luck !! one thing only found that pexpect it not useful in windows pls help out of this On Mon, Dec 13, 2010 at 10:39 AM, Chris Rebert c...@rebertia.com wrote: On Sun, Dec 12, 2010 at 9:03 PM, Darshak Bavishi bavishi.dars...@gmail.com wrote: Hi Experts, I

Re: while True or while 1

2010-12-12 Thread Steven D'Aprano
On Sun, 12 Dec 2010 23:20:40 -0500, Steve Holden wrote: On 12/12/2010 2:32 PM, Christian Heimes wrote: [...] No argue with that! I was merely making a point that while 1 executes different byte code than while True. Readability is important but sometimes speed is of the essence. while 1 is

Re: while True or while 1

2010-12-12 Thread Paul Rubin
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: I'm actually quite fond of the look of while 1:, and sometimes use it, not because it's faster, but just because I like it. for v in itertools.repeat(True): ... ;-) --

[issue10683] PreLinkEvent error under VC2010

2010-12-12 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: The problem is different: there is a stray in pythoncore\getbuildinfo.o. Kristjan, this is your change: can you take a look? -- nosy: +krisvale, loewis ___ Python tracker rep...@bugs.python.org

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2010-12-12 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Update 31 backport patch to reflect revert of unittest method names prior to 3.1.3 release. -- Added file: http://bugs.python.org/file20023/issue9922-31-rev1.patch ___ Python tracker rep...@bugs.python.org

[issue9922] subprocess.getstatusoutput can fail with utf8 UnicodeDecodeError

2010-12-12 Thread Ned Deily
Changes by Ned Deily n...@acm.org: Removed file: http://bugs.python.org/file18972/issue9922-31.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9922 ___

[issue7213] subprocess leaks open file descriptors between Popen instances causing hangs

2010-12-12 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: fd_status.py: +try: +_MAXFD = os.sysconf(SC_OPEN_MAX) +except: +_MAXFD = 256 It looks like this code (256 constant) comes from subprocess.py. Is that a good value? On Linux, SC_OPEN_MAX is usually 1024, and it can be 4096.

[issue10684] Shutil.move deletes file/folder in windows while renaming

2010-12-12 Thread harish
New submission from harish nsharish@gmail.com: Shutil.move method deletes a file/folder when the file/folder is renamed to same name but different case. eg. shutil.move('folder','Folder') -- components: Windows messages: 123833 nosy: harish priority: normal severity: normal status:

[issue9232] Allow trailing comma in any function argument list.

2010-12-12 Thread Nick Coghlan
Changes by Nick Coghlan ncogh...@gmail.com: -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9232 ___ ___

[issue9344] please add posix.getgrouplist()

2010-12-12 Thread Ross Lagerwall
Ross Lagerwall rosslagerw...@gmail.com added the comment: Attached is a patch (against the latest revision, 87178) which adds the functionality to the posix module as well as adds a testcase for it. I haven't added it to the os module, I'm not sure if that should be done. I tested it on Linux

[issue10261] tarfile iterator without members caching

2010-12-12 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: There is no trivial or backwards-compatible solution to this problem. The way it is now, there is no alternative to storing all TarInfo objects: there is no central table of contents in an archive we could use, so we must create our own. In

[issue10685] trace does nto ignore --ignore-module

2010-12-12 Thread Rusi
New submission from Rusi rustompm...@gmail.com: When running trace, I get a a lot of lines like: filename: /usr/lib/python2.7/cmd.py, modulename: cmd, funcname: Cmd That is to say system modules are shown in the trace whereas I only want to see the code I am working on Ive tried python2.7 -m

[issue7213] subprocess leaks open file descriptors between Popen instances causing hangs

2010-12-12 Thread Milko Krachounov
Milko Krachounov pyt...@milko.3mhz.net added the comment: For the Python implementation, the GIL is not enough to ensure the atomicity of a process creation. That's why _posixsubprocess was created. I suppose that other parts of subprocess are not atomic and a lock is required to ensure

[issue10188] tempfile.TemporaryDirectory may throw errors at shutdown

2010-12-12 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Tidy ups committed in r87182. Shutdown problems now result in a slightly more meaningful message on stderr, a ResourceWarning is triggered when an implicit teardown occurs and the chances of an AttributeError due to an exception in __init__

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

2010-12-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10682 ___ ___

[issue10684] Shutil.move deletes file/folder in windows while renaming

2010-12-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +brian.curtin, tarek, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10684 ___

[issue10188] tempfile.TemporaryDirectory may throw errors at shutdown

2010-12-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The tests are failing on windows: http://www.python.org/dev/buildbot/all/builders/x86%20XP-4%203.x/builds/3770/steps/test/logs/stdio == ERROR: test_mkdtemp_failure

[issue10188] tempfile.TemporaryDirectory may throw errors at shutdown

2010-12-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: There's also a typo in the issue number in your commit message (10888 instead of 10188). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10188

[issue10367] python setup.py sdist upload --show-response can fail with UnboundLocalError: local variable 'result' referenced before assignment

2010-12-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10367 ___ ___

[issue4391] use proper gettext plurals forms in argparse and optparse

2010-12-12 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4391 ___ ___

[issue1459867] Message.as_string should use mangle_from_=unixfrom?

2010-12-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: On balance I think this would be a backward incompatible change that has insufficient benefit to be worth doing. People who have working code will be depending on the existing defaults of the two methods, and changing this out from

[issue10686] email.Generator should use unknown-8bit encoded words for headers with 8 bit data

2010-12-12 Thread R. David Murray
New submission from R. David Murray rdmur...@bitdance.com: This is a followon to Issue 4661. The fix for that issue introduced a way to parse messages containing 8bit bytes. When Generator is called on a model containing 8 bit bytes, it converts it to 7bit clean. There is, however, a bug

[issue4661] email.parser: impossible to read messages encoded in a different encoding

2010-12-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I've opened a issue 10686 to address improving the RFC conformance by using unknown-8bit encoded words for 8bit bytes in headers. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed

[issue4766] email documentation needs to be precise about strings/bytes

2010-12-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: The wording was clarified for 3.2 as part of the fix for issue 4661. This does not help the 3.1 docs, so if someone wants to suggest a patch for the 3.1 docs we can reopen the issue. -- resolution: postponed - fixed stage: -

[issue10687] Python fails to install with empty ABI flags

2010-12-12 Thread Arfrever Frehtes Taifersar Arahesis
New submission from Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: $ make DESTDIR=/var/tmp/portage/dev-lang/python-3.2_pre20101212/image/ altinstall Creating directory /usr/bin Creating directory /usr/lib64 /usr/bin/install -c python

[issue10631] ZipFile and current directory change

2010-12-12 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: So, Martin, are you then arguing that this should in fact be considered a bug in ZipFile? The documentation for the constructor says Open a ZIP file, where file can be either a path to a file (a string) or a file-like object. Reading

[issue10634] Windows timezone changes not reflected by time.localtime

2010-12-12 Thread Eric Pruitt
Changes by Eric Pruitt eric.pru...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10634 ___ ___

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

2010-12-12 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: The current behavior for function definitions is beneficial because a trailing comma in the argument list is likely to signal a real error (omitted variable). In contrast, the trailing comma for lists is useful because

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

2010-12-12 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: I'm with Raymond; this is unneeded consistency. I honestly would rather see what little support there is for a trailing comma to go away, but w/o looking at the grammar I am willing to bet that would be a pain to get right and not be worth the

[issue1243654] Faster output if message already has a boundary

2010-12-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Committed a simpler fix in r87196, backported to 3.1 in r87195, and 2.7 in r87196. -- resolution: - fixed stage: unit test needed - committed/rejected status: open - closed ___ Python tracker

[issue10682] With '*args' or even bare '*' in def/call argument list, trailing comma causes SyntaxError

2010-12-12 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Ok, so closing as rejected. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10682 ___

[issue9232] Allow trailing comma in any function argument list.

2010-12-12 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: In #10682, several committers indicated that they would prefer not to change this. So I'm closing this as rejected. Per convention, it would probably require a PEP to modify Python in this aspect (as there is no clear consensus).

[issue9893] Usefulness of the Misc/Vim/ files?

2010-12-12 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: So I just looked at the syntax file linked by Antoine and that is definitely *not* what he meant to link to; probably meant http://www.vim.org/scripts/script.php?script_id=790 . As for the indentation file, it's out-of-date and so doesn't

[issue10688] pydoc removes lib directory

2010-12-12 Thread CZ
New submission from CZ hua...@qualcomm.com: when pydoc is run with python -m (e.g., python -m pydoc map), you will receive an error message: No module named tempfile. The reason is pydoc removes 'C:\Python26\lib' (in my case) from sys.path. But you can run it as python full path to pydoc.py

[issue10688] pydoc removes lib directory

2010-12-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: This is a duplicate of issue 2029. -- nosy: +r.david.murray resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - python -m pydoc -g fails ___ Python

[issue10683] PreLinkEvent error under VC2010

2010-12-12 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Yes, I have VC2010 so I'll see what happens... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10683 ___

[issue9286] email.utils.parseaddr returns garbage for invalid input

2010-12-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: OK, I've studied this more, and it looks to me like the legacy address format allows multiple atoms separated by white space in the local part of the address. This means that the correct parse would be ('', 'merwok w...@rusty.com')

[issue10689] _scproxy extension is NOT build

2010-12-12 Thread Pierre Vinet
New submission from Pierre Vinet v...@globetrotter.net: From Python 2.7 http://www.python.org/ftp/python/2.7.1/Python-2.7.1.tar.bz2 released on November 27th, 2010. At compile time : $ ../Python-2.7.1/configure --enable-framework $ make we obtain within standard output: building

[issue9234] argparse: aliases for positional arguments (subparsers)

2010-12-12 Thread Adrian Sampson
Adrian Sampson asamp...@cs.washington.edu added the comment: Thanks for the pointer, Éric. Here's a quick patch that integrates the same functionality into the existing subparser class. -- keywords: +patch Added file: http://bugs.python.org/file20026/argparse-aliases.patch

[issue10690] IDLE Crash when running/saving Module

2010-12-12 Thread David
New submission from David mapstonsis...@yahoo.com: Hello, Python version 2.7.1 x64 Mac OS X 10.6.5 x86_64 Tk/Tcl version 8.5/4 Python will crash when saving/running/checking a module, i tried googling for a few hours to come up to NOTHING for a solution. Hopefully we can both get this

[issue10188] tempfile.TemporaryDirectory may throw errors at shutdown

2010-12-12 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Sorry, I realised after I had logged off and gone to bed that I hadn't finished the last test. Fixed in r87204 with an approach that should exercise the relevant behaviour regardless of platform. The commit message has also been updated to

[issue10683] PreLinkEvent error under VC2010

2010-12-12 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Ok the problem is this line in the pre-link step, that must have gotten changed during the conversion: $(SolutionDir)make_buildinfo.exe Debug $(IntDir) should be $(SolutionDir)make_buildinfo.exe Debug $(IntDir)\ This is because

[issue10683] PreLinkEvent error under VC2010

2010-12-12 Thread Kristján Valur Jónsson
Kristján Valur Jónsson krist...@ccpgames.com added the comment: Implemented the trailing quote removal defensive programming strategy in revision 87205. Others that autoconvert the solution will not be hit by this problem. -- resolution: - fixed status: open - closed

[issue7213] subprocess leaks open file descriptors between Popen instances causing hangs

2010-12-12 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: The close_fds default has been fixed in r87206 to remove the DeprecationWarning and remain False on Windows. It changes to True on POSIX. -- ___ Python tracker rep...@bugs.python.org