Re: [Python-Dev] http.client Nagle/delayed-ack optimization

2012-12-20 Thread Kristján Valur Jónsson
How serendipitous, I was just reporting a similar problem to Sony in one of their console sdks yesterday :) Indeed, the Nagle problem only shows up if you are sending more than one segments that are not full size. It will not occur in a sequence of full segments. Therefore, it is perfectly ok

Re: [Python-Dev] Draft PEP for time zone support.

2012-12-20 Thread Barry Warsaw
On Dec 20, 2012, at 11:18 AM, Ben Finney wrote: Terry Reedy tjre...@udel.edu writes: On 12/12/2012 10:56 AM, Lennart Regebro wrote: It seems like calling get_timezone() with an unknown timezone should just throw ValueError, not necessarily some custom Exception? That could very well

[Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Brian Curtin
Last week in Raymond's dictionary thread, the topic of ARM came up, along with the relative lack of build slave coverage. Today Trent Nelson received the PandaBoard purchased by the PSF, and a Raspberry Pi should be coming shortly as well.

Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-20 Thread Glyph
On Dec 19, 2012, at 7:46 PM, anatoly techtonik techto...@gmail.com wrote: On *nix it really shouldn't be select. select cannot wait upon a file descriptor whose value is greater than FD_SETSIZE, which means it sets a hard (and small) limit on the number of things that a process which

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Eli Bendersky
On Thu, Dec 20, 2012 at 9:33 AM, Brian Curtin br...@python.org wrote: Last week in Raymond's dictionary thread, the topic of ARM came up, along with the relative lack of build slave coverage. Today Trent Nelson received the PandaBoard purchased by the PSF, and a Raspberry Pi should be coming

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Benjamin Peterson
2012/12/20 Eli Bendersky eli...@gmail.com: On Thu, Dec 20, 2012 at 9:33 AM, Brian Curtin br...@python.org wrote: Last week in Raymond's dictionary thread, the topic of ARM came up, along with the relative lack of build slave coverage. Today Trent Nelson received the PandaBoard purchased by

[Python-Dev] Possible GIL/threading issue involving subprocess and PyMem_MALLOC...

2012-12-20 Thread Trent Nelson
This seems odd to me so I wanted to see what others think. The unit test Lib/unittest/test/test_runner.py:Test_TextRunner.test_warnings will eventually hit subprocess.Popen._communicate. The `mswindows` implementation of this method relies on threads to buffer stdin/stdout.

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Trent Nelson
On Thu, Dec 20, 2012 at 10:10:45AM -0800, Benjamin Peterson wrote: 2012/12/20 Eli Bendersky eli...@gmail.com: On Thu, Dec 20, 2012 at 9:33 AM, Brian Curtin br...@python.org wrote: Last week in Raymond's dictionary thread, the topic of ARM came up, along with the relative lack of build

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Trent Nelson
On Thu, Dec 20, 2012 at 09:33:27AM -0800, Brian Curtin wrote: Last week in Raymond's dictionary thread, the topic of ARM came up, along with the relative lack of build slave coverage. Today Trent Nelson received the PandaBoard purchased by the PSF, and a Raspberry Pi should be coming shortly

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread a.cavallo
How about folding them??? I did it, now I don't need a power supply anymore :O On Thu 20/12/12 19:52, Trent Nelson tr...@snakebite.org wrote: No problemo'. If only all the other Snakebite servers could fit in my palm and run off 0.25A. ___

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Antoine Pitrou
On Thu, 20 Dec 2012 13:52:56 -0500 Trent Nelson tr...@snakebite.org wrote: On Thu, Dec 20, 2012 at 09:33:27AM -0800, Brian Curtin wrote: Last week in Raymond's dictionary thread, the topic of ARM came up, along with the relative lack of build slave coverage. Today Trent Nelson received the

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Trent Nelson
On Thu, Dec 20, 2012 at 10:52:56AM -0800, Trent Nelson wrote: I'll work on setting the ARM boards up next week. Does anyone have a preference regarding the operating system? There are a bunch of choices listed here: http://www.omappedia.org/wiki/Main_Page As long as it

Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-20 Thread Brett Cannon
You cannot rewrite an existing PEP if you are not one of the original owners, nor can you add yourself as an author to a PEP without permission from the original authors. And please do not CC the peps mailing list on discussions. It should only be used to mail in new PEPs or acceptable patches to

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Barry Warsaw
On Dec 20, 2012, at 02:54 PM, Trent Nelson wrote: On Thu, Dec 20, 2012 at 10:52:56AM -0800, Trent Nelson wrote: I'll work on setting the ARM boards up next week. Does anyone have a preference regarding the operating system? There are a bunch of choices listed here:

Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-20 Thread Chris Jerdonek
On Thu, Dec 20, 2012 at 12:18 PM, Brett Cannon br...@python.org wrote: And please do not CC the peps mailing list on discussions. It should only be used to mail in new PEPs or acceptable patches to PEPs. PEP 1 should perhaps be clarified if the above is the case. Currently, PEP 1 says all

Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-20 Thread Brett Cannon
On Thu, Dec 20, 2012 at 3:55 PM, Chris Jerdonek chris.jerdo...@gmail.comwrote: On Thu, Dec 20, 2012 at 12:18 PM, Brett Cannon br...@python.org wrote: And please do not CC the peps mailing list on discussions. It should only be used to mail in new PEPs or acceptable patches to PEPs. PEP

Re: [Python-Dev] [Python-checkins] cpython: Mention OSError instead of IOError in the docs.

2012-12-20 Thread Andrew Svetlov
Don't sure about applying doc changes to 3.3. They are very minor. The main change will be deprecation of aliases in the docs, that can be applied only to upcoming release. On Wed, Dec 19, 2012 at 7:05 PM, Serhiy Storchaka storch...@gmail.com wrote: On 19.12.12 09:24, Nick Coghlan wrote: With

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Nick Coghlan
I'd vote for Fedora on at least one of them (like Barry, I'm biased, though) Cheers, Nick. -- Sent from my phone, thus the relative brevity :) On Dec 21, 2012 6:27 AM, Barry Warsaw ba...@python.org wrote: On Dec 20, 2012, at 02:54 PM, Trent Nelson wrote: On Thu, Dec 20, 2012 at 10:52:56AM

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Meador Inge
On Thu, Dec 20, 2012 at 2:23 PM, Barry Warsaw ba...@python.org wrote: On Dec 20, 2012, at 02:54 PM, Trent Nelson wrote: On Thu, Dec 20, 2012 at 10:52:56AM -0800, Trent Nelson wrote: I'll work on setting the ARM boards up next week. Does anyone have a preference regarding the operating

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Eli Bendersky
That's good news. A related question about Snakebite, though. Maybe I missed something obvious, but is there an overview of how the core devs can use it? In particular, I'd want to know if Snakebite runs Python's tests regularly - and if it does, how can I see the status. How do

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Benjamin Peterson
2012/12/20 Eli Bendersky eli...@gmail.com: That's good news. A related question about Snakebite, though. Maybe I missed something obvious, but is there an overview of how the core devs can use it? In particular, I'd want to know if Snakebite runs Python's tests regularly -

