[issue3941] Help in IDLE should open the chm file

2008-09-22 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Kurt, even if using online documentation is necessary, I think the URL is not quite right - it should rather be a version-dependent URL, IMO. -- assignee: -> kbk nosy: +kbk ___ Python tracker <[E

[issue3941] Help in IDLE should open the chm file

2008-09-22 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Notice that the chm file is available on Windows only. So in general, opening the online documentation might be the right thing to do. -- nosy: +loewis title: Help in IDLE doesn't work correctly -> Help in IDLE should open the chm f

[issue3940] turtle.py - minor bugfixes

2008-09-22 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Please submit separate patches for unrelated issues. As a whole, the patch is unacceptable because of that. Please don't add comments to the code that describe what has changed, or what was before. Only describe what is. Specifically, don't

[issue3942] Usability issue from not being able to use defined start and end code block markers

2008-09-22 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: Hello Mez, I don't think this will be implemented in the language. There have discussions on supporting braces (as accessibility mechanism) before, but it is not generally agreed upon. I would like to point to you the discussion between Guido and T.

[issue3943] IDLE won't start in 3.0rc1 "Subprocess didn't make connection...."

2008-09-22 Thread Robert Yodlowski
New submission from Robert Yodlowski <[EMAIL PROTECTED]>: I installed 3.0rc1 on a Win XP 2.4Gzh system with all current updates with no problems. Cmd line Python and docs work fine. Tried to start IDLE but got error message: "IDLE's subprocess didn't make connection. Either IDLE can't start sub

[issue3942] Usability issue from not being able to use defined start and end code block markers

2008-09-22 Thread Martin Meredith
New submission from Martin Meredith <[EMAIL PROTECTED]>: Recently, a blind user posted on Stack Overflow asking whether there was something that would allow them to use braces within python. They have a point, with only tabs being show in the editor, it can be very confusing for a blind user usi

[issue3939] Patch to implement a real ftplib test suite

2008-09-22 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Awesome! I'll look at this soon. -- assignee: -> benjamin.peterson priority: -> high ___ Python tracker <[EMAIL PROTECTED]> _

[issue3666] atexit.register with bad input segfaults on exit

2008-09-22 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: Checked in as revision 66562. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3941] Help in IDLE doesn't work correctly

2008-09-22 Thread Gregor Lingl
New submission from Gregor Lingl <[EMAIL PROTECTED]>: >From IDLE either pressing F1 or choosing the menu Help-Python Docs should open a Help-Window with the docs of the current version. (This works well for instance in Python 2.5.2) The docs file normally resides on the local computer in the Doc

[issue3940] turtle.py - minor bugfixes

2008-09-22 Thread Gregor Lingl
Gregor Lingl <[EMAIL PROTECTED]> added the comment: The bugfix for bug 3) described above makes necessary the insertion of a line in turtleDemo.py (around line 96) Again I've attached the corresponding diff file Added file: http://bugs.python.org/file11566/turtleDemo.diff _

[issue3940] turtle.py - minor bugfixes

2008-09-22 Thread Gregor Lingl
New submission from Gregor Lingl <[EMAIL PROTECTED]>: Thorough testing revealesd the following bugs in turtle.py (Python 2.6): 1) Around lines 359 and 379: There's a name conflict with a methodname of the parentclass Frame: _root. The bugfix consists in renaming this attribute, which occurs only

[issue3911] ftplib.FTP.makeport() bug

2008-09-22 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: > Would you like to contribute a patch? Done in issue #3939. ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3939] Patch to implement a real ftplib test suite

2008-09-22 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' <[EMAIL PROTECTED]>: ftplib module is currently lacking a test suite which actually connects to a FTP server and uses the FTP class methods and facilities. Bug #3911, discovered just a bunch of weeks before the stable release of Python 3.0, is an example of h

[issue3938] Clearing globals; interpreter -- IDLE difference

2008-09-22 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- priority: -> low ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mai

[issue3937] platform.dist(): detect Linux distribution version in a robust, standard way

2008-09-22 Thread Zooko O'Whielacronx
Zooko O'Whielacronx <[EMAIL PROTECTED]> added the comment: Here's a new version of this patch which differs only in having slightly more correct documentation. Added file: http://bugs.python.org/file11563/dist.patch.txt ___ Python tracker <[EMAIL PROTECTED]>

[issue3938] Clearing globals; interpreter -- IDLE difference

2008-09-22 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: Interpreter: >>> globals() {'__builtins__': , '__name__': '__main__', '__doc__': None, '__package__': None} >>> globals().clear() >>> globals() Traceback (most recent call last): File "", line 1, in NameError: name 'globals' is not define

[issue3885] errors on _bsddb creation and dealloc

