[issue6802] build fails on Snow Leopard

2009-08-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: The default value for the -arch flag changed in SL. It used to be the same as the output of the arch command (i386 on intel systems) and now is x86-64. I'll create a patch for configure to automaticly detect the right value. As a workaround you can build

[issue6805] Should be URL for documentation of current release of Python 3 (without version)

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: The "current" 3k docs are at docs.python.org/py3k. -- resolution: -> out of date status: open -> closed ___ Python tracker ___ __

[issue6803] Context manager docs refer to contextlib.contextmanager as contextlib.contextfactory

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, fixed in r74588. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Py

[issue6807] No such file or directory: 'msisupport.dll' in msi.py

2009-08-30 Thread pds
New submission from pds : Investigating the issue #6716 I reported earlier, I've been trying to build Windows MSI installer package of Python 3.1 on my own. I checked out the svn source, built things with Visual C++ 2008 Express Edition, and tried to make MSI package in Tools\msi directory. When

[issue6801] symmetric_difference_update documentation fix

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r74590. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue6802] build fails on Snow Leopard

2009-08-30 Thread Joshua Root
Joshua Root added the comment: Noting for completeness that: * 3.0.1 behaves the same as 3.1.1 (works without --enable-framework). * 2.5.4 fails with 'cc1: error: unrecognized command line option "-Wno- long-double"'. Once this is removed from the configure script, it then fails in mactoolbox

[issue6801] symmetric_difference_update documentation fix

2009-08-30 Thread R. David Murray
R. David Murray added the comment: OK, so in r74578 Tarek added the pipe but didn't update this case, and in r74590 Georg deleted the pipe that Tarek added... -- nosy: +r.david.murray status: closed -> open ___ Python tracker

[issue6802] build fails on Snow Leopard

2009-08-30 Thread Jesse Noller
Jesse Noller added the comment: I'll note I am not doing framework builds, however people have run into problems with non framework builds and macports/old versions of gettext. -- ___ Python tracker __

[issue6808] python 3.1 documentation tutorial classes

2009-08-30 Thread Tom Morse
New submission from Tom Morse : Thank you for the most excellent documentation and notes on classes in python: http://docs.python.org/3.1/tutorial/classes.html I found the following minor typos and provide feedback on the above web page: 1. Where "unpacked again" occurs there is no reference to

[issue6802] build fails on Snow Leopard

2009-08-30 Thread Mitchell Hashimoto
Changes by Mitchell Hashimoto : -- nosy: +mitchellh ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue6802] build fails on Snow Leopard

2009-08-30 Thread Preston Kutzner
Changes by Preston Kutzner : -- nosy: +grdnwsl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue6802] build fails on Snow Leopard

2009-08-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: The attached patch (configure-in-sl.patch) fixes the build issue on SL, I haven't committed the patch yet because it needs testing on 10.5/10.4. NOTE: the patch touches configure.in without also patching configure. Therefore you need to run 'autoconf' after a

[issue6801] symmetric_difference_update documentation fix

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: Oops, that was a bit uncoordinated :) I saw the new bug report in my inbox, and decided to look at what might be wrong despite the somewhat meager description, and already saw the "fixed" version and fixed it again. Anyway. I think the unfixed, and now reverted,

[issue6801] symmetric_difference_update documentation fix

2009-08-30 Thread Tarek Ziadé
Tarek Ziadé added the comment: Well, in that case I don't understand how it is different from difference_update() ? The doc says : set -= other | ... suggesting that you can pipe several sets with -=, exactly like what you can do with ^=. The same applies with |=. In other words, this whol

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2009-08-30 Thread Brett Cannon
Brett Cannon added the comment: Turns out the failure is because I have simply been opening bytecode files for writing using _io.FileIO(..., 'w') which just uses the OS's default permissions. Guess that won't cut it anymore. =) So does this mean I am expected to chmod the bytecode file to hav

[issue6526] importlib.import_module affects permissions of .pyc files subsequently created by import

2009-08-30 Thread R. David Murray
R. David Murray added the comment: Well, the problem with asking me what the right thing to do is that I think the old behavior of just using the default os umask makes the most sense. I think we should figure out who made the original change in behavior and ask them what the right thing is to

[issue5639] Support TLS SNI extension in ssl module

2009-08-30 Thread Daniel Black
Daniel Black added the comment: patch against TRUNK (2.7) with self tests and doco. Essentially the same code as pdp with a SSLv2 check before using the SNI extension. Contains some spacing cleanups that where highlighted by vim. -- nosy: +grooverdan Added file: http://bugs.python.org

[issue5639] Support TLS SNI extension in ssl module

2009-08-30 Thread Daniel Black
Daniel Black added the comment: py3k version -- Added file: http://bugs.python.org/file14809/python-3K-74602-ssl_client_sni.path ___ Python tracker ___ __

[issue5639] Support TLS SNI extension in ssl module

2009-08-30 Thread Daniel Black
Changes by Daniel Black : -- versions: +Python 2.7, Python 3.2 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue5639] Support TLS SNI extension in ssl module

2009-08-30 Thread Daniel Black
Daniel Black added the comment: current self tests cannot fully test the existence of the SNI extension as there is no server side support. This client script run with argument sni.velox.ch will show the "Great! Your client its ClientHello: sni.velox.ch" on the output. -- nosy: +ja

[issue5639] Support TLS SNI extension in ssl module

2009-08-30 Thread Daniel Black
Daniel Black added the comment: The small deficiency with these patches is that the specified server_hostname is almost always the hostname that is used in the socket pair of connect. Is it appropriate to grab the hostname value and use it in the SNI extension header? -- __

[issue6788] codecs.open on Win32 does not force binary mode

2009-08-30 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I think your test is invalid: it creates the file in "w" mode, so \n are written as two bytes \r\n on the disk. codecs.open just reads them back. -- nosy: +amaury.forgeotdarc resolution: -> invalid status: open -> pending __

[issue6809] Python string.lstrip bug?

2009-08-30 Thread Andrew Liu
New submission from Andrew Liu : A simple lstrip on the following causes an extra character to be stripped, as per the below. Tried on 2.6.1 and on 2.4.3, as below. Python 2.6.1 (r261:67515, Feb 27 2009, 02:54:13) [GCC 4.3.2 20081105 (Red Hat 4.3.2-7)] on linux2 Type "help", "copyright", "credit

[issue6801] symmetric_difference_update documentation fix

2009-08-30 Thread Georg Brandl
Georg Brandl added the comment: > Well, in that case I don't understand how it is different from > difference_update() ? It's different from difference_update because that takes multiple arguments. The operator form shows an equivalent and therefore shows how to write an equivalent of the metho

[issue6809] Python string.lstrip bug?

2009-08-30 Thread Mark Dickinson
Mark Dickinson added the comment: This is not a bug: the argument to lstrip effectively specifies a set of characters to be removed; in your example, 'c' is in that set, so the 'c' at the beginning of city gets removed. 'i' is not in that set, so it stays. lstrip(...) S.lstrip([chars