Re: [Python-Dev] Point of building without threads?

2012-05-08 Thread Dirkjan Ochtman
On Mon, May 7, 2012 at 9:49 PM, Antoine Pitrou solip...@pitrou.net wrote: I guess a long time ago, threading support in operating systems wasn't very widespread, but these days all our supported platforms have it. Is it still useful for production purposes to configure --without-threads? Do

Re: [Python-Dev] Point of building without threads?

2012-05-08 Thread Kristján Valur Jónsson
I guess a long time ago, threading support in operating systems wasn't very widespread, but these days all our supported platforms have it. Is it still useful for production purposes to configure --without-threads? Do people use this option for something else than curiosity of mind? For

Re: [Python-Dev] PEP 405 (pyvenv) and system Python upgrades

2012-05-08 Thread Vinay Sajip
Carl Meyer carl at oddbird.net writes: The version key could in theory be useful to know whether a particular venv created by that Python has or has not yet been upgraded to match, but since the upgrade is trivial and idempotent I don't think that is important. Agreed it's not essential,

Re: [Python-Dev] Python 3.3 cannot find BeautifulSoup but Python 3.2 can

2012-05-08 Thread Brett Cannon
This really isn't the right mailing list to ask this kind of question (I know you got help last time with your Debian-specific problem, but that was because people got overly excited =). Python-dev is meant for discussing the development *of* Python, not using it or developing *with* it. I would

Re: [Python-Dev] Python 3.3 cannot find BeautifulSoup but Python 3.2 can

2012-05-08 Thread Barry Warsaw
On May 08, 2012, at 11:13 AM, Brett Cannon wrote: This really isn't the right mailing list to ask this kind of question (I know you got help last time with your Debian-specific problem, but that was because people got overly excited =). Python-dev is meant for discussing the development *of*

Re: [Python-Dev] PEP 405 (pyvenv) and system Python upgrades

2012-05-08 Thread Carl Meyer
Hi Paul, On 05/07/2012 04:16 PM, Paul Moore wrote: On 7 May 2012 21:55, Martin v. Löwismar...@v.loewis.de wrote: This sounds to me like a level of complexity unwarranted by the severity of the problem, especially when considering the additional burden it imposes on alternative Python

Re: [Python-Dev] Adding types.build_class for 3.3

2012-05-08 Thread Barry Warsaw
On May 08, 2012, at 11:59 AM, Nick Coghlan wrote: No, the mcl in the call is just the designated metaclass - the *actual* metaclass of the resulting class definition may be something different. That's why this is a separate method from mcl.__new__. I'm not completely sold on adding a class

Re: [Python-Dev] PEP 405 (pyvenv) and system Python upgrades

2012-05-08 Thread Paul Moore
On 8 May 2012 17:14, Carl Meyer c...@oddbird.net wrote: I don't think anyone has proposed making symlinks the default on Windows. At this point the two options on Windows would be to use the --symlink option explicitly, or else to need to run pyvenv --upgrade on your envs if you upgrade the

Re: [Python-Dev] Point of building without threads?

2012-05-08 Thread Stefan Krah
Antoine Pitrou solip...@pitrou.net wrote: I guess a long time ago, threading support in operating systems wasn't very widespread, but these days all our supported platforms have it. Is it still useful for production purposes to configure --without-threads? Do people use this option for

Re: [Python-Dev] c/ElementTree XML serialisation

2012-05-08 Thread Alex Leach
Furthermore, if I use the html method (an option given to ElementTree.write), closing tags are converted to lower case, which leads to an XML parsing error with camel-cased tag names. Using the text method instead removes all tags, and I get a ValueError if I try to use the c14n method. This

Re: [Python-Dev] Point of building without threads?

2012-05-08 Thread Antoine Pitrou
On Tue, 8 May 2012 19:40:32 +0200 Stefan Krah ste...@bytereef.org wrote: Antoine Pitrou solip...@pitrou.net wrote: I guess a long time ago, threading support in operating systems wasn't very widespread, but these days all our supported platforms have it. Is it still useful for production

Re: [Python-Dev] c/ElementTree XML serialisation

2012-05-08 Thread Terry Reedy
On 5/8/2012 12:21 PM, Alex Leach wrote: Is there a better way? This really looks like a python-list question. I don't see that it has much to do with developing 3.3. (any more than most pythonl-list questions.) -- Terry Jan Reedy ___ Python-Dev

Re: [Python-Dev] c/ElementTree XML serialisation

2012-05-08 Thread And Clover
On 08/05/12 17:21, Alex Leach wrote: The w3c SVG specification / recommendation http://www.w3.org/TR/SVG/script.html allows forscript andstyle tags, recommending to wrap the text node in a![CDATA[ … ]]. The spec uses a CDATA section in the example, for demonstration purposes only. It's not

Re: [Python-Dev] Adding types.build_class for 3.3

2012-05-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/07/2012 09:59 PM, Nick Coghlan wrote: On Mon, May 7, 2012 at 11:42 PM, Hrvoje Niksic hrvoje.nik...@avl.com wrote: On 05/07/2012 02:15 PM, Nick Coghlan wrote: Benjamin's suggestion of a class method on type may be a good one, though. Then

Re: [Python-Dev] c/ElementTree XML serialisation

2012-05-08 Thread Alex Leach
On Tuesday 08 May 2012 23:15:43 And Clover wrote: | | CDATA sections are of use for hand-authoring readability, but don't help | in machine-serialised documents. You don't get away from the need to | encode out-of-band sequences (notably ]] is still invalid) so it | doesn't buy you any

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-08 Thread Matthias Klose
On 05.05.2012 16:13, Antoine Pitrou wrote: On Sat, 05 May 2012 16:04:40 +0200 Christian Heimes li...@cheimes.de wrote: Am 05.05.2012 15:39, schrieb Antoine Pitrou: On Sat, 05 May 2012 15:31:24 +0200 Christian Heimes li...@cheimes.de wrote: Am 05.05.2012 12:36, schrieb Antoine Pitrou:

Re: [Python-Dev] Adding types.build_class for 3.3

2012-05-08 Thread Nick Coghlan
On Wed, May 9, 2012 at 8:37 AM, Tres Seaver tsea...@palladion.com wrote: No, the mcl in the call is just the designated metaclass - the *actual* metaclass of the resulting class definition may be something different. That's why this is a separate method from mcl.__new__. Why not make it a

Re: [Python-Dev] sys.implementation

2012-05-08 Thread Barry Warsaw
Hi Eric, Great job on the latest PEP 421. I really like it. A few additional comments/questions. * sys.implementation.version This is defined as the version of the implementation, while sys.version_info is the version of the language. The semantics of sys.version_info have been

Re: [Python-Dev] Debian wheezy, amd64: make not finding files for bz2 and other packages

2012-05-08 Thread Barry Warsaw
On May 09, 2012, at 02:17 AM, Matthias Klose wrote: IMO, the correct fix would be not to hard-code the system include and library directories, but get them from gcc directly (if CC is gcc), and not relying on dpkg-architecture. $ gcc -v -E - /dev/null [...] #include ... search starts here:

Re: [Python-Dev] sys.implementation

2012-05-08 Thread Eric Snow
On Tue, May 8, 2012 at 7:14 PM, Barry Warsaw ba...@python.org wrote: Hi Eric, Great job on the latest PEP 421.  I really like it. Encouragement appreciated. :)  A few additional comments/questions.  * sys.implementation.version   This is defined as the version of the implementation,