[issue1720705] thread + import => crashes?

2008-05-20 Thread Adam Olsen
Adam Olsen <[EMAIL PROTECTED]> added the comment: The patch for issue 1856 should fix the potential crash, so we could eliminate that scary blurb from the docs. -- nosy: +Rhamphoryncus _ Tracker <[EMAIL PROTECTED]>

[issue1424152] urllib/urllib2: HTTPS over (Squid) Proxy fails

2008-05-20 Thread Cameron Simpson
Cameron Simpson <[EMAIL PROTECTED]> added the comment: Well I've happily done lots of SOAP transations, admittedly all to the same webservice, via HTTPS-over-proxy-CONNECT using ChrisL's patch. It seems to work just fine. Whom do we petition to get this into the mainline python sources? - Cameron

[issue2933] "Documenting Python: Syntax" bug

2008-05-20 Thread Wallace Owen
Wallace Owen <[EMAIL PROTECTED]> added the comment: Thanks for the fast attention. One question: How do I access and use these docs? I went looking for the instructions on documenting, so when I contribute, the docs I do are in the right format. The url I was reading didn't have a '2.5' in it

[issue2933] "Documenting Python: Syntax" bug

2008-05-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Thanks for the report. However, since we have moved to a new doc format (reST), we are not maintaining the 2.5 docs. -- nosy: +benjamin.peterson resolution: -> wont fix status: open -> closed versions: +Python 2.5 -Python 3.0 ___

[issue2932] Documenting Python: Syntax"

2008-05-20 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Pyth

[issue2898] Add memory footprint query

2008-05-20 Thread Facundo Batista
Changes by Facundo Batista <[EMAIL PROTECTED]>: -- nosy: +facundobatista __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Uns

[issue2933] "Documenting Python: Syntax" bug

2008-05-20 Thread Wallace Owen
New submission from Wallace Owen <[EMAIL PROTECTED]>: The 'documenting Python' document, section 4.1, at this url: http://docs.python.org/doc/latex-syntax.html has an incorrect (but correctly spelled) word in one of it's sentences: Macros which take no parameters but which should not be fo

[issue2932] Documenting Python: Syntax"

2008-05-20 Thread Wallace Owen
New submission from Wallace Owen <[EMAIL PROTECTED]>: http://docs.python.org/doc/latex-syntax.html -- messages: 67142 nosy: owen severity: normal status: open title: Documenting Python: Syntax" __ Tracker <[EMAIL PROTECTED]>

[issue2583] urlparse normalize URL path

2008-05-20 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Not a bug... -- nosy: +facundobatista resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue1333] merge urllib and urlparse functionality

2008-05-20 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Brett, in consideration of PEP 3108... shouldn't we close this issue? The urilib module in the sandbox wasn't updated in the last seven months. Or we just keep this open as a reminder? (of what?) Thanks! -- nosy: +facundobatista _

[issue2844] int() lies about base parameter

2008-05-20 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Agreed. Totally a non-issue. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing lis

[issue2844] int() lies about base parameter

2008-05-20 Thread Facundo Batista
Changes by Facundo Batista <[EMAIL PROTECTED]>: __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue2775] Implement PEP 3108

2008-05-20 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- dependencies: -rename test_support to support __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs

[issue2621] rename test_support to support

2008-05-20 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: I just added the note to the docs in 2.6. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mail

[issue2621] rename test_support to support

2008-05-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Done in r63512. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-

[issue643841] New class special method lookup change

2008-05-20 Thread Adam Olsen
Adam Olsen <[EMAIL PROTECTED]> added the comment: Is there any reason not to name it ProxyMixin, ala DictMixin? -- nosy: +Rhamphoryncus Tracker <[EMAIL PROTECTED]>

[issue2775] Implement PEP 3108

2008-05-20 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- dependencies: -Create the html package, Moving lib-tk to tkinter package, Revert copy_reg rename in 2.6 __ Tracker <[EMAIL PROTECTED]> __

[issue2808] asynchat forgets packets when push is called from a thread

2008-05-20 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola, josiah.carlson, josiahcarlson __ Tracker <[EMAIL PROTECTED]> __ __

[issue2928] Allow set/frozenset for __all__

2008-05-20 Thread Adam Olsen
Adam Olsen <[EMAIL PROTECTED]> added the comment: tuples are already allowed for __all__, which breaks attempts to monkey-patch it. I did forget to check the return from PyObject_GetIter. __ Tracker <[EMAIL PROTECTED]> _

[issue2860] re module fails to handle byte strings

2008-05-20 Thread Stefan Behnel
Stefan Behnel <[EMAIL PROTECTED]> added the comment: Ah, I now see what the actual problem is. Byte strings return the byte value on indexing. Changing the title accordingly. -- title: re module fails to handle digits in byte strings -> re module fails to handle byte strings _

[issue2930] Cannot change variable defined in "__init__.py" after importing

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Use import common common.fileList = ... Please ask further question on python-list (comp.lang.python) -- this is not a bug. -- nosy: +georg.brandl resolution: -> invalid status: open -> closed __ Trac

[issue2914] Logging TimedRotatingFileHandler Feature Request

2008-05-20 Thread Vinay Sajip
Vinay Sajip <[EMAIL PROTECTED]> added the comment: Fix checked into trunk (r63507). TimedRotatingFileHandler now takes an optional "utc" parameter - defaults to 0 (localtime); set it to 1 to enable UTC. (Note: True/False not used since we're still supposed to work under 1.5.2 - this will be fixed

[issue2929] TimedRotatingFileHandler crashes on backup file deletion attempt

2008-05-20 Thread Vinay Sajip
Vinay Sajip <[EMAIL PROTECTED]> added the comment: Fix checked into trunk (r63507). Thanks for the report! -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue2931] optparse: various problems with unicode and gettext

2008-05-20 Thread Alexey Shamrin
Alexey Shamrin <[EMAIL PROTECTED]> added the comment: I've also attached a patch that fixes all these issues and also allows the word "error" to be translated with gettext. Regarding the use of `locale.getpreferredencoding` instead of `sys.getdefaultencoding`. On my system (Windows XP, Russian)

[issue2931] optparse: various problems with unicode and gettext

2008-05-20 Thread Alexey Shamrin
New submission from Alexey Shamrin <[EMAIL PROTECTED]>: In the process of trying to use optparse with russian messages, I found several problems with gettext and unicode handling: 1. optparse.OptionParser.error function doesn't work with unicode argument 2. optparse doesn't work when its error m

[issue2930] Cannot change variable defined in "__init__.py" after importing

2008-05-20 Thread Jörg Rebenstorf
Changes by Jörg Rebenstorf <[EMAIL PROTECTED]>: -- title: Cannot change variable defined in __init_.py after importing -> Cannot change variable defined in "__init__.py" after importing __ Tracker <[EMAIL PROTECTED]> __

[issue2930] Cannot change variable defined in __init_.py after importing

2008-05-20 Thread Jörg Rebenstorf
Changes by Jörg Rebenstorf <[EMAIL PROTECTED]>: -- title: Cannot change variable definied in __init_.py after importing -> Cannot change variable defined in __init_.py after importing __ Tracker <[EMAIL PROTECTED]>

[issue2930] Cannot change variable definied in __init_.py after importing

2008-05-20 Thread Jörg Rebenstorf
New submission from Jörg Rebenstorf <[EMAIL PROTECTED]>: How can I change a variable that I defined in "__init__.py" of a package called "common" from inside the .py file that imported the package? I think there is no way to do this, in contrast to when the variable is defined any other module

[issue2914] Logging TimedRotatingFileHandler Feature Request

2008-05-20 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> vsajip nosy: +vsajip __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailin

[issue2929] TimedRotatingFileHandler crashes on backup file deletion attempt

2008-05-20 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> vsajip nosy: +vsajip __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailin

[issue643841] New class special method lookup change

2008-05-20 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: I've attached a sample ProxyBase class that delegates all of the special methods handled by weakref.proxy (as well as the tp_oct and tp_hex slots, which weakref.proxy ignores). While there are other special methods in CPython (e.g. __enter__ an

[issue2921] enable embedding: declare/#define only py* symbols in #includes

2008-05-20 Thread Hallvard B Furuseth
Hallvard B Furuseth <[EMAIL PROTECTED]> added the comment: Duh, I should of course have said defined(PY_HAVE_ACOSH) and not defined(HAVE_ACOSH), that was the whole point:-) And the puts() should print "#define PY_HAVE_WHATEVER 1". Hopefully there are not too many #defines which would need to get

[issue1641] asyncore delayed calls feature

2008-05-20 Thread Mark Blakeney
Changes by Mark Blakeney <[EMAIL PROTECTED]>: -- nosy: +markb __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue2929] TimedRotatingFileHandler crashes on backup file deletion attempt

2008-05-20 Thread Stephan Blietz
New submission from Stephan Blietz <[EMAIL PROTECTED]>: Hello, when the maximum number of backup files is reached TimedRotatingFileHandler can't delete the oldest existing file. I got the following error message: Traceback (most recent call last): File "D:\Python25\lib\logging\handlers.py", li

[issue2621] rename test_support to support

2008-05-20 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Tue, May 20, 2008 at 2:33 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: > > Georg Brandl <[EMAIL PROTECTED]> added the comment: > > Should be safe to apply now, Benjamin. Will do today. -- Cheers, Benjamin Peterson "There's no place like

[issue2598] "{ +(}".format(**{' +(': 44}) should produce ValueError: invalid identifier, ' +(' in format

2008-05-20 Thread Eric Smith
Eric Smith <[EMAIL PROTECTED]> added the comment: I should have been clearer. By "The problem, if any, is that **{' +(': 44} is allowed as a parameter", I meant in general, for all function/method calls. It's not an issue that's restricted to str.format(). __ Tr

[issue2598] "{ +(}".format(**{' +(': 44}) should produce ValueError: invalid identifier, ' +(' in format

2008-05-20 Thread Eric Smith
Eric Smith <[EMAIL PROTECTED]> added the comment: After discussing this with Talin, we've decided this is "works as designed". The problem, if any, is that **{' +(': 44} is allowed as a parameter. I think that perhaps that should be an error, but I haven't had time to research if this is alread

[issue1732367] Document the constants in the socket module

2008-05-20 Thread Björn Lindqvist
Björn Lindqvist <[EMAIL PROTECTED]> added the comment: There is no progress on this. I had lots of documentation written in Latex on a laptop, but then I lost it. Sorry. -- nosy: +bjourne _ Tracker <[EMAIL PROTECTED]>

[issue2928] Allow set/frozenset for __all__

2008-05-20 Thread Raymond Hettinger
Changes by Raymond Hettinger <[EMAIL PROTECTED]>: -- resolution: -> rejected status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Pytho

[issue615772] Tkinter.Misc has no __contains__ method

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I'm closing this; YAGNI. However, I've added an explicit __contains__ method which raises a nice error message in r63501. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed Trac

[issue2928] Allow set/frozenset for __all__

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: I agree. There seems to be no compelling use case. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-

[issue2592] weakref.proxy fails to delegate tp_index slot

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Fixed in r63500, together with the floor/truediv slots. -- assignee: -> georg.brandl nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1794] Hot keys must work in any keyboard layout

2008-05-20 Thread Nashev
Nashev <[EMAIL PROTECTED]> added the comment: https://bugzilla.mozilla.org/show_bug.cgi?id=69230 - it is the same bugreport for other program. It is contain many comments and explains :) __ Tracker <[EMAIL PROTECTED]> ___

[issue1775025] zipfile: Allow reading duplicate filenames

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Thanks, reviewed, added tests and committed as r63499. -- nosy: +georg.brandl resolution: -> accepted status: open -> closed _ Tracker <[EMAIL PROTECTED]> _

[issue2928] Allow set/frozenset for __all__

2008-05-20 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: The breakage isn't from the patch. The problem would come from using a non-list iterable for __all__ which then breaks any other code that assumes __all__ is a list (the code is os is an example of how __all__ can get modified). AFAI

[issue2928] Allow set/frozenset for __all__

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: You don't check for NULL return from PyObject_GetIter(). It will segfault for "__all__ = 1". That demonstrates that test cases are missing from the patch. :) Raymond: It shouldn't since __all__ is only inspected after the module code has been

[issue2488] Backport sys.maxsize to Python 2.6

2008-05-20 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Thanks for the patch. Committed (with modifications) as r63498. -- nosy: +loewis resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue2928] Allow set/frozenset for __all__

2008-05-20 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: Does this break code that adds to __all__ using append() and extend()? See the os module for an example. -- assignee: -> rhettinger nosy: +rhettinger type: -> feature request versions: +Python 2.6 _

[issue2924] Revert copy_reg rename in 2.6

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Done in r63493. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue2621] rename test_support to support

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Should be safe to apply now, Benjamin. -- assignee: brett.cannon -> benjamin.peterson resolution: -> accepted __ Tracker <[EMAIL PROTECTED]> __

[issue2839] Moving lib-tk to tkinter package

2008-05-20 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: Done in r63485-63491. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue2861] Patch to rename markupbase to _markupbase

2008-05-20 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles <[EMAIL PROTECTED]> added the comment: I'll update the patches to reflect that. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-l

Re: [issue2882] Create the html package

2008-05-20 Thread Brett Cannon
On Mon, May 19, 2008 at 11:11 PM, Fred L. Drake, Jr. <[EMAIL PROTECTED]> wrote: > > Fred L. Drake, Jr. <[EMAIL PROTECTED]> added the comment: > > Python 2.6 changes reverted in revision 63481. > > Does anyone really want to pickle HTML parser state, or references to > the helper functions in the ht