2008-09-22 Thread Jesús Cea Avión
Jesús Cea Avión <[EMAIL PROTECTED]> added the comment: Nick: 1. Yes, the code actually patches an unrelated regression too (DB.verify() crashes). I added the testcase, since the testsuite didn't exercise "DB.verify()" and so the bug was lurking there for months. It is solved now, and the testcas

[issue3937] platform.dist(): detect Linux distribution version in a robust, standard way

2008-09-22 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- assignee: -> lemburg nosy: +lemburg priority: -> normal versions: +Python 2.7, Python 3.1 -Python 2.4, Python 2.5, Python 2.6, Python 3.0 ___ Python tracker <[EMAIL PROTECTED]>

[issue3937] platform.dist(): detect Linux distribution version in a robust, standard way

2008-09-22 Thread Zooko O'Whielacronx
New submission from Zooko O'Whielacronx <[EMAIL PROTECTED]>: platform.dist() returns ('debian', 'lenny/sid', '') on my Ubuntu 8.04 Hardy system. Investigating shows that there are a few techniques in platform.py to parse the version-number-files of different Linux distributions. This patch adds

[issue3936] Faulty suppression of 'as' keyword warning

2008-09-22 Thread Terry J. Reedy
New submission from Terry J. Reedy <[EMAIL PROTECTED]>: Copied from c.l.p post by F. Lundh I have no idea if this has implications for warnings in 2.6 > >>> from sympy.mpmath import specfun > >>> > > So what could be suppressing the warning? [about 'as' becoming a keyw

[issue433031] SRE: x++ isn't supported

2008-09-22 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Closing this one then. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> Regexp 2.7 (modifications to current re 2.2.2) ___ Python tracker <[EMAIL PROTECTED]>

[issue3934] sphinx - building muppy docs fails on Linux

2008-09-22 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- nosy: +schuppenies ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-22 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: In this case, I think there is nothing we can do. Perhaps it is useful to put a comment into the test, pointing out that this is likely to break on Cygwin, and refer to this issue. I don't see that as a problem: it's just a test that fails,

[issue3933] presence of .pythonstartup.py causes __main__.__file__ to be set incorrectly

2008-09-22 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Jean-Paul, to find out why the specific patch was not backported, you would have to ask the original committer (which happens to be Georg Brandl). If you want to ask that question through the tracker, it's best to add him to the nosy list, so

[issue3927] dummy multiprocessing needs to use properties

2008-09-22 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66557. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3928] os.mknod missing on Solaris

2008-09-22 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: It would be best if you could contribute a patch to fix this. The source of configure is configure.in; you need autoconf to generate configure from it. -- nosy: +loewis ___ Python tracker <[EMAIL

[issue3885] errors on _bsddb creation and dealloc

2008-09-22 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: Patch comments: - the test suite section of the diff appears to have a number of changes that are unrelated to this issue - the purpose of the new do_not_close flag (i.e. avoiding the crash) could use a comment at the point where it is reference

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-22 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Dominique, unless you contribute a fix yourself, no fix might get included in 2.6. I still would leave Tix "in" 2.6, unless it can be shown that all Tix widgets are broken. I don't think it's a problem that the Tix version is 8.4 - there is

[issue3262] re.split doesn't split with zero-width regex

2008-09-22 Thread Guido van Rossum
Guido van Rossum <[EMAIL PROTECTED]> added the comment: The problem with doing this per 3.0 is that it's impossible to write a conversion script. I'm okay with adding a flag to enable this behavior though. Please open a new bug with a new patch, preferably one that applies cleanly to the trunk,

[issue3666] atexit.register with bad input segfaults on exit

2008-09-22 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: *thumbs up* ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing list

[issue3666] atexit.register with bad input segfaults on exit

2008-09-22 Thread Skip Montanaro
Skip Montanaro <[EMAIL PROTECTED]> added the comment: I've taken this ticket. Can someone please review and give it a thumbs up or thumbs down? -- assignee: -> skip.montanaro ___ Python tracker <[EMAIL PROTECTED]>

[issue3666] atexit.register with bad input segfaults on exit

2008-09-22 Thread Skip Montanaro
Changes by Skip Montanaro <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11517/atexit.diff ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3935] bisect insort C implementation ignores methods on list subclasses

2008-09-22 Thread jason kirtland
New submission from jason kirtland <[EMAIL PROTECTED]>: The C implementation (only) of bisect does not invoke list subclass methods when insorting. Code like this will not trigger the assert: class Boom(list): def insert(self, index, item): assert False bisect.insort(Boom(),

[issue433031] SRE: x++ isn't supported

2008-09-22 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Implemented in #2636 and #3825. -- nosy: +mrabarnett ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3934] sphinx - building muppy docs fails on Linux

2008-09-22 Thread robwolfe
New submission from robwolfe <[EMAIL PROTECTED]>: I've tried to build muppy (http://packages.python.org/muppy/) documentation on: $ python2.5 -c "import sys; print sys.version" 2.5 (release25-maint, Dec 9 2006, 14:35:53) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)] with Sphinx (version 0

[issue3001] RLock's are SLOW

2008-09-22 Thread STINNER Victor
Changes by STINNER Victor <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11172/rlock.patch ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3392] subprocess fails in select when descriptors are large

2008-09-22 Thread Mattias Engdegård
Mattias Engdegård <[EMAIL PROTECTED]> added the comment: As the comment in the original bug report said, you need to raise the file descriptor limit to something well above 2000 before running the test case. Needless to say, you may need to do that part as root in case that would exceed your har

[issue3392] subprocess fails in select when descriptors are large

2008-09-22 Thread STINNER Victor
STINNER Victor <[EMAIL PROTECTED]> added the comment: I don't understand the problem. If you open a lot of files, the open() loop will stop an exception (IOError: too many open files), and so subprocess is not used. If I open -1 files, subprocess._get_handles() will fail on os.pipe(). If I o

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-22 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Correction of regex_2.6rc2+4.diff. (Aargh!) Added file: http://bugs.python.org/file11559/regex_2.6rc2+4.diff ___ Python tracker <[EMAIL PROTECTED]> _

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-22 Thread Matthew Barnett
Changes by Matthew Barnett <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11558/regex_2.6rc2+4.diff ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-22 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: regex_2.6rc2+4.diff fixes the ordering of the capture groups for reverse searching. Added file: http://bugs.python.org/file11558/regex_2.6rc2+4.diff ___ Python tracker <[EMAIL PROTECTED]>

[issue3868] patch for review: OS/2 EMX port fixes for 2.6

2008-09-22 Thread Andrew I MacIntyre
Andrew I MacIntyre <[EMAIL PROTECTED]> added the comment: Committed in revs 66552, 66553 and 66554. I've blocked r66554 from py3k as other changes are needed for OS/2 (r66555) I've merged r66552 and r66553 into py3k as they apply cleanly (r66556). Thanks for the review Amaury. -- assig

[issue3926] Idle doesn't obey the new improved warnings arguements

2008-09-22 Thread Guilherme Polo
Guilherme Polo <[EMAIL PROTECTED]> added the comment: The first part was already mentioned in issue3391, but not closing this in favor of the second part of your message. -- nosy: +gpolo ___ Python tracker <[EMAIL PROTECTED]>

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-22 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: I'm not cygwin user, but cygwin seems not to support multibyte function. Following program outputs 5 on VC6 as expected, but 10 on cygwin. Hmm... #include #include #include int main(int argc, char* argv[]) { const char s[] = "

[issue3933] presence of .pythonstartup.py causes __main__.__file__ to be set incorrectly

2008-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I was thinking about an application that embeds an interpreter, and calls PyRun_SimpleFile(). There are many ways to use python... ___ Python tracker <[EMAIL PROTECTED]>

[issue3933] presence of .pythonstartup.py causes __main__.__file__ to be set incorrectly

2008-09-22 Thread Jean-Paul Calderone
Jean-Paul Calderone <[EMAIL PROTECTED]> added the comment: Any buggy behavior might be relied on by applications. Taken to the extreme, you can never have a bug-fix release of Python. __file__ from PYTHONSTARTUP breaks the warnings module. It would be difficult for an application to rely on __

[issue3933] presence of .pythonstartup.py causes __main__.__file__ to be set incorrectly

2008-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I was not there, but the usual rules state that a backport is not allowed to break working code, even if it relies on undocumented features or side-effects. Here, PyRun_SimpleFileExFlags changed its behaviour: it now deletes __main__.__

[issue3884] turtle in the tkinter package?

2008-09-22 Thread Kirill Simonov
Kirill Simonov <[EMAIL PROTECTED]> added the comment: Thank you for the fix, I really appeciate it. ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3927] dummy multiprocessing needs to use properties

2008-09-22 Thread Jesse Noller
Jesse Noller <[EMAIL PROTECTED]> added the comment: The patch looks fine to me Ben, if you want to apply it. ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3933] presence of .pythonstartup.py causes __main__.__file__ to be set incorrectly

2008-09-22 Thread Jean-Paul Calderone
Jean-Paul Calderone <[EMAIL PROTECTED]> added the comment: Why wasn't it backported to 2.5? ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python

[issue3933] presence of .pythonstartup.py causes __main__.__file__ to be set incorrectly

2008-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Someone took the time machine and corrected this 18 months ago: r54189 is included in the 2.6 version. -- nosy: +amaury.forgeotdarc resolution: -> out of date status: open -> closed ___ Pyth

[issue3933] presence of .pythonstartup.py causes __main__.__file__ to be set incorrectly

2008-09-22 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone <[EMAIL PROTECTED]>: [EMAIL PROTECTED]:~$ ls .pythonstartup.py .pythonstartup.py [EMAIL PROTECTED]:~$ python Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" fo

[issue3932] HTMLParser cannot handle '&' and non-ascii characters in attribute names

2008-09-22 Thread yanne
New submission from yanne <[EMAIL PROTECTED]>: It seems that HTMLParser.feed throws an exception whenever an attribute name contains both quotation mark '&' and non-ascii characters. Running the attached test file with Python 2.5 succeeds, but with Python 2.6, the result is: C:\Python26>python.

[issue3929] Incorrect exception raising in dbm.open on non-existing DB

2008-09-22 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Amaury's patch looks good. -- nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3824] test_tarfile fails on cygwin (unicode decode error)

2008-09-22 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11455/experimental_mbcstowcs_codec.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3930] urllib.request.urlopen() different on Windows than Linux

2008-09-22 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3931] codecs.charmap_build is untested and undocumented

2008-09-22 Thread Maciek Fijalkowski
New submission from Maciek Fijalkowski <[EMAIL PROTECTED]>: Although it doesn't start with _ and is definitely necessary as codecs call it. -- components: Library (Lib) messages: 73569 nosy: fijal severity: normal status: open title: codecs.charmap_build is untested and undocumented type

[issue3930] urllib.request.urlopen() different on Windows than Linux

2008-09-22 Thread Mark Summerfield
Mark Summerfield <[EMAIL PROTECTED]> added the comment: Sorry, I now can't reproduce it. I made a tiny test script and it worked fine on both Windows and Linux. Now when I run the real test that works fine too. So could you close/remove this "bug" for me please? #!/usr/bin/env python3 import sys

[issue3262] re.split doesn't split with zero-width regex

2008-09-22 Thread Jeffrey C. Jacobs
Jeffrey C. Jacobs <[EMAIL PROTECTED]> added the comment: I think Mike Coleman proposal of enabling this behaviour via flag is probably best and IMHO we should consider it under these circumstances. Intuitively, I think you're interpretation of what re.split should do under zero-width conditions

[issue3930] urllib.request.urlopen() different on Windows than Linux

2008-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I only get bytes on Linux. Do you have a test script? -- nosy: +amaury.forgeotdarc ___ Python tracker <[EMAIL PROTECTED]> __

[issue3929] Incorrect exception raising in dbm.open on non-existing DB

2008-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: dbm.error is documented as a tuple, and I'd prefer not to change this: http://docs.python.org/dev/3.0/library/dbm.html#dbm.error Since it says that its first member is another dbm.error exception, we could simply raise error[0](message

[issue3930] urllib.request.urlopen() different on Windows than Linux

2008-09-22 Thread Mark Summerfield
New submission from Mark Summerfield <[EMAIL PROTECTED]>: Py30rc1 On Windows the file object returned by urllib.request.urlopen() appears to be in binary mode, so .read() returns a bytes object. But on Linux it appears to be in text mode, so .read() returns a str object. It seeems to me that the

[issue3929] Incorrect exception raising in dbm.open on non-existing DB

2008-09-22 Thread Hagen Fürstenau
New submission from Hagen Fürstenau <[EMAIL PROTECTED]>: Opening a dbm database which doesn't exist without a "c" or "n" flag results in this exception: >>> import dbm >>> dbm.open("abc") Traceback (most recent call last): File "", line 1, in File "/home/MP.shadow/hagenf/local/src/py3k/Lib/

[issue3928] os.mknod missing on Solaris

2008-09-22 Thread Erik Sandberg
New submission from Erik Sandberg <[EMAIL PROTECTED]>: When building Python on Solaris, I don't get the os.mknod function. This seems to be a combination of two errors: 1. The definition of posix_mknod() in posixmodule.c is surrounded by: #if defined(HAVE_MKNOD) && defined(HAVE_MAKEDEV) It works

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Tix is still at version 8.4 (tix84.dll) when tcl has been upgraded to 8.5 (tcl85.dll and tk85.dll) The Tix project does not seem to be maintained any more. I managed to recompile it against tcl85, but nothing changed. Should we remove

[issue2574] Add RFC 3768 SSM Multicast support to "socket"

2008-09-22 Thread T.Morin
T.Morin <[EMAIL PROTECTED]> added the comment: > > Exercising the API fully requires an SSM capable multicast LAN. ... and it also requires a host IP stack implementing the API, which is not yet (AFAIK) the case for Mac OS X, even very recent releases. I think you will need a Windows or Linux b

[issue3909] Building PDF documentation from tex files

2008-09-22 Thread Winfried Plappert
Winfried Plappert <[EMAIL PROTECTED]> added the comment: Hi Georg, whatever I am getting when I am doing a make latex in the Docs directory. The current version is 66550: "Sphinx v0.5, building latex". I just redid it again and the error persists. But you say that one has to use unreleased SVN