[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

[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 <

[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://

[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

[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

[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 ___ __

[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 ___ _

[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

[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

[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

[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

[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

[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

[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 __

[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?

[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

[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

[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

[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: 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

[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

[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 ___

[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

[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 __

[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

[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

[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
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 3.0 ___ Python tracker ___ ___ Python-

[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

[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:

[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

[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

[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 __

[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

[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

[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

[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

[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

[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

[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:

[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

[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

[issue5045] imaplib should remove length of literal strings

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: While IMAP is very much a live protocol, I do not know that any of the currently active core developers know much about it. Imaplib is based on the obsolete RFC2060 of Dev 1996, superseded by 3501 in March 2003, with 6 later updates. (I just found all this ou

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

2010-06-25 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue9069] test_float failure on Solaris

2010-06-25 Thread David Kirkby
David Kirkby added the comment: Hi, I had hoped to devote more time to this, but have been able to. I will do at the weekend. I would add I was building 64-bit, so adding the compiler flag -m64 on 'hawk' at least some of the time. Depending on your hardware, assuming you have installed !Ope

[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: This is still an issue. The bug I'm reporting had been explained well, I thought, but I'll repeat it in summary: There is no way to pass around traceback objects without holding references to an excessive number of objects. Traceback raising typically does not u

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

2010-06-25 Thread Domen Kožar
Domen Kožar added the comment: Optparse behaved like that, how would one get the same results with argparse? That is by having variable positional parameters to command. And at the same time stop at --. -- ___ Python tracker

[issue9083] At least some Tools utilities are still Python 2

2010-06-25 Thread Guido van Rossum
Guido van Rossum added the comment: Webchecker is so old, it should be deleted. -- nosy: +gvanrossum ___ Python tracker ___ ___ Python

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

2010-06-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can't reproduce under Mandriva Linux: >>> import mimetypes >>> print(mimetypes.guess_extension('image/jpeg')) .jpe >>> mimetypes.init() >>> print(mimetypes.guess_extension('image/jpeg')) .jpe The fact that it returns ".jpe" rather than ".jpg", however, could b

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

2010-06-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: > It is hard for me to judge the significance of maintenance burden, but > others reported that having parallel versions of the io module was > helpful. I believe that with proper support in the regression test > suit, it should be quite manageable. For io, we

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

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Tim, thanks for your prompt reply. What would be your opinion on adding datetime.py to the main python tree today? There is momentum behind several features to be added to datetime module and having easily accessible prototype would give similar benefit

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

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

[issue9038] test_distutils failure

2010-06-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue9081] test_sysconfig failure

2010-06-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hurray, I'm not the only one! -- nosy: +pitrou resolution: -> duplicate status: open -> closed superseder: -> test_distutils failure ___ Python tracker __

[issue4943] trace.CoverageResults.write_results can't write results file for modules loaded by __path__ manipulation

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- keywords: +easy stage: -> patch review type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.5 ___ Python tracker

[issue9082] warnings.filterwarnings doesn't work with -O

2010-06-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> brett.cannon nosy: +brett.cannon priority: normal -> high versions: +Python 2.6, Python 3.1 ___ Python tracker ___ ___

[issue1565525] gc allowing tracebacks to eat up memory

2010-06-25 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: -> wont fix status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list maili

[issue9083] At least some Tools utilities are still Python 2

2010-06-25 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +gpolo stage: unit test needed -> needs patch type: feature request -> behavior versions: +Python 3.2 ___ Python tracker ___ _

[issue1565525] gc allowing tracebacks to eat up memory

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given comments like "I'm still having problems figuring out what the bug is that you are reporting. (Martin)" and "I must repeat that there is no simple-minded way to 'repair' this. (Tim)", and subsequent changes to Python, should this still be open? If so, f

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

2010-06-25 Thread Tim Peters
Tim Peters added the comment: > It would be great if you could shed > some light on the history behind pure > python implementation. Why was it > developed in the first place? It was rapid prototyping - design decisions were changing daily, and it goes a lot faster to change Python code than

[issue4925] Improve error message of subprocess when cannot open

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Improved error messages are feature requests because 1) there is no particular guarantee in the doc and 2) changes can break existing code, so should only happen in an new x.y version. When reporting behavior, it is helpful to give *minimal* code that will r

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

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Adding tim_one to the nosy list. Tim, It would be great if you could shed some light on the history behind pure python implementation. Why was it developed in the first place? What was the reason not to ship it with python? Thanks. -- nosy:

[issue3383] ctypes.util fails to find libc in some environments

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given the patch applied for #4861, I think this should be closed until someone finds that there is still a bug in a current version of Python and determines that there is something to be done. -- nosy: +tjreedy resolution: -> out of date status: open

[issue9083] At least some Tools utilities are still Python 2

2010-06-25 Thread Steve Holden
New submission from Steve Holden : C:\Users\sholden>\python31\python \python31\Tools\webchecker\wcgui.py Traceback (most recent call last): File "\python31\Tools\webchecker\wcgui.py", line 63, in from Tkinter import * ImportError: No module named Tkinter This makes is seem pretty clear th

[issue4872] Python will not co-exist with MFC (memory leak)

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> invalid status: open -> pending versions: -Python 2.5, Python 3.0 ___ Python tracker ___ __

[issue1222721] tk + setlocale problems...

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: The backspace issue seems to have been fixed. I modified bug.py for 3.1 by removing the coding cookie, changing unicode("Ïðîáà", "KOI8-R") to just "Ïðîáà", and fixing print. Running from IDLE, it ran and displayed a tk window with text entry and labelled butt

[issue9069] test_float failure on Solaris

2010-06-25 Thread Stefan Krah
Stefan Krah added the comment: Mark Dickinson wrote: > Now that I've finally managed to get gcc 4.4.4 installed on OpenSolaris... > > .. I'm still failing to reproduce this bug. :( > > > dicki...@eratosthenes:~/release26-maint$ uname -a > SunOS eratosthenes 5.11 snv_134 i86pc i386 i86pc Solaris

[issue1322] platform.dist() has unpredictable result under Linux

2010-06-25 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue1322] platform.dist() has unpredictable result under Linux

2010-06-25 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file8609/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

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

2010-06-25 Thread Éric Araujo
Éric Araujo added the comment: optparse specifically supports only GNU-style two-dashes long argument. Victor is right, optparse will always understand -thing as -t -h -i -n -g. -- nosy: +merwok resolution: works for me -> invalid stage: -> committed/rejected

[issue4775] Incorrect documentation - UTC time

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

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

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, I am interpreting your comment as saying that this is not a bug. If I am wrong, someone can re-open. In any case, the bug would have to be in 2.6 or more realistically, 2.7, since 2.6.final will be out soon. -- nosy: +tjreedy resolution: ->

[issue7673] audioop: check that length is a multiple of the size

2010-06-25 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue4726] doctest gets line numbers wrong due to quotes in comments

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> works for me status: open -> pending versions: -Python 2.4, Python 2.5 ___ Python tracker ___ _

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> patch review versions: +Python 3.2 -Python 2.5, Python 3.0 ___ Python tracker ___ ___ Pyth

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be one of at least three duplicate issues: #1528074, #2986, and #4622. I am closing two, leaving 2986 open, and merging the nearly disjoint nosy lists. (If no longer interested, you can delete yourself from 2986.) #1711800 appears to be slight

[issue4622] SequenceMatcher bug with long sequences

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be one of at least three duplicate issues: #1528074, #2986, and #4622. I am closing two, leaving 2986 open, and merging the nearly disjoint nosy lists. (If no longer interested, you can delete yourself from 2986.) #1711800 appears to be slight

[issue1528074] difflib.SequenceMatcher.find_longest_match() wrong result

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be one of at least three duplicate issues: #1528074, #2986, and #4622. I am closing two, leaving 2986 open, and merging the nearly disjoint nosy lists. (If no longer interested, you can delete yourself from 2986.) #1711800 appears to be slight

[issue9043] 2to3 doesn't handle byte comparison well

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Replacing string indexes with length-1 slices in the 2.x codebase, whether or not one one is running 2to3, seems to be a 'known' technique for Python3 portability and unicode-bytes inter-operability. (It was discussed this week on py-dev list .) But I do not

[issue9082] warnings.filterwarnings doesn't work with -O

2010-06-25 Thread Michael Foord
Changes by Michael Foord : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread R. David Murray
R. David Murray added the comment: I presume Benjamin meant he fixed the special case Alexander reported. -- ___ Python tracker ___ __

[issue9039] IDLE and module Doc

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Try making an idle.bat file on your desktop. -- nosy: +tjreedy ___ Python tracker ___ ___ Python-bug

[issue9069] test_float failure on Solaris

2010-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: Now that I've finally managed to get gcc 4.4.4 installed on OpenSolaris... .. I'm still failing to reproduce this bug. :( dicki...@eratosthenes:~/release26-maint$ uname -a SunOS eratosthenes 5.11 snv_134 i86pc i386 i86pc Solaris dicki...@eratosthenes:~/releas

[issue9082] warnings.filterwarnings doesn't work with -O

2010-06-25 Thread Michael Foord
Michael Foord added the comment: A third (and better) option, but a deeper change, would be to allow the enabling of asserts on a per-module basis even when Python is run with -O/-OO. This would be great for testing. -- ___ Python tracker

[issue9082] warnings.filterwarnings doesn't work with -O

2010-06-25 Thread Michael Foord
New submission from Michael Foord : warnings.filterwarnings is mostly a bunch of asserts, so it doesn't work when Python is run with -O or -OO. This also means that a bunch of tests fail when run with -O or -OO. Two options are skip the tests or fix filterwarnings. -- components: Libr

[issue1776674] glob.glob inconsistent

2010-06-25 Thread Mark Lawrence
Mark Lawrence added the comment: Hardly a show stopper. It's actually a problem(?) with ntpath.py. It could be patched but is it worth it, as this would be yet more work for you guys doing the build/release process? I'd close this on the grounds that it's not worth the effort. -- n

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

2010-06-25 Thread R. David Murray
R. David Murray added the comment: Still looks like it is working as designed to me. Argpase is *parsing* the arguments, that's part of the whole point. What you are observing is what I would expect from a well behaved unix command (*arguments* before the -- are just arguments, only the int

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: gregory.p.smith -> mark.dickinson status: closed -> open ___ Python tracker ___ ___ Python-bug

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Joseph Turian
Joseph Turian added the comment: That patch gives good clarification. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

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

2010-06-25 Thread R. David Murray
R. David Murray added the comment: Victor: that was exactly the point of my post that you partially quoted :) -- ___ Python tracker ___ __

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Maybe I'm misunderstanding what issue we're talking about here, but wasn't this supposed to be fixed? giampa...@ubuntu:~/svn/python-3.2$ python3.2 Python 3.2a0 (py3k:82220M, Jun 25 2010, 21:38:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits"

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: Here's a proposed doc clarification. -- keywords: +patch Added file: http://bugs.python.org/file17770/issue1789_doc.patch ___ Python tracker ___

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: > This documentation (http://docs.python.org/library/struct.html) > claims that an unsigned long is 4 bytes. I don't think it does, if you read it closely. Of course, patches to improve the docs are always welcome. :) If you're looking at the table of format

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r82220. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue9051] Improve pickle format for aware datetime instances

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching a python prototype implementing interned UTC instance pickling. The patch is against sandbox revision r82218 of datetime.py. Note that the pickling protocol requires that an instance or factory function is defined at the module level. T

[issue1789] assumption about unsigned long byte size in struct module usage

2010-06-25 Thread Joseph Turian
Joseph Turian added the comment: I just got bit by this bug. This documentation (http://docs.python.org/library/struct.html) claims that an unsigned long is 4 bytes. On my machine, it's 8. -- nosy: +Joseph Turian ___ Python tracker

[issue7951] Should str.format allow negative indexes when used for __getitem__ access?

2010-06-25 Thread Germán L . Osella Massa
Germán L. Osella Massa added the comment: Well, using negative indexes for fields can be thought as a new feature with all the consequences mentioned before BUT negative indexes for accessing elements from a sequence, IMHO, is something that anyone would expected to work. That's why at first

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mail

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mail

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mail

  1   2   >