[issue6814] xrange removal from documentation

2009-08-31 Thread Daniel Black
New submission from Daniel Black : xrange still exists in bits of documentation here and there. patch fixes it. -- assignee: georg.brandl components: Documentation files: xrange-doco.patch keywords: patch messages: 92120 nosy: georg.brandl, grooverdan severity: normal status: open title

[issue6813] update format() documentation and tutorial

2009-08-31 Thread Daniel Black
New submission from Daniel Black : Release notes show the use of '{}'.format('this') and the attached patch updates this to be the default example in the tutorial. Library references are updated to show field_name as optional and a few examples are added. Relates to the improvements from issue 5

[issue5468] urlencode does not handle "bytes", and could easily handle alternate encodings

2009-08-31 Thread Miles Kaufmann
Changes by Miles Kaufmann : Removed file: http://bugs.python.org/file14796/urllib_parse.py3k.patch ___ Python tracker ___ ___ Python-bugs-list

[issue5639] Support TLS SNI extension in ssl module

2009-08-31 Thread Phil Pennock
Phil Pennock added the comment: (Sorry for dropping this, lost available time) I see your point. OTOH, use of SNI needs to be something that can be disabled and people need to be able to connect to host A while supplying host B, not necessarily using IP addresses for the specificity. Use- c

[issue6812] Snow Leopard python program fails because _PyType_Modified is missing from python framework

2009-08-31 Thread Seamus O'Shea
New submission from Seamus O'Shea : Attempts to compile a simple example using XCode 3.2 (Xcode IDE: 1610.0, Xcode Core: 1608.0, ToolSupport: 1591.0)under Snow Leopard fail with error message Traceback (most recent call last): File "/Users/seamus/Science/xcode exploration/Objc- programs/Firs

[issue992389] attribute error after non-from import

2009-08-31 Thread Adam Olsen
Adam Olsen added the comment: It'd probably be sufficient if we raised "NameError: lazy import 'foo' not yet complete". That should require a set of what names this module is lazy importing, which is checked in the failure paths of module attribute lookup and global/builtin lookup. --

[issue992389] attribute error after non-from import

2009-08-31 Thread Brett Cannon
Brett Cannon added the comment: I have done a lazy importer like you describe, Adam, and it does help solve this issue. And it does have the problem of import errors being triggered rather late and in an odd spot. -- ___ Python tracker

[issue992389] attribute error after non-from import

2009-08-31 Thread Adam Olsen
Adam Olsen added the comment: The key distinction between this and a "bad" circular import is that this is lazy. You may list the import at the top of your module, but you never touch it until after you've finished importing yourself (and they feel the same about you.) An ugly fix could be don

[issue6802] build fails on Snow Leopard

2009-08-31 Thread Jason Montleon
Changes by Jason Montleon : -- nosy: +xaoslaad ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue6811] add a filename argument to marshal.load*

2009-08-31 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6811] add a filename argument to marshal.load*

2009-08-31 Thread Brett Cannon
New submission from Brett Cannon : For compatibility w/ import, importlib needs the ability to set code.co_filename to the actual location of the bytecode used to create a module and not the path embedded in the marshal data. But since co_filename is read-only it can't be done at the moment.

[issue6802] build fails on Snow Leopard

2009-08-31 Thread Ned Deily
Ned Deily added the comment: With the patch installed, no regressions were seen running my standard set of OSX installer builds/installs/regtests on 10.4 and 10.5. -- ___ Python tracker ___

[issue2637] urllib.quote() escapes characters unnecessarily and contrary to docs

2009-08-31 Thread Senthil
Senthil added the comment: Fixed and Committed revision 74608 - trunk Committed revision 74609 - py3k -- resolution: -> fixed ___ Python tracker ___ ___

[issue6297] Added Misc/python.pc to 'distclean' Rule

2009-08-31 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the patch. Applied in r74604 (trunk), r74605 (py3k), r74606 (release31-maint). -- assignee: georg.brandl -> marketdickinson components: +Build -Documentation nosy: +marketdickinson resolution: -> accepted stage: -> committed/rejected statu

[issue6802] build fails on Snow Leopard

2009-08-31 Thread Mark Dickinson
Mark Dickinson added the comment: The patch works for me. Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue3212] ssl module - should test for a wrong cert

2009-08-31 Thread Daniel Black
Daniel Black added the comment: Is fixed in p3k Mon Sep 8 16:45:19 2008 UTC http://svn.python.org/view/python/branches/py3k/Lib/test/test_ssl.py?r1=65837&r2=66311 -- nosy: +grooverdan versions: +Python 3.1, Python 3.2 ___ Python tracker

[issue6810] add link to the documentation of signal.signal

2009-08-31 Thread Yinon Ehrlich
New submission from Yinon Ehrlich : in http://docs.python.org/library/signal.html#signal.signal the reader is referred to "see the reference manual section on the standard type hierarchy". It would be generous if we will supply a link like "http://docs.python.org/reference/datamodel.html"; BTW:

[issue2973] _ssl compiler warnings

2009-08-31 Thread Daniel Black
Daniel Black added the comment: The changeset that changed the definitions is here: http://cvs.openssl.org/chngview?cn=12024 (2004-Mar-14 23:15:13 (UTC)) As you can see there is no easy identifier in the changeset (i'm not sure how portable an ifdef on a typedef is (possible asn1_const_ctx_st/A