[issue8852] _socket fails to build on OpenSolaris x64

2010-06-25 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: I appreciate your point. But do you know if anyone has it on their TODO list? It's on my todo list, but that still might mean I can only get to it next year. If not, is there anything I could do about it? You could invoke the 5-for-one

[issue9069] test_float failure on Solaris

2010-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Did you have a chance to try a debug build of Python and see if the problem persists there? I'm failing to reproduce this in OpenSolaris 2009.06, running in Parallels on a MacBook Pro (non-debug 32-bit build of Python):

[issue9071] TarFile doesn't support member files with a leading ./

2010-06-25 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: This is a duplicate of issue6054 which has been fixed in Python 2.7 (r74571). (Hi, Gustavo!) -- assignee: - lars.gustaebel nosy: +lars.gustaebel resolution: - duplicate status: open - closed ___

[issue9076] Remove PyUnicode_AsDecodedObject/Unicode and PyUnicode_AsEncodedObject/Unicode?

2010-06-25 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: STINNER Victor wrote: New submission from STINNER Victor victor.stin...@haypocalc.com: The following 4 functions are public but not documented and not used in Python3: - PyUnicode_AsDecodedObject(), PyUnicode_AsEncodedObject() -

[issue9076] Remove PyUnicode_AsDecodedObject/Unicode and PyUnicode_AsEncodedObject/Unicode?

2010-06-25 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg m...@egenix.com: -- assignee: - d...@python components: +Documentation -Unicode nosy: +d...@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9076 ___

[issue9076] Add C-API documentation for PyUnicode_AsDecodedObject/Unicode and PyUnicode_AsEncodedObject/Unicode

2010-06-25 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg m...@egenix.com: -- title: Remove PyUnicode_AsDecodedObject/Unicode and PyUnicode_AsEncodedObject/Unicode? - Add C-API documentation for PyUnicode_AsDecodedObject/Unicode and PyUnicode_AsEncodedObject/Unicode ___

[issue9071] TarFile doesn't support member files with a leading ./

2010-06-25 Thread Free Ekanayaka
Free Ekanayaka f...@64studio.com added the comment: Thanks for the prompt reply! Cool to know this is already fixed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9071 ___

[issue9018] os.path.normcase(None) does not raise an error on linux and should

2010-06-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed in r82214. Now os.path.normcase() raises a TypeError if the arg is not str or bytes. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python

[issue9069] test_float failure on Solaris

2010-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: So perhaps the cause is simply that copysign isn't being declared for David's Python builds? If that were the case, I'd expect to see some gcc warnings in the Python build output, something like: warning: implicit declaration of

[issue9069] test_float failure on Solaris

2010-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: David, my pyconfig.h file contains: /* Defined on Solaris to see additional function prototypes. */ #define __EXTENSIONS__ 1 Does yours? -- ___ Python tracker rep...@bugs.python.org

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Andy Buckley
New submission from Andy Buckley a...@insectnation.org: I know that Python lists aren't designed for efficient prepending, but sometimes when working with small lists it's exactly what needs to be done (search path lists being a common example). For a programmer aware of the performance issue

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@twistedmatrix.com added the comment: Thanks for bringing this up. I think you have more work to do to successfully make the case that L.insert(0, x) is difficult enough to merit the addition of a new list method. There are already at least two in-place

[issue4198] os.path.normcase gets fooled on windows with mapped linux network drive

2010-06-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4198 ___ ___ Python-bugs-list

[issue9078] Fix C API documentation of unicode

2010-06-25 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Looks good to me. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9078 ___

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Andy Buckley
Andy Buckley a...@insectnation.org added the comment: Maybe I just value method symmetry/equivalence higher than the designers when it comes to interface expectations. I've seen several I expected there to be a prepend() method like append() on lists, but there isn't -- what do I do? emails

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

2010-06-25 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Not a bug -- you have to tell argparse that you expect a positional argument. Try without the '--' and an argument that doesn't start with '-', and it will still give you that error. -- nosy: +georg.brandl resolution: - invalid

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: If we add a .prepend() method, people will see it and start using it. Since now there's no 'prepend' method people ask why, and the answer they usually get is because it not a good idea to add elements on lists (but if you really have to

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Andy, the bug-tracker isn't really the best place for this sort of discussion; if you want to take this further I'd suggest mailing the python-ideas mailing list (bigger audience). FWIW, the bar for adding new methods to builtins should be

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Jean-Paul Calderone
Jean-Paul Calderone exar...@twistedmatrix.com added the comment: The argument that there are already two ways to do it, so why add a third?, is not bad, but if applied to appending, it would ban the append() method... except that it's already there. Not quite. First let's consider the

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: [insert the usual reference to collections.deque here] -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9080 ___

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here: http://docs.python.org/py3k/tutorial/datastructures.html#using-lists-as-queues -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9080

[issue9080] Provide list prepend method (even though it's not efficient)

2010-06-25 Thread Andy Buckley
Andy Buckley a...@insectnation.org added the comment: Still not convinced with the reasoning, I'm afraid, but I certainly agree that modifications to built-ins are not to be made lightly. Using deques, which are far less familiar, is not a particularly natural thing to do for a search path,

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

2010-06-25 Thread Domen Kožar
Domen Kožar ielect...@gmail.com added the comment: I agree — not the best example, here is a better one explaining what behavior should not exist: parser = argparse.ArgumentParser() parser.add_argument('foobar', action='store') parser.add_argument('foobar2', nargs='?')

[issue9079] Make gettimeofday available in time module

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Mark, I am reassigning this to you for commit review. I am changing the title to reflect the visible part of the change. The datetime module gains direct access to system gettimeofday at the C level while time module

[issue8947] Provide as_integer_ratio() method to Decimal

2010-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Raymond, do you have any thoughts on this proposal? -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8947 ___

[issue8860] Rounding in timedelta constructor is inconsistent with that in timedelta arithmetics

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: The timedelta(seconds=0.6112295) example is handled correctly No, it's not! It's being rounded *up* where it should be being rounded *down*. Let me try to reformulate the issue. When use is entering 0.6112295, she

[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2010-06-25 Thread Roland Johnson
Roland Johnson rolandjohn...@acm.org added the comment: Does this also relate to 3.1? Tkinter in not installing for that version under 10.6.4 -- nosy: +RolandJ ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9045

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

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Deprecating the feature for 3.x is certainly an option. May be a little drastic though. How drastic would be to stop subclassing datetime from date in 3.2? After all, we don't subclass float form int. --

[issue1578643] various datetime methods fail in restricted mode

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: See issue9079. -- dependencies: +Make gettimeofday available in time module ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578643

[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2010-06-25 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: AFAIK there is no 64-bit installer for 3.1. There will be one for 3.2. Sridhar: building using the 10.5 SDK should also work by using --enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk. I've recently patched setup.py and distutils

[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: This proved to require a lot of changes to C implementation because most of timezone arithmetics is done using integer operations with offset in minutes. It is easy, however to do this in pure python implementation which

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-06-25 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I'm reopening this because now the normcase implementation of posixpath has a todo that says on Mac OS X, this should really return s.lower(). (see r66743). There is some discussion about this in #9018. -- nosy: +ezio.melotti

[issue9051] Improve pickle format for aware datetime instances

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: The datetime module provides compact pickled representation for date, datetime, time and timedelta instances: type: size date: 34 datetime: 44 time: 36 timedelta: 37 On the other hand, current pickle size for timezone

[issue9081] test_sysconfig failure

2010-06-25 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: When I do a *full test run* of py3k I get a distutils test failure. It doesn't happen if I run test_distutils on its own: bigmac:py3k michael$ ./python.exe -m test.regrtest -j12 == CPython 3.2a0 (py3k:82215, Jun 25 2010, 13:59:00)

[issue9045] 2.7rc1: 64-bit OSX installer is not built with 64-bit tkinter

2010-06-25 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2010-06-25, at 8:13 AM, Ronald Oussoren wrote: Sridhar: building using the 10.5 SDK should also work by using --enable-universalsdk=/Developer/SDKs/MacOSX10.5.sdk. I've recently patched setup.py and distutils to honor the

[issue9051] Improve pickle format for aware datetime instances

2010-06-25 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: As part of this, we should ensure references to common timezones, like UTC, only create references to a single instance rather than filling memory with multiple instances. One consequence of this is that shared instances should probably be

[issue9079] Make gettimeofday available in time module

2010-06-25 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: It would be great if Tim Peters could be consulted about some of these ideas. He put a great deal of thought into the API, what should be included and what should be excluded. -- nosy: +rhettinger

[issue8947] Provide as_integer_ratio() method to Decimal

2010-06-25 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: -0 I don't think we really need this (we've already got a reasonable conversion to Fraction). In general, we should have a aversion to adding any methods to the decimal API because it is already very fat. Adding more

[issue9079] Make gettimeofday available in time module

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: I would very much appreciate Tim's input on datetime issues. This particular issue is fairly minor, but Tim's expertise will be invaluable for anything timezone related. I do appreciate the incredible amount of

[issue8947] Provide as_integer_ratio() method to Decimal

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Raymond, conversion to Fraction does not really help in my use case of supporting timedelta * Decimal by duck typing. I can think of many other use cases where it will be helpful to accept either float or decimal

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Here is a similar issue which may be easier to fix: def f(a, b=None, *, c=None, d=None): ...pass f(1,2,3) Traceback (most recent call last): File stdin, line 1, in module TypeError: f() takes at most 4 arguments

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- assignee: belopolsky - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2516 ___

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2516 ___ ___ Python-bugs-list

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2516 ___ ___ Python-bugs-list

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2516 ___ ___ Python-bugs-list

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2516 ___ ___ Python-bugs-list

[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 gose...@gmail.com 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.

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

2010-06-25 Thread Joseph Turian
Joseph Turian tur...@gmail.com 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

[issue9051] Improve pickle format for aware datetime instances

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r82220. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2516 ___ ___

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

2010-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

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

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

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com 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,

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

2010-06-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Victor: that was exactly the point of my post that you partially quoted :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7989 ___

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

2010-06-25 Thread Joseph Turian
Joseph Turian tur...@gmail.com added the comment: That patch gives good clarification. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1789 ___

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

2010-06-25 Thread Mark Dickinson
Changes by Mark Dickinson dicki...@gmail.com: -- assignee: gregory.p.smith - mark.dickinson status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1789 ___

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

2010-06-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue1776674] glob.glob inconsistent

2010-06-25 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk 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

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

2010-06-25 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: 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.

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

2010-06-25 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk 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. -- ___

[issue9069] test_float failure on Solaris

2010-06-25 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com 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

[issue9039] IDLE and module Doc

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Try making an idle.bat file on your desktop. -- nosy: +tjreedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9039 ___

[issue2516] Instance methods are misreporting the number of arguments

2010-06-25 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I presume Benjamin meant he fixed the special case Alexander reported. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2516 ___

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

2010-06-25 Thread Michael Foord
Changes by Michael Foord mich...@voidspace.org.uk: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9082 ___ ___

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

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue4622] SequenceMatcher bug with long sequences

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - patch review versions: +Python 3.2 -Python 2.5, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1524639 ___

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

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - works for me status: open - pending versions: -Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4726 ___

[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 arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7673 ___

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

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

[issue4775] Incorrect documentation - UTC time

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4775 ___

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

2010-06-25 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2010-06-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Removed file: http://bugs.python.org/file8609/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1322 ___ ___

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

2010-06-25 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1322 ___ ___ Python-bugs-list mailing

[issue9069] test_float failure on Solaris

2010-06-25 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Mark Dickinson rep...@bugs.python.org 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

[issue1222721] tk + setlocale problems...

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - invalid status: open - pending versions: -Python 2.5, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4872 ___

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

2010-06-25 Thread Steve Holden
New submission from Steve Holden st...@holdenweb.com: C:\Users\sholden\python31\python \python31\Tools\webchecker\wcgui.py Traceback (most recent call last): File \python31\Tools\webchecker\wcgui.py, line 63, in module from Tkinter import * ImportError: No module named Tkinter This makes

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

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

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

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

[issue4925] Improve error message of subprocess when cannot open

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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*

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

2010-06-25 Thread Tim Peters
Tim Peters tim.pet...@gmail.com 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

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

2010-06-25 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +gpolo stage: unit test needed - needs patch type: feature request - behavior versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9083

[issue1565525] gc allowing tracebacks to eat up memory

2010-06-25 Thread Martin v . Löwis
Changes by Martin v. Löwis mar...@v.loewis.de: -- resolution: - wont fix status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1565525 ___

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

2010-06-25 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - brett.cannon nosy: +brett.cannon priority: normal - high versions: +Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9082

[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 tjre...@udel.edu: -- 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 rep...@bugs.python.org http://bugs.python.org/issue4943

[issue9081] test_sysconfig failure

2010-06-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Hurray, I'm not the only one! -- nosy: +pitrou resolution: - duplicate status: open - closed superseder: - test_distutils failure ___ Python tracker rep...@bugs.python.org

[issue9038] test_distutils failure

2010-06-25 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9038 ___ ___ Python-bugs-list

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

2010-06-25 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7 -Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4963 ___

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

2010-06-25 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net 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

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

2010-06-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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.

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

2010-06-25 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 be

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

2010-06-25 Thread Guido van Rossum
Guido van Rossum gu...@python.org added the comment: Webchecker is so old, it should be deleted. -- nosy: +gvanrossum ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9083 ___

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

2010-06-25 Thread Domen Kožar
Domen Kožar ielect...@gmail.com 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

[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 gha...@users.sourceforge.net 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

[issue9069] test_float failure on Solaris

2010-06-25 Thread David Kirkby
David Kirkby david.kir...@onetel.net 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

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

2010-06-25 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9040 ___ ___

[issue5045] imaplib should remove length of literal strings

2010-06-25 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu 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

  1   2   >