Re: [Python-Dev] PEP 3145 (With Contents)

2012-12-20 Thread Chris Jerdonek
On Thu, Dec 20, 2012 at 1:12 PM, Brett Cannon br...@python.org wrote: On Thu, Dec 20, 2012 at 3:55 PM, Chris Jerdonek chris.jerdo...@gmail.com wrote: On Thu, Dec 20, 2012 at 12:18 PM, Brett Cannon br...@python.org wrote: And please do not CC the peps mailing list on discussions. It should

Re: [Python-Dev] Possible GIL/threading issue involving subprocess and PyMem_MALLOC...

2012-12-20 Thread Gregory P. Smith
On Thu, Dec 20, 2012 at 10:43 AM, Trent Nelson tr...@snakebite.org wrote: This seems odd to me so I wanted to see what others think. The unit test Lib/unittest/test/test_runner.py:Test_TextRunner.test_warnings will eventually hit subprocess.Popen._communicate. The

Re: [Python-Dev] Possible GIL/threading issue involving subprocess and PyMem_MALLOC...

2012-12-20 Thread Trent Nelson
On Thu, Dec 20, 2012 at 05:47:40PM -0800, Gregory P. Smith wrote: On Thu, Dec 20, 2012 at 10:43 AM, Trent Nelson tr...@snakebite.org wrote: This seems odd to me so I wanted to see what others think. The unit test

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Trent Nelson
On Thu, Dec 20, 2012 at 03:10:49PM -0800, Eli Bendersky wrote: That's good news. A related question about Snakebite, though. Maybe I missed something obvious, but is there an overview of how the core devs can use it? In particular, I'd want to know if

Re: [Python-Dev] PandaBoard, Raspberry Pi coming to Buildbot fleet

2012-12-20 Thread Eli Bendersky
On Thu, Dec 20, 2012 at 7:13 PM, Trent Nelson tr...@snakebite.org wrote: On Thu, Dec 20, 2012 at 03:10:49PM -0800, Eli Bendersky wrote: That's good news. A related question about Snakebite, though. Maybe I missed something obvious, but is there an overview of

[Python-Dev] compile python 3.3 with bz2 support

2012-12-20 Thread Isml
hi, everyone: I want to compile python 3.3 with bz2 support on RedHat 5.5 but fail to do that. Here is how I do it: 1??download bzip2 and compile it(make??make -f Makefile_libbz2_so??make install) 2??chang to python 3.3 source directory : ./configure --with-bz2=/usr/local/include

Re: [Python-Dev] compile python 3.3 with bz2 support

2012-12-20 Thread Isml
OK, thanks --Original-- From: "Oleg Broytman"p...@phdru.name; Date: Fri, Dec 21, 2012 02:17 PM To: "Isml"76069...@qq.com; Cc: "python-dev"python-dev@python.org; Subject: Re: [Python-Dev] compile python 3.3 with bz2 support Hello. We are sorry but we

[Python-Dev] What is the sequence? ([issue16728] collections.abc.Sequence shoud provide __subclasshook__

2012-12-20 Thread INADA Naoki
I've report http://bugs.python.org/issue16728 , but I am confused about what is the sequence now. Glossary defines sequence as iteratable having __getitem__ and __len__. Objects doesn't have __iter__ is iterable when it having __getitem__. http://docs.python.org/3/reference/datamodel.html says: