[issue4640] optparse - dosn't distinguish between '--option' and '-option'

2010-06-25 Thread R. David Murray
R. David Murray added the comment: I thought the OP might be saying that -debug didn't throw an error in 2.6. test_optparse doesn't seem to have a test for this, so I wrote one. But as far as I can see the correct error (invalid option -e, given that 'd' is defined) is thrown. In 2.5, as w

[issue5026] [reopening] native build of python win32 using msys under both wine and native win32

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I hope that someone who knows more than me on this subject takes a look at this. -- nosy: +tjreedy versions: +Python 3.2 -Python 2.4, Python 2.5, Python 3.0 ___ Python tracker

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: I still don't understand the issue. You say that you want a traceback, but then you say you don't want the objects in the traceback. So what *precisely* is it that you want, and what is it that you don't want? In any case, whatever the solution, it is likely

[issue5147] MozillaCookieJar should not store leading whitespace in Magic header

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: To apply this patch, it needs to be uploaded as a file xxx.dif. Removing the idents looks correct even if trivial. -- keywords: +easy nosy: +tjreedy versions: +Python 3.2 -Python 2.4, Python 2.5, Python 3.0 ___ Pyth

[issue5146] threading via uid method doesn't work in imaplib

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: I confirmed that 3.1.2 has same 'old' text that the OP proposes to change. I cannot comment on the substance. Stage 'needs patch' means it needs a diff file. I do not know whether or how the imaplib is unit tested. -- keywords: +easy nosy: +tjreedy st

[issue2942] mingw/cygwin do not accept asm file as extension source

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Roumen, does your patch in #3871 supercede this issue? Or is it impossible to tell without more info from the OP? -- nosy: +tjreedy status: open -> pending versions: +Python 2.7 -Python 2.5 ___ Python tracker

[issue1718574] build_clib --build-clib/--build-temp option bugs

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue1519638] Unmatched Group issue - workaround

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: If I understand "This has been addressed in issue #2636.", this issue should be closed as, perhaps, out-of-date or duplicate, with 2636 as superceder. Correct? -- nosy: +tjreedy versions: -Python 2.5, Python 3.0 __

[issue4804] Python on Windows disables all C runtime library assertions

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.5, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue755286] Generate rpm filelist including directories

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be a feature request. That would normally now mean this issue is applicable to 3.2 only. Or is the rule different for disutils? Should #755286 and #1035576 both remain open? Tarek, does distutils2 work supercede these? Nijel, could at least s

[issue1035576] Add New RPM-friendly record option to setup.py

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be a feature request. That would normally now mean applicable to 3.2 only. Or are the rule different for disutils? Should #755286 and #1035576 both remain open? Tarek, does distutils2 work supercede these? -- nosy: +tjreedy versions:

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-25 Thread Greg Hazel
Greg Hazel added the comment: The objects I do want in the traceback are the objects necessary to print a traceback, but not the locals and globals of each frame. For example: def bar(): x = "stuff" raise Exception("example!") bar() prints: Traceback (most recent call last): Line 4, i

[issue5212] Incorrect note about md5 in hmac module documentation

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 3.0 ___ Python tracker ___ ___ Python-

[issue7989] Add pure Python implementation of datetime module to CPython

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: > For io, we find this quite manageable indeed, although it is quite more > complex and quirkier than datetime. I don't understand how something being "more complex and quirkier," can make it more "manageable." While admittedly simple, datetime has it's

[issue5212] Incorrect note about md5 in hmac module documentation

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you proposing that the note be removed entirely (and ignore the results it is based on) or just reworded? If it were removed, I could imagine complaints. If reword, specifically how? -- assignee: georg.brandl -> d...@python nosy: +d...@python, tjr

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: To call this a bug for tracker purposes, there would have to be a specific discrepancy between doc promise and observed behavior. Every feature request fixes a 'design bug' ;-). -- resolution: wont fix -> stage: -> needs patch type: -> feature requ

[issue1519638] Unmatched Group issue - workaround

2010-06-25 Thread Matthew Barnett
Matthew Barnett added the comment: Issue #2636 resulted in the new regex module (also available on PyPI), so this issue is addressed by that, but there's no patch for the re module. -- ___ Python tracker __

[issue1519638] Unmatched Group issue - workaround

2010-06-25 Thread Ezio Melotti
Ezio Melotti added the comment: It would be nice if you could port 'pieces' of #2636 to Python, in order to fix this and other bugs (and possibly add more features too). -- nosy: +ezio.melotti ___ Python tracker

[issue5147] MozillaCookieJar should not store leading whitespace in Magic header

2010-06-25 Thread Ajith Antony
Ajith Antony added the comment: ok. Patch attached. I think. -- Added file: http://bugs.python.org/file17772/5147.dif ___ Python tracker ___

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-25 Thread Greg Hazel
Greg Hazel added the comment: It seems this is partially addressed in a big red "Warning" section of the docs on sys.exc_info: http://docs.python.org/release/3.1/library/sys.html#sys.exc_info and is captured in the "Open Issue: Garbage Collection" section for PEP-3134: http://www.python.org/d

[issue4775] Incorrect documentation - UTC time

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Python implementation of time functions certainly has nothing to do with UT1, which is the time as measured by (modern) sun dials. The correct name would be POSIX time. As explained in POSIX rationale, """ Coordinated Universal Time (UTC) includes lea

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2010-06-25 Thread R. David Murray
R. David Murray added the comment: I can't reproduce this either, and without a reproducer we might as well close it. Antoine it is possible that your fix for #5853 inadvertently fixed this, but I don't feel like untangling the logic of the module enough to figure it out :) So I'm going to

[issue4775] Incorrect documentation - UTC time

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: """ The gmtime() function shall convert the time in seconds since the Epoch pointed to by timer into a broken-down time, expressed as Coordinated Universal Time (UTC). """ In a technical sense, this is correct. The result of gmtime() is UTC time, but

[issue9077] argparse does not handle arguments correctly after --

2010-06-25 Thread R. David Murray
R. David Murray added the comment: Optparse left you to parse the arguments: >>> import optparse >>> p = optparse.OptionParser() >>> p.add_option('--test', action="store_true") >>> p.parse_args(['--test', 'foo', '--', 'foo2']) (, ['foo', 'foo2']) As you can see, the 'foo' before the '--' is o

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-25 Thread R. David Murray
R. David Murray added the comment: Those two references have nothing to do with your request. They are talking about cycles that get created by grabbing the traceback variable, and the fact that it may take a while before garbage collection reclaims them *after you have let go of the traceba

[issue9040] using MIMEApplication to attach a PDF raises a TypeError exception

2010-06-25 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of #4768, which has already been fixed. -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> email.generator.Generator object bytes/str crash - b64encode() bug?

[issue9024] PyDateTime_IMPORT macro incorrectly marked up

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in r82236 - r82239. -- nosy: +belopolsky resolution: -> accepted stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue5053] http.client.HTTPMessage.getallmatchingheaders() always returns []

2010-06-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue5054] CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly parsed

2010-06-25 Thread R. David Murray
Changes by R. David Murray : -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue1520662] support all of strftime(3)

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: time.strftime does support all of the platform strftime(3) format codes. -- assignee: -> belopolsky nosy: +belopolsky resolution: -> out of date stage: -> committed/rejected status: open -> pending ___ Pytho

[issue5146] threading via uid method doesn't work in imaplib

2010-06-25 Thread R. David Murray
R. David Murray added the comment: A test suite skeleton was recently contributed; it's in the standard location (Lib/test/test_imaplib). -- nosy: +r.david.murray stage: needs patch -> unit test needed ___ Python tracker

[issue7989] Add pure Python implementation of datetime module to CPython

2010-06-25 Thread Tim Peters
Tim Peters added the comment: > What would be your opinion on adding > datetime.py to the main python tree > today? The funny thing is I can't remember why we bothered creating the C version - I would have been happiest leaving it all in Python. Provided the test suite ensures the versions re

[issue9084] vimrc: use matchall() instead of ":match" to allow multiple matches

2010-06-25 Thread daniel hahler
New submission from daniel hahler : This patch fixes the vimrc example file to use matchadd() instead of ":match", so that the second "match" does not overwrite the first one. This resulted in leading tabs not highlighted as BadWhitespace. -- components: Demos and Tools messages: 10868

[issue9084] vimrc: use matchall() instead of ":match" to allow multiple matches

2010-06-25 Thread daniel hahler
Changes by daniel hahler : -- keywords: +patch Added file: http://bugs.python.org/file17773/python-vimrc-use-matchadd.diff ___ Python tracker ___ _

[issue5109] array.array constructor very slow when passed an array object.

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: -> belopolsky nosy: +belopolsky, mark.dickinson -Alexander.Belopolsky ___ Python tracker ___ __

[issue5109] array.array constructor very slow when passed an array object.

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue5516] equality not symmetric for subclasses of datetime.date and datetime.datetime

2010-06-25 Thread Nick Coghlan
Nick Coghlan added the comment: If you can articulate the benefits of splitting them apart, it would be worth making the case for doing so on python-dev. I'm having a hard time picturing what anyone could be doing such that it would break their code, but it's still definitely a backwards inco

[issue762963] timemodule.c: Python loses current timezone

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue9024] PyDateTime_IMPORT macro incorrectly marked up

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Should also add :cvar: tag to PyDateTimeAPI. http://docs.python.org/documenting/markup.html#information-units Thanks, Ezio. -- assignee: d...@python -> belopolsky status: closed -> open ___ Python tracker <

[issue1565525] tracebacks eat up memory by holding references to locals and globals when they are not wanted

2010-06-25 Thread Greg Hazel
Greg Hazel added the comment: It depends on how you look at it. Those two issues describe the surprising behavior of the same references I'm talking about here, when the lifetime of the traceback reference is only inside the same frame. This ticket describes the surprising behavior of those r

<    1   2