[issue3917] set_display definition allows empty '{' '}' in Language Definition

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66522. Also removed the last two paragraphs of the set display explanation which were pasted from genexps and made no sense, and added a sentence about {} not constructing a set. -- resolution: -> fixed status: open -

[issue3852] kqueue.control requires 2 params while docs say max_events (the second) defaults to 0

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed patch in r66523. At least for now, code and docs are consistent again. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3912] unittest. assertAlmostEqual() documentation incomplete

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed in r66524. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3916] layout of build directories for Windows not current

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, committed as r66525. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3915] Broken link in 14.7 curses, Python Library Reference

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, this is already fixed in SVN and will be in the 2.6 docs coming out soon. -- resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3914] augop definition does not include "//="

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66526. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3913] compound_stmt syntax includes 'decorated'

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Bruce is right. I fixed "decorated", the duplicate "funcdef" and the "?" in r66527 and r66528. Bruce, usually adding comments with more issues, especially if they are so small, is fine; however, since they may be overlooked you're free to open

[issue3901] Slight readme.txt fix (VC9)

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Committed r66529. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3889] Demo/parser/unparse.py

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: This was fixed some time ago on the trunk. -- nosy: +georg.brandl resolution: -> out of date status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3897] collections

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66530. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3884] turtle in the tkinter package?

2008-09-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: This is now fixed in r66531. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3905] subprocess failing in GUI applications on Windows

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Jean-Michel, you'll need to apply the idlelib/run.py patch; replace sockthread.set_daemon(True) with sockthread.daemon = True around line 75. -- resolution: -> fixed status: open -> closed versions: +Python 3.0 -Python 2.5,

[issue3909] Building PDF documentation from tex files

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Which version of Sphinx did you use to build the docs? The Python docs currently need the unreleased SVN version (that will of course change for the final release). If you have a Sphinx release installed as a Python egg, it will cause problems,

[issue3685] Crash while compiling Python 3000 in OpenBSD 4.4

2008-09-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Is there any problem with always computing the end of the string as "s + wcslen(s)"? I feel that this is actually more readable than wcschr. Here is a patch that does that. It doesn't change PC/getpathp.c, since it's only used on Windows, wh

[issue3879] 2.6 regression in urllib.getproxies_environment

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I think the patch is okay; I guess you're processing the result of getproxies() yourself and relying on "no" being a key? -- resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]>

[issue3920] OpenBSD 4.4 still doesn't support _XOPEN_SOURCE

2008-09-21 Thread Martin v. Löwis
New submission from Martin v. Löwis <[EMAIL PROTECTED]>: msg71969 suggests that OpenBSD 4.4 still fails to build Python if _XOPEN_SOURCE is defined. Henry, can you please confirm that a) the problem still is that select is unavailable if _POSIX_SOURCE is defined, and b) the attached patch fixes

[issue3884] turtle in the tkinter package?

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Docs done in r66534. -- nosy: +georg.brandl ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3918] random.uniform suprisingly (good kind) does not work as documented

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Noted in r66535. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3920] OpenBSD 4.4 still doesn't support _XOPEN_SOURCE

2008-09-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Looking at the code again, it might be that definition of _POSIX_SOURCE is not harmful per se anymore, as long as _BSD_SOURCE is also defined. Can you please also try the alternative bsd2.diff? Added file: http://bugs.python.org/file11539/b

[issue3921] smtplib cannot sendmail over TLS

2008-09-21 Thread Takafumi SHIDO
New submission from Takafumi SHIDO <[EMAIL PROTECTED]>: when a SMTP object tries to send a mail through TLS, the smtp server replies retcode 502. When a test code (sendmail_test.py) is executed on Python 3, it stacks on sending mail while the test code works on Python 2.5. Following is the res

[issue3879] 2.6 regression in urllib.getproxies_environment

2008-09-21 Thread vila
vila <[EMAIL PROTECTED]> added the comment: Georg Brandl: > I guess you're processing the result of > getproxies() yourself and relying on "no" being a key? Indeed. Thanks for approving this. ___ Python tracker <[EMAIL PROTECTED]>

[issue3659] sqlite: enumeration value 'TYPE_STRING' not handled in switch

2008-09-21 Thread Gerhard Häring
Gerhard Häring <[EMAIL PROTECTED]> added the comment: Damn. I uploaded a patch to this issue a few days ago for review. Apparently, it didn't work?! I'll recreate it again. ___ Python tracker <[EMAIL PROTECTED]> _

[issue3659] sqlite: enumeration value 'TYPE_STRING' not handled in switch

2008-09-21 Thread Gerhard Häring
Gerhard Häring <[EMAIL PROTECTED]> added the comment: Attached patch corrects the issue. Could you please review it? -- status: open -> pending Added file: http://bugs.python.org/file11541/py3_sqlite3_str_subclass.dif ___ Python tracker <[EMAIL PROTEC

[issue3659] sqlite: enumeration value 'TYPE_STRING' not handled in switch

2008-09-21 Thread Gerhard Häring
Changes by Gerhard Häring <[EMAIL PROTECTED]>: -- keywords: +easy, needs review, patch type: -> behavior ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3659] sqlite: enumeration value 'TYPE_STRING' not handled in switch

2008-09-21 Thread Gerhard Häring
Changes by Gerhard Häring <[EMAIL PROTECTED]>: -- status: pending -> open ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-lis

[issue3922] 3.0rc1 missing tk lib in sys.path?

2008-09-21 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth <[EMAIL PROTECTED]>: 3.0rc1: When toying and attempting to import the scrolledtext module, I noticed the tkinter library path is no more by default included in the sys.path. Unfortunate omission or new Python 3.0 design? C:\Python30>python Python 3.0rc1 (r3

[issue3838] test_tarfile error on cygwin (Directory not empty)

2008-09-21 Thread Lars Gustäbel
Lars Gustäbel <[EMAIL PROTECTED]> added the comment: The patch is okay. Go ahead. BTW, I've never used Cygwin before, is it always that slow? 10 minutes for a configure script on a recent machine is a real pain. -- nosy: +lars.gustaebel ___ Python tr

[issue3838] test_tarfile error on cygwin (Directory not empty)

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in trunk(r66539) and py3k(r66540). >BTW, I've never used Cygwin before, is it always that slow? 10 minutes for a configure script on a recent machine is a real pain. Yes, that's really painful. On my box, I can eat dinner an

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

2008-09-21 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue3838] test_tarfile error on cygwin (Directory not empty)

2008-09-21 Thread Hirokazu Yamamoto
Changes by Hirokazu Yamamoto <[EMAIL PROTECTED]>: -- keywords: -needs review resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3654] Duplicated test name in regex test script

2008-09-21 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue516762] have a way to search backwards for re

2008-09-21 Thread Jeffrey C. Jacobs
Changes by Jeffrey C. Jacobs <[EMAIL PROTECTED]>: -- nosy: +timehorse ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue1706863] Failed to build Python 2.5.1 with sqlite3

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: >AttributeError: 'NoneType' object has no attribute 'rfind' Fixing this error is not difficult. I think attached patch is enough. But still cygwin user who wants to use sqlite3 module won't be happy. find_library() supports static lib, sh

[issue3923] 'genexpr_for' in definition of 'call' in Language Reference.

2008-09-21 Thread Bruce Frederiksen
New submission from Bruce Frederiksen <[EMAIL PROTECTED]>: The definition of 'call' in the Language Reference refers to 'genexpr_for' which doesn't exist. Either 'genexpr_for' should be changed to 'comp_for' or 'expression genexpr_for' should be changed to 'comprehension'. See the following: h

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-21 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: Python 3.0rc1 If the lines are now displayed correctly, I think there is still a numbering issue, a +1 offset. Python 2.5.2 # -*- coding: cp1252 -*- line 1, first line s = 'abc' import dummy s = 'def' --- >pythonw -u "testpy

[issue3905] subprocess failing in GUI applications on Windows

2008-09-21 Thread Todd Whiteman
Todd Whiteman <[EMAIL PROTECTED]> added the comment: Uh, the Idle bug reported by Jean-Michel is a completely different bug (please see the first three messages of this report). Please re-open this bug, as the subprocess issue I have reported is still outstanding. __

[issue3905] subprocess failing in GUI applications on Windows

2008-09-21 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: fixed -> status: closed -> open ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3923] 'genexpr_for' in definition of 'call' in Language Reference.

2008-09-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r66541. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3922] 3.0rc1 missing tk lib in sys.path?

2008-09-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: This is intentional. tkinter now lives directly in the lib directory (and is a package). -- nosy: +loewis resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3905] subprocess failing in GUI applications on Windows

2008-09-21 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: > Georg Brandl Thanks, patch applied on w2k+sp4 box, swiss french, Python 3.0rc1. IDLE is working fine. ___ Python tracker <[EMAIL PROTECTED]>

[issue3924] cookielib chokes on non-integer cookie version, should ignore it instead

2008-09-21 Thread Denis
New submission from Denis <[EMAIL PROTECTED]>: PROBLEM: Some sites (e.g. https://itunesconnect.apple.com) sends cookies where version is "1" instead of 1. Cookielib chokes on it so none of the cookies work after that. PROBLEM CODE: def _cookie_from_cookie_tuple(self, tup, request): ...

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: The IDLE problem is already corrected: see issue3628. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-09-21 Thread Yaakov (Cygwin Ports)
Yaakov (Cygwin Ports) <[EMAIL PROTECTED]> added the comment: > The IDLE problem is already corrected: see issue3628. In that case, then I think this can be closed; if I encounter any further issues after rc2, I'll open a new bug. Thank you for all your help. ___

[issue3919] PySys_SetObject crashes after Py_NewInterpreter().

2008-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: This seems a duplicate of issue3723. -- nosy: +amaury.forgeotdarc superseder: -> Py_NewInterpreter does not work ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3626] python3.0 interpreter on Cygwin ignores all arguments

2008-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: > I think this can be closed Well, after the proposed patch "cygwin_badprintf.patch" is reviewed and applied... ___ Python tracker <[EMAIL PROTECTED]>

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

2008-09-21 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: I wonder whether it could be put into Python 3 where certain breaks in backwards compatibility are to be expected. ___ Python tracker <[EMAIL PROTECTED]>

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-21 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Fixed the matching of word boundaries when searching and matching in substrings. Added file: http://bugs.python.org/file11543/regex_2.6rc2+1.diff ___ Python tracker <[EMAIL PROTECTED]>

[issue3919] PySys_SetObject crashes after Py_NewInterpreter().

2008-09-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3723] Py_NewInterpreter does not work

2008-09-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- keywords: +needs review ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue3925] test_distutils fails on cygwin

2008-09-21 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto <[EMAIL PROTECTED]>: Currently msvc build ignores shutil.rmtree error, this workaround is needed for cygwin too. == ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase) --

[issue3925] test_distutils fails on cygwin

2008-09-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Go ahead. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ __

[issue3925] test_distutils fails on cygwin

2008-09-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- keywords: -needs review ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs

[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-09-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I'm ok with this patch. -- keywords: -needs review nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3659] sqlite: enumeration value 'TYPE_STRING' not handled in switch

2008-09-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: I think the patch looks good. -- keywords: -needs review nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> _

[issue3925] test_distutils fails on cygwin

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Thanks, fixed in r66542(trunk) and r66543(py3k). -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3723] Py_NewInterpreter does not work

2008-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I applied the patch to PC/config.c, but this did not change anything. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3723] Py_NewInterpreter does not work

2008-09-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Interesting, here it lets import.c's init_builtin reinitalize modules... ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3879] 2.6 regression in urllib.getproxies_environment

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

[issue3705] py3k fails under Windows if "-c" or "-m" is given a non-ascii value

2008-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Today I learned something: wchar_t can be 2 or 4 bytes, PyUNICODE can be 2 or 4 bytes, and all combinations are possible. My error was to use PyUnicode_FromUnicode on a wchar_t*; PyUnicode_FromWideChar is the obvious function to use.

[issue3187] os.listdir can return byte strings

2008-09-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Here's a potential patch for listdir. It emits a UnicodeWarning (or should that be a BytesWarning?) and skips the file when decoding fails. What would be the best way to test this? Added file: http://bugs.python.org/file11546/listdir_bytes

[issue3187] os.listdir can return byte strings

2008-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: I did not test the patch, but I have some remarks about it: - %r does not seem to be handled by PyUnicode_FromFormat; %R maybe? - In this case, PyObject_Repr(v) is not necessary - and this will avoid a reference leak. - Does the warning

[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

2008-09-21 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: Committed r66545. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3920] OpenBSD 4.4 still doesn't support _XOPEN_SOURCE

2008-09-21 Thread Henry Precheur
Henry Precheur <[EMAIL PROTECTED]> added the comment: The patch bsd2.diff seems to work. There was a little typo in it (a missing @). (correction attached) Added file: http://bugs.python.org/file11547/bsd3.diff ___ Python tracker <[EMAIL PROTECTED]>

[issue3920] OpenBSD 4.4 still doesn't support _XOPEN_SOURCE

2008-09-21 Thread Henry Precheur
Changes by Henry Precheur <[EMAIL PROTECTED]>: -- versions: +Python 2.5 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue3884] turtle in the tkinter package?

2008-09-21 Thread Gregor Lingl
Gregor Lingl <[EMAIL PROTECTED]> added the comment: Of course I highly appreciate this decision. I'd like to point you to an urgent issue concerning turtle.py which needs a decision and which I've just posted to Python-dev Regards, Gregor ___ Python tracker

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

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

[issue2382] [Py3k] SyntaxError cursor shifted if multibyte character is in line.

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Patch revised. -- components: +Interpreter Core -None Added file: http://bugs.python.org/file11548/py3k_adjust_cursor_at_syntax_error.patch ___ Python tracker <[EMAIL PROTECTED]>

[issue3187] os.listdir can return byte strings

2008-09-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11546/listdir_bytes_warning.patch ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3187] os.listdir can return byte strings

2008-09-21 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Here's two more patches. One is like the old one with Amaury's comments observed. The other simply notes if there were decoding problems and warns once at the end of the listdir call. Making a warning happen more than once is tricky becaus

[issue3187] os.listdir can return byte strings

2008-09-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10719/oslistdir_string.patch ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue3187] os.listdir can return byte strings

2008-09-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file11550/warn_at_the_end.patch ___ Python tracker <[EMAIL PROTECTED]> ___

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

2008-09-21 Thread Scott David Daniels
New submission from Scott David Daniels <[EMAIL PROTECTED]>: Idle doesn't accept the new improved warnings arguments, thus escalating warnings to failures. This is, I believe, the core reason that Idle was failing on windows (warnings about deprecated set_daemon call escalated to a failure). Fi

[issue3927] dummy multiprocessing needs to use properties

2008-09-21 Thread Benjamin Peterson
New submission from Benjamin Peterson <[EMAIL PROTECTED]>: multiprocessing.dummy is still using some of the "get_name", "set_name" variety names. These should change. The attached patch should handle the problem. -- assignee: jnoller components: Library (Lib) files: kill_old_names.patch

[issue821862] ftplib: Strict RFC 959 (telnet in command channel)

2008-09-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bug

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-21 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: regex_2.6rc2+2.diff is a bugfix for capture groups in look-behinds. Added file: http://bugs.python.org/file11552/regex_2.6rc2+2.diff ___ Python tracker <[EMAIL PROTECTED]>

[issue3678] Ignored LDFLAGS during linking libpython$(VERSION).so

2008-09-21 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: already merged in py3k. committed to release25-maint in r66547. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

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

2008-09-21 Thread Hirokazu Yamamoto
Hirokazu Yamamoto <[EMAIL PROTECTED]> added the comment: Sorry, the patch didn't work... I didn't understand Martin's word. And nl_langinfo(CODESET) is useless on cygwin because it's always US-ASCII. ___ Python tracker <[EMAIL PROTECTED]>

[issue3825] Major reworking of Python 2.5.2 re module

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

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-21 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Needed to correct regex_2.6rc2+2.diff. Added file: http://bugs.python.org/file11553/regex_2.6rc2+2.diff ___ Python tracker <[EMAIL PROTECTED]> __

[issue3593] subprocess + stdout redirection + wait + svn= hang

2008-09-21 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: This is not a subprocess bug. the os's pipe buffer filled up so the process never terminated to be noticed by wait. see: http://docs.python.org/dev/library/subprocess.html#subprocess.Popen.wait use communicate() instead of wait(). -

[issue3825] Major reworking of Python 2.5.2 re module

2008-09-21 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: regex_2.6rc2+3.diff adds reverse searching with the re.REVERSE/re.R and "(?r)" flag. This gives results such as: >>> re.findall("(\w+)", "one two three") ['one', 'two', 'three'] >>> re.findall("(?r)(\w+)", "one two three") ['three', 'two',

[issue516762] have a way to search backwards for re

2008-09-21 Thread Matthew Barnett
Matthew Barnett <[EMAIL PROTECTED]> added the comment: Implemented as part of #3825. ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs

[issue3392] subprocess fails in select when descriptors are large

2008-09-21 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker <[EMAIL PROTECTED]> ___

[issue516762] have a way to search backwards for re

2008-09-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed superseder: -> Major reworking of Python 2.5.2 re module ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3745] _sha256 et al. encode to UTF-8 by default

2008-09-21 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: agreed. most platforms should be using the openssl version, i will update the non-openssl implementations to behave the same. I don't think this is worth being a release blocker. I'll do it for 3.0.1. -- assignee: -> gregory.p.s

[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-09-21 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- assignee: -> gregory.p.smith nosy: +gregory.p.smith priority: -> critical title: Self-reference in BaseHTTPRequestHandler descendants causes stuck connections -> BaseHTTPRequestHandler depends on GC to close connections

[issue3066] FD leak in urllib2

2008-09-21 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3631] Improve gdbinit of Python 2.6

2008-09-21 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- assignee: -> gregory.p.smith nosy: +gregory.p.smith priority: -> normal ___ Python tracker <[EMAIL PROTECTED]> ___ ___

[issue3709] BaseHTTPRequestHandler innefficient when sending HTTP header

2008-09-21 Thread Gregory P. Smith
Gregory P. Smith <[EMAIL PROTECTED]> added the comment: Buffering up header IO and sending it all at once is always a good thing to do. A patch and unit test would be greatly appreciated. -- assignee: -> gregory.p.smith nosy: +gregory.p.smith priority: -> normal versions: +Python 2.6

[issue3566] httplib persistent connections violate MUST in RFC2616 sec 8.1.4.

2008-09-21 Thread Gregory P. Smith
Changes by Gregory P. Smith <[EMAIL PROTECTED]>: -- assignee: -> gregory.p.smith nosy: +gregory.p.smith ___ Python tracker <[EMAIL PROTECTED]> ___

[issue751758] ftplib.retrbinary fails when called from retrlines callback

2008-09-21 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: In FTP every data channel is supposed to be used for a unique transfer (RFC-1123, chapter 4.1.2.6) and every client should open only one data connection at time. Actually there isn't any official RFC which explicitly states my second senten

[issue1248] ftplib needs a rewrite to use bytes/buffers

2008-09-21 Thread Giampaolo Rodola'
Giampaolo Rodola' <[EMAIL PROTECTED]> added the comment: Actually the 'r' flag is used against the control connection which is not supposed to receive any "binary" data and in FTP.retrlines method which is supposed to retrieve data in line mode. ___ Python tra

[issue3841] IDLE: quirky behavior when displaying strings longer than 4093 characters

2008-09-21 Thread Hank Christian
Hank Christian <[EMAIL PROTECTED]> added the comment: I am using Vista Ultimate, with Python 2.5. I did not have any problems running this code. The result was 4094. -- nosy: +hankchristian ___ Python tracker <[EMAIL PROTECTED]>

[issue3920] OpenBSD 4.4 still doesn't support _XOPEN_SOURCE

2008-09-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Hye-Shik, can you please review this patch? -- assignee: -> hyeshik.chang keywords: +needs review nosy: +hyeshik.chang ___ Python tracker <[EMAIL PROTECTED]> __

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

2008-09-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I didn't mean to suggest that a new codec is created; instead, mbstowcs should be called directly in grpmodule.c. By default, mbstowcs will use ASCII, so it is likely to fail - you would need to call setlocale first. ___

[issue3659] sqlite: enumeration value 'TYPE_STRING' not handled in switch

2008-09-21 Thread Gerhard Häring
Gerhard Häring <[EMAIL PROTECTED]> added the comment: Thanks a lot, Benjamin! Committed revision 66550. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3872] Python 2.6rc2: Tix ComboBox error

2008-09-21 Thread Dominique Wahli
Dominique Wahli <[EMAIL PROTECTED]> added the comment: I hope this bug will have some attention before final 2.6 Work on Python 2.5.2 and not on 2.6rc1 and 2.6rc2 -- title: Tix ComboBox error -> Python 2.6rc2: Tix ComboBox error ___ Python tracker <[