Re: [Python-Dev] deleting setdefaultencoding iin site.py is evil

2009-08-25 Thread exarkun
On 04:08 pm, ch...@simplistix.co.uk wrote: Hi All, Would anyone object if I removed the deletion of of sys.setdefaultencoding in site.py? I'm guessing "yes!" so thought I'd state my reasons now: This deletion appears to be pretty flimsy; reload(sys) and you have it back. Which is lucky, bec

Re: [Python-Dev] deleting setdefaultencoding iin site.py is evil

2009-08-27 Thread exarkun
On 26 Aug, 11:51 pm, ch...@simplistix.co.uk wrote: exar...@twistedmatrix.com wrote: The ability to change the default encoding is a misfeature. There's essentially no way to write correct Python code in the presence of this feature. How so? If every single piece of text in your project is en

Re: [Python-Dev] quick PEP 387 comments

2009-08-27 Thread exarkun
On 12:49 am, benja...@python.org wrote: I should probably mark that PEP as abandoned or deferred, since for various reasons, it seems like this is not what Python-dev feels is needed [1]. Re-reading that thread, I see some good discussion about how to improve the PEP, a little bit of misunders

Re: [Python-Dev] Fast Implementation for ZIP decryption

2009-08-30 Thread exarkun
On 12:59 pm, st...@pearwood.info wrote: On Sun, 30 Aug 2009 06:55:33 pm Martin v. L�wis wrote: > Does it sound worthy enough to create a patch for and integrate > into python itself? Probably not, given that people think that the algorithm itself is fairly useless. I would think that for most

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

2009-09-15 Thread exarkun
On 04:25 pm, eric.pru...@gmail.com wrote: I'm bumping this PEP again in hopes of getting some feedback. Thanks, Eric On Tue, Sep 8, 2009 at 23:52, Eric Pruitt wrote: PEP: 3145 Title: Asynchronous I/O For subprocess.Popen Author: (James) Eric Pruitt, Charles R. McCreary, Josiah Carlson Type:

Re: [Python-Dev] PEP 3144 review.

2009-09-16 Thread exarkun
On 11:10 am, ncogh...@gmail.com wrote: Steven D'Aprano wrote: I've been skimming emails in this thread, since most of them go over my head and I have no current need for an ipaddress module. But one thing I noticed stands out and needs commenting on: On Wed, 16 Sep 2009 11:05:26 am Peter Moody

Re: [Python-Dev] thinking about 2.7

2009-09-23 Thread exarkun
On 02:35 pm, benja...@python.org wrote: Hi everyone, I've started plotting the release of 2.7. I'd like to try for a final release mid next summer. 3.2 should be released, if not at the same time as 2.7, within a few weeks to avoid 2.x having features which 3.x doesn't. If no one has problems wit

Re: [Python-Dev] thinking about 2.7

2009-09-23 Thread exarkun
On 06:03 pm, br...@python.org wrote: On Wed, Sep 23, 2009 at 07:35, Benjamin Peterson wrote: [snip] Additionally, I'm very apprehensive about doing any kind of release without the buildbots running. Does anyone know when they might be up? I don't know the answer, but it might be "never". We

Re: [Python-Dev] thinking about 2.7

2009-09-24 Thread exarkun
On 24 Sep, 11:27 pm, mar...@v.loewis.de wrote: Additionally, I'm very apprehensive about doing any kind of release without the buildbots running. Does anyone know when they might be up? When I (or somebody else) contacts all the slave operators and asks them to restart the buildbot slaves.

Re: [Python-Dev] PEP 3144 review.

2009-09-28 Thread exarkun
On 03:57 am, mar...@v.loewis.de wrote: Finally, to Stephen's point about seeing the other side of the argument, I wrote this offlist a week ago: I *understand* what you're saying, I *understand* that 192.168.1.1/24 isn't a network, But you still want to treat it as one. Could you explain wh

Re: [Python-Dev] [New-bugs-announce] [issue7064] Python 2.6.3 / setuptools 0.6c9: extension module builds fail with KeyError

2009-10-09 Thread exarkun
On 5 Oct, 01:04 pm, ziade.ta...@gmail.com wrote: On Mon, Oct 5, 2009 at 2:50 PM, wrote:    Ned> Due to a change in distutils released with Python 2.6.3, packages    Ned> that use setuptools (version 0.6c9, as of this writing), or the � �Ned> easy_install command, to build C extension m

Re: [Python-Dev] Better module shutdown procedure

2009-10-14 Thread exarkun
On 08:16 pm, n...@arctrix.com wrote: The current shutdown code in pythonrun.c zaps module globals by setting them to None (an attempt to break reference cycles). That causes problems since __del__ methods can try to use the globals after they have been set to None. The procedure implemented by h

Re: [Python-Dev] nonlocal keyword in 2.x?

2009-10-22 Thread exarkun
On 08:24 pm, mar...@v.loewis.de wrote: Mike Krell wrote: Is there any possibility of backporting support for the nonlocal keyword into a 2.x release? If so, only into 2.7. Can you please explain why it would be desirable to do that? 2.7 will likely be the last 2.x release, so only a fairly s

Re: [Python-Dev] Possible language summit topic: buildbots

2009-10-25 Thread exarkun
On 12:16 pm, solip...@pitrou.net wrote: For a), I think we can solve this only by redundancy, i.e. create more build slaves, hoping that a sufficient number would be up at any point in time. We are already doing this, aren't we? http://www.python.org/dev/buildbot/3.x/ It doesn't seem to work

Re: [Python-Dev] Possible language summit topic: buildbots

2009-10-25 Thread exarkun
On 09:47 am, mar...@v.loewis.de wrote: Mark Dickinson wrote: Would it be worth spending some time discussing the buildbot situation at the PyCon 2010 language summit? In the past, I've found the buildbots to be an incredibly valuable resource; especially when working with aspects of Python or

Re: [Python-Dev] [TIP] Possible language summit topic: buildbots

2009-10-25 Thread exarkun
On 12:48 pm, c...@msu.edu wrote: [snip] The most *exciting* part of pony-build, apart from the always-riveting spectacle of "titus rediscovering problems that buildbot solved 5 years ago", is the loose coupling of recording server to the build slaves and build reporters. My plan is to enable

Re: [Python-Dev] Possible language summit topic: buildbots

2009-10-25 Thread exarkun
On 05:47 pm, p.f.mo...@gmail.com wrote: 2009/10/25 : Perhaps this is a significant portion of the problem.  Maintaining a build slave is remarkably simple and easy.  I maintain about half a dozen slaves and spend at most a few minutes a month operating them. Actually setting one up in the fir

Re: [Python-Dev] Possible language summit topic: buildbots

2009-10-25 Thread exarkun
On 06:32 pm, mar...@v.loewis.de wrote: I've been trying to get some feedback about firing up buildbots on Cloud Servers for a while now and haven't had much luck. I'd love to find a way of having buildbots come to life, report to the mother ship, do the build, then go away 'till next time

Re: [Python-Dev] Possible language summit topic: buildbots

2009-10-25 Thread exarkun
On 25 Oct, 09:36 pm, db3l@gmail.com wrote: I think the other issue most likely to cause a perceived "downtime" with the Windows build slave that I've had a handful of cases over the past two years where the build slave appears to be operating properly, but the master seems to just queue up j

Re: [Python-Dev] Possible language summit topic: buildbots

2009-10-25 Thread exarkun
On 01:28 am, db3l@gmail.com wrote: exar...@twistedmatrix.com writes: This sounds like something that should be reported upstream. Particularly if you know how to reproduce it. Has it been? No, largely because I can't reproduce it at all. It's happened maybe 4-5 times in the past 2 years

Re: [Python-Dev] Reworking the GIL

2009-10-26 Thread exarkun
On 04:18 pm, dan...@stutzbachenterprises.com wrote: On Mon, Oct 26, 2009 at 10:58 AM, Antoine Pitrou wrote: Er, I prefer to keep things simple. If you have lots of I/O you should probably use an event loop rather than separate threads. On Windows, sometimes using a single-threaded event loop i

Re: [Python-Dev] "Buildbot" category on the tracker

2009-10-29 Thread exarkun
On 02:30 pm, solip...@pitrou.net wrote: Hello, What do you think of creating a "buildbot" category in the tracker? There are often problems on specific buildbots which would be nice to track, but there's nowhere to do so. Is your idea that this would be for tracking issues with the *bots*

Re: [Python-Dev] "Buildbot" category on the tracker

2009-10-29 Thread exarkun
On 29 Oct, 11:41 pm, jnol...@gmail.com wrote: On Thu, Oct 29, 2009 at 7:04 PM, wrote: On 02:30 pm, solip...@pitrou.net wrote: Hello, What do you think of creating a "buildbot" category in the tracker? There are often problems on specific buildbots which would be nice to track, but there

Re: [Python-Dev] "Buildbot" category on the tracker

2009-10-30 Thread exarkun
On 12:55 pm, jnol...@gmail.com wrote: On Fri, Oct 30, 2009 at 4:53 AM, "Martin v. Löwis" wrote: I'm confused: first you said they fail, now you say they get skipped. Which one is it? I agree with R. David's analysis: if they fail, it's a multiprocessing bug, if they get skipped, it's a flaw in

[Python-Dev] Cloud build slaves (was Re: Possible language summit topic: buildbots)

2009-10-30 Thread exarkun
On 04:31 pm, c...@msu.edu wrote: On Fri, Oct 30, 2009 at 04:21:06PM +, Antoine Pitrou wrote: Hello, Sorry for the little redundancy, I would like to underline Jean-Paul's suggestion here: Le Sun, 25 Oct 2009 14:05:12 +0000, exarkun a ??crit??: > I think that money can help in two

Re: [Python-Dev] [TIP] Possible language summit topic: buildbots

2009-10-30 Thread exarkun
On 04:42 pm, ole...@gmail.com wrote: On Sun, Oct 25, 2009 at 9:13 AM, wrote: On 12:48 pm, c...@msu.edu wrote: [snip] The most *exciting* part of pony-build, apart from the always- riveting spectacle of "titus rediscovering problems that buildbot solved 5 years ago", is the loose coupling

Re: [Python-Dev] EC2 buildslaves

2009-11-01 Thread exarkun
On 31 Oct, 08:13 pm, solip...@pitrou.net wrote: Martin v. L�wis v.loewis.de> writes: Not sure whether it's still relevant after the offers of individually donated hardware. We'll see, indeed. However, if you want to look into this, feel free to set up EC2 slaves. I only know to setup main

Re: [Python-Dev] PEP 3003 - Python Language Moratorium

2009-11-05 Thread exarkun
On 5 Nov, 11:55 pm, bobbyrw...@gmail.com wrote: What exactly are those better ways? Document as deprecated only? -Brett A switch to ENABLE those warnings? Lord knows I'm sick of filtering them out of logs. A switch to enable deprecation warnings would give developers a chance to see them w

Re: [Python-Dev] PEP 3003 - Python Language Moratorium

2009-11-07 Thread exarkun
On 12:10 pm, s...@pobox.com wrote: Guido> ... it's IMO pretty mysterious if you encounter this and don't Guido> already happen to know what it means. If you require parens maybe it parses better: import (a or b or c) as mod Given that the or operator shortcuts I think that (a or b or

Re: [Python-Dev] PyPI comments and ratings, *really*?

2009-11-12 Thread exarkun
On 09:44 am, lud...@lericson.se wrote: Why are there comments on PyPI? Moreso, why are there comments which I cannot control as a package author on my very own packages? That's just absurd. It's *my* package, and so should be *my* choice if I want user input or not. And ratings? I thought i

Re: [Python-Dev] PyPI comments and ratings, *really*?

2009-11-12 Thread exarkun
On 03:01 pm, dalc...@gmail.com wrote: On Thu, Nov 12, 2009 at 12:32 PM, Jesse Noller wrote: On Thu, Nov 12, 2009 at 9:25 AM, Barry Warsaw wrote: On Nov 12, 2009, at 8:06 AM, Jesse Noller wrote: Frankly, I agree with him. As implemented, I *and others* think this is broken. I've taken the sta

Re: [Python-Dev] Unittest/doctest formatting differences in 2.7a1?

2009-12-09 Thread exarkun
On 05:11 pm, lrege...@jarn.com wrote: On Wed, Dec 9, 2009 at 17:34, Michael Foord wrote: Can you be more specific? Only with an insane amount of work. I'll hold that off for a while. I don't know if this is related at all (and I guess we won't until Lennart can be more specific :), but her

Re: [Python-Dev] Unittest/doctest formatting differences in 2.7a1?

2009-12-11 Thread exarkun
On 9 Dec, 06:09 pm, fuzzy...@voidspace.org.uk wrote: On 09/12/2009 18:02, exar...@twistedmatrix.com wrote: On 05:11 pm, lrege...@jarn.com wrote: On Wed, Dec 9, 2009 at 17:34, Michael Foord wrote: Can you be more specific? Only with an insane amount of work. I'll hold that off for a while.

Re: [Python-Dev] [RELEASED] Python 2.7 alpha 2

2010-01-12 Thread exarkun
On 12 Jan, 10:04 pm, mar...@v.loewis.de wrote: [...] I've done a fair bit of 3.x porting, and I'm firmly convinced that 2.x can do nothing: [...] Inherently, 2.8 can't improve on that. I agree that there are limitations like the ones you've listed, but I disagree with your conclusion. Maybe

Re: [Python-Dev] PEP 3146: Merge Unladen Swallow into CPython

2010-01-29 Thread exarkun
On 10:47 pm, tjre...@udel.edu wrote: On 1/29/2010 4:19 PM, Collin Winter wrote: On Fri, Jan 29, 2010 at 7:22 AM, Nick Coghlan wrote: Agreed. We originally switched Unladen Swallow to wordcode in our 2009Q1 release, and saw a performance improvement from this across the board. We switched back

Re: [Python-Dev] PEP 3146: Merge Unladen Swallow into CPython

2010-01-29 Thread exarkun
On 10:55 pm, collinwin...@google.com wrote: That people are directly munging CPython bytecode means that CPython should provide a better, more abstract way to do the same thing that's more resistant to these kinds of changes. Yes, definitely! Requesting a supported way to do the kind of intr

Re: [Python-Dev] The fate of the -U option

2010-02-03 Thread exarkun
On 02:52 pm, m...@egenix.com wrote: Note that in Python 2.7 you can use from __future__ import unicode_literals on a per module basis to achieve much the same effect. In Python 2.6 as well. Jean-Paul ___ Python-Dev mailing list Python-Dev@

Re: [Python-Dev] The fate of the -U option

2010-02-03 Thread exarkun
On 03:21 pm, m...@egenix.com wrote: exar...@twistedmatrix.com wrote: On 02:52 pm, m...@egenix.com wrote: Note that in Python 2.7 you can use from __future__ import unicode_literals on a per module basis to achieve much the same effect. In Python 2.6 as well. Right, but there are

Re: [Python-Dev] Forking and Multithreading - enemy brothers

2010-02-04 Thread exarkun
On 04:58 pm, jaeda...@gmail.com wrote: Jesse Noller gmail.com> writes: We already have an implementation that spawns a subprocess and then pushes the required state to the child. The fundamental need for things to be pickleable *all the time* kinda makes it annoying to work with. This require

Re: [Python-Dev] IO module improvements

2010-02-05 Thread exarkun
On 03:57 pm, gu...@python.org wrote: On Fri, Feb 5, 2010 at 5:28 AM, Antoine Pitrou wrote: Pascal Chambon gmail.com> writes: By the way, I'm having trouble with the "name" attribute of raw files, which can be string or integer (confusing), ambiguous if containing a relative path, Why is

Re: [Python-Dev] PEP 3147: PYC Repository Directories

2010-02-06 Thread exarkun
On 08:21 pm, ba...@python.org wrote: On Feb 03, 2010, at 01:17 PM, Guido van Rossum wrote: Can you clarify? In Python 3, __file__ always points to the source. Clearly that is the way of the future. For 99.99% of uses of __file__, if it suddenly never pointed to a .pyc file any more (even if one

Re: [Python-Dev] __file__ is not always an absolute path

2010-02-06 Thread exarkun
On 10:29 pm, gu...@python.org wrote: On Sat, Feb 6, 2010 at 12:49 PM, Ezio Melotti wrote: In #7712 I was trying to change regrtest to always run the tests in a temporary CWD (e.g. /tmp/@test_1234_cwd/). The patches attached to the issue add a context manager that changes the CWD, and it works

Re: [Python-Dev] __file__ is not always an absolute path

2010-02-06 Thread exarkun
On 6 Feb, 11:53 pm, gu...@python.org wrote: On Sat, Feb 6, 2010 at 3:22 PM, wrote: On 10:29 pm, gu...@python.org wrote: [snip] I haven't tried to repro this particular example, but the reason is that we don't want to have to call getpwd() on every import nor do we want to have some kind of

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-09 Thread exarkun
On 10:42 pm, fuzzy...@voidspace.org.uk wrote: On 09/02/2010 21:57, Ben Finney wrote: Michael Foord writes: The next 'big' change to unittest will (may?) be the introduction of class and module level setUp and tearDown. This was discussed on Python-ideas and Guido supported them. They can be us

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-11 Thread exarkun
On 02:41 pm, ole...@gmail.com wrote: On Thu, Feb 11, 2010 at 7:41 AM, Michael Foord wrote: On 11/02/2010 12:30, Nick Coghlan wrote: Michael Foord wrote: I'm not sure what response I expect from this email, and neither option will be implemented without further discussion - possibly at the

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-11 Thread exarkun
On 10 Feb, 02:47 pm, ole...@gmail.com wrote: On Tue, Feb 9, 2010 at 6:15 PM, wrote: For what it's worth, we just finished *removing* support for setUpClass and tearDownClass from Trial. Ok ... but why ? Are they considered dangerous for modern societies ? Several reasons: - Over the m

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-11 Thread exarkun
On 04:18 pm, tsea...@palladion.com wrote: Just as a point of reference: zope.testing[1] has a "layer" feature which is used to support this usecase: a layer is a class namedd as an attribute of a testcase, e.g.: class FunctionalLayer: @classmethod def setUp(klass): """ Do som

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-12 Thread exarkun
On 07:48 pm, gu...@python.org wrote: On Fri, Feb 12, 2010 at 7:49 AM, Michael Foord wrote: My *hope* is that we provide a general solution, possibly based on all or part of Test Resources, with an easy mechanism for the setUpClass and setUpModule but also solves the more general case of sharin

Re: [Python-Dev] setUpClass and setUpModule in unittest

2010-02-12 Thread exarkun
On 08:27 pm, gu...@python.org wrote: On Fri, Feb 12, 2010 at 12:20 PM, wrote: The idea is that you're declaring what the tests need in order to work. You're not explicitly defining the order in which things are set up and torn down. �That is left up to another part of the library to determin

Re: [Python-Dev] Add UTC to 2.7 (PyCon sprint idea)

2010-02-16 Thread exarkun
On 03:43 pm, dirk...@ochtman.nl wrote: On Tue, Feb 16, 2010 at 16:26, Tres Seaver wrote: Because timezones are defined politically, they change frequently. pytz is released frequently (multiple times per year) to accomodate those changes: �I can't see any way to preserve that flexibility if th

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-05 Thread exarkun
On 05:06 pm, c...@hagenlocher.org wrote: On Fri, Mar 5, 2010 at 8:35 AM, Jesse Noller wrote: On Fri, Mar 5, 2010 at 11:21 AM, Daniel Stutzbach wrote: > On Fri, Mar 5, 2010 at 12:03 AM, Brian Quinlan wrote: >> >> import futures > > +1 on the idea, -1 on the name.  It's too similar to "from

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-05 Thread exarkun
On 07:10 pm, gu...@python.org wrote: On Fri, Mar 5, 2010 at 10:30 AM, wrote: On 05:06 pm, c...@hagenlocher.org wrote: On Fri, Mar 5, 2010 at 8:35 AM, Jesse Noller wrote: On Fri, Mar 5, 2010 at 11:21 AM, Daniel Stutzbach wrote: > On Fri, Mar 5, 2010 at 12:03 AM, Brian Quinlan > wrote:

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-06 Thread exarkun
On 02:10 am, br...@sweetapp.com wrote: On 7 Mar 2010, at 03:04, Phillip J. Eby wrote: At 05:32 AM 3/6/2010, Brian Quinlan wrote: Using twisted (or any other asynchronous I/O framework) forces you to rewrite your I/O code. Futures do not. Twisted's "Deferred" API has nothing to do with I/O.

Re: [Python-Dev] [PEP 3148] futures - execute computations asynchronously

2010-03-08 Thread exarkun
On 08:56 pm, digitalx...@gmail.com wrote: On Mon, Mar 8, 2010 at 12:04 PM, Dj Gilcrease wrote: A style I have used in my own code in the past is a Singleton class with register and create methods, where the register takes a name(string) and the class and the create method takes the name and *ar

Re: [Python-Dev] ffi junk messages

2010-04-07 Thread exarkun
of sysv.S? Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python- dev/exarkun

Re: [Python-Dev] Getting an optional parameter instead of creating a socket internally (was: Re: stdlib socket usage and " keepalive" )

2010-04-12 Thread exarkun
On 12 Apr, 11:19 pm, j...@jcea.es wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/2010 12:47 AM, Antoine Pitrou wrote: Jesus Cea jcea.es> writes: PS: "socket.setdefaulttimeout()" is not enough, because it could shutdown a perfectly functional connection, just because it was idl

Re: [Python-Dev] MSDN licenses available for python-dev

2010-04-18 Thread exarkun
On 02:56 pm, techto...@gmail.com wrote: Twisted folks will surely appreciate any help and may be able to contribute back. http://twistedmatrix.com/trac/wiki/Windows Extra Windows and VS licenses would certainly be helpful for Twisted development, and might lead indirectly to CPython/Windows im

Re: [Python-Dev] Enhanced tracker privileges for dangerjim to do triage.

2010-04-25 Thread exarkun
On 09:39 pm, solip...@pitrou.net wrote: pobox.com> writes: Sean> However, I will step up for him and say that I've known him a Sean> decade, and he's very trustworthy. He has been the president (we Sean> call that position Maximum Leader) of our Linux Users Group here Sea

Re: [Python-Dev] Enhanced tracker privileges for dangerjim to do triage.

2010-04-25 Thread exarkun
On 25 Apr, 11:18 pm, st...@holdenweb.com wrote: Tres Seaver wrote: Antoine Pitrou wrote: pobox.com> writes: Sean> However, I will step up for him and say that I've known him a Sean> decade, and he's very trustworthy. He has been the president (we Sean> call that position Maximum

Re: [Python-Dev] Anyone can do patch reviews (was: Enhanced tracker privileges...)

2010-04-27 Thread exarkun
On 01:38 pm, rdmur...@bitdance.com wrote: On Tue, 27 Apr 2010 11:15:49 +1000, Steven D'Aprano wrote: No, of course not. There are always other reasons, the biggest is too many things to do and not enough time to do it. If I did review patches, would they be accepted on the strength on my untrus

[Python-Dev] Parallel test execution on buildbot

2010-05-08 Thread exarkun
Hi all, Has anyone considered using regrtest's -j option in the buildbot configuration to speed up the test runs? Antoine Pitrou pointed out that even for single CPU slaves, this could be a win due to the number of tests that spend time sleeping or waiting on I/O. And on slaves with multipl

Re: [Python-Dev] configuring the buildbot to skip some tests?

2010-05-13 Thread exarkun
On 03:17 am, jans...@parc.com wrote: I've got parc-tiger-1 up and running again. It's failing on test_tk, which makes sense, because it's running as a background twisted process, and thus can't access the window server. I should configure that out. You can run it in an xvfb. Jean-Paul

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread exarkun
On 05:48 pm, solip...@pitrou.net wrote: Hello, The buildbots are sometimes subject to a flood of "svn exception" errors. It has been conjectured that these errors are caused by Web crawlers pressing "force build" buttons without filling any of the fields (of course, the fact that we get such ug

Re: [Python-Dev] robots exclusion file on the buildbot pages?

2010-05-15 Thread exarkun
On 08:32 pm, mar...@v.loewis.de wrote: I'd find it useful if the "branch" field was a choice pull-down listing valid branches, rather than a plain text field, and if the "revision" field always defaulted to "HEAD". Seems to me that since the form is coming from the buildmaster, that should be p

Re: [Python-Dev] ssl

2010-06-05 Thread exarkun
On 08:34 am, krist...@ccpgames.com wrote: Hello there. I wanted to do some work on the ssl module, but I was a bit daunted at the prerequisites. Is there anywhere that I can get at precompiled libs for the openssl that we use? In general, gettin all those "external" projects seem to be complex

Re: [Python-Dev] Python Library Support in 3.x (Was: email package status in 3.X)

2010-06-19 Thread exarkun
On 10:59 am, arcri...@gmail.com wrote: You mean Twisted support, because library support is at the point where there are fewer actively maintained packages not yet ported than those which are. Of course if your Python experience is hyper-focused to one framework that isn't ported yet, it will

Re: [Python-Dev] Python Library Support in 3.x (Was: email package status in 3.X)

2010-06-19 Thread exarkun
On 01:09 pm, arcri...@gmail.com wrote: [snip] It is not "critical self-evaluation" to repeat "Python 3 is not ready" as litany in #Python and your supporting website. I use the word "litany" here because #Python refers users to what appears to be a religious website http://python-commandments

Re: [Python-Dev] OS X buildbots: why am I skipping these tests?

2010-06-30 Thread exarkun
On 05:24 am, mar...@v.loewis.de wrote: Seems to work fine. So this I don't understand. Any ideas, anyone? Didn't we discuss this before? The buildbot slave has no controlling terminal anymore, hence it cannot open /dev/tty. If you are curious, just patch your checkout to output the exact errn

Re: [Python-Dev] OS X buildbots: why am I skipping these tests?

2010-06-30 Thread exarkun
On 04:44 pm, solip...@pitrou.net wrote: On Wed, 30 Jun 2010 09:00:09 PDT Bill Janssen wrote: So, my question then is, why are these skips "unexpected"? Seems to me that if this is the case, this test will never run on any platform. You can change the value of the "usepty" option in your

Re: [Python-Dev] OS X buildbots: why am I skipping these tests?

2010-06-30 Thread exarkun
On 04:26 pm, jans...@parc.com wrote: exar...@twistedmatrix.com wrote: Could the test be rewritten (or supplemented) to use a pty? Most or perhaps all of the same operations should be supported. Buildbot seems to be explicitly not using a PTY. From the the top of the test output: make buildb

Re: [Python-Dev] OS X buildbots: why am I skipping these tests?

2010-06-30 Thread exarkun
On 05:29 pm, mar...@v.loewis.de wrote: Am 30.06.2010 13:32, schrieb exar...@twistedmatrix.com: On 05:24 am, mar...@v.loewis.de wrote: Seems to work fine. So this I don't understand. Any ideas, anyone? Didn't we discuss this before? The buildbot slave has no controlling terminal anymore, hen

Re: [Python-Dev] OS X buildbots: why am I skipping these tests?

2010-06-30 Thread exarkun
On 06:46 pm, exar...@twistedmatrix.com wrote: On 04:44 pm, solip...@pitrou.net wrote: On Wed, 30 Jun 2010 09:00:09 PDT Bill Janssen wrote: So, my question then is, why are these skips "unexpected"? Seems to me that if this is the case, this test will never run on any platform. You can c

Re: [Python-Dev] Getting an optional parameter instead of creating a socket internally

2010-07-11 Thread exarkun
On 03:11 pm, j...@jcea.es wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/04/10 04:03, exar...@twistedmatrix.com wrote: On 12 Apr, 11:19 pm, j...@jcea.es wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/13/2010 12:47 AM, Antoine Pitrou wrote: Jesus Cea jcea.es> writes:

Re: [Python-Dev] Getting an optional parameter instead of creating a socket internally

2010-07-12 Thread exarkun
On 12:30 pm, thebra...@brasse.org wrote: On Sun, Jul 11, 2010 at 9:06 PM, wrote: It's still little more than an outline. You can see it here: http://twistedmatrix.com/trac/wiki/ProtocolPEP And if you're interested in helping, we can figure out a way to do that (you can have edit permissi

Re: [Python-Dev] EINVAL

2010-07-22 Thread exarkun
On 10:33 am, solip...@pitrou.net wrote: On Thu, 22 Jul 2010 17:50:00 +0900 "Stephen J. Turnbull" wrote: I think that's Antoine's PEP 3151. Interestingly, he doesn't mention EINVAL at all. http://www.python.org/dev/peps/pep-3151/ That's right. It is based on a survey of existing exception-c

Re: [Python-Dev] PEP 376 proposed changes for basic plugins support

2010-08-02 Thread exarkun
On 12:21 pm, m...@egenix.com wrote: Tarek Ziad� wrote: On Mon, Aug 2, 2010 at 3:06 AM, P.J. Eby wrote: .. So without specific examples of why this is a problem, it's hard to see why a special Python-specific set of configuration files is needed to resolve it, vs. say, encouraging applicat

Re: [Python-Dev] PEP 376 proposed changes for basic plugins support

2010-08-02 Thread exarkun
On 01:27 pm, m...@egenix.com wrote: exar...@twistedmatrix.com wrote: On 12:21 pm, m...@egenix.com wrote: See Zope for an example of how well this simply mechanism works out in practice: it simply scans the "Products" namespace for sub-packages and then loads each sub-package it finds to hav

Re: [Python-Dev] PEP 376 proposed changes for basic plugins support

2010-08-02 Thread exarkun
On 03:08 pm, mer...@netwok.org wrote: Le 02/08/2010 14:31, exar...@twistedmatrix.com a �crit : On 12:21 pm, m...@egenix.com wrote: Do we really need to make Python packaging even more complicated by adding support for application-specific plugin mechanisms ? Packages can already work as applic

Re: [Python-Dev] Looking after the buildbots (in general)

2010-08-04 Thread exarkun
On 02:51 pm, ba...@python.org wrote: On Aug 04, 2010, at 11:16 AM, Antoine Pitrou wrote: I think the issue is that many core developers don't have the reflex to check buildbot state after they commit some changes (or at least on a regular, say weekly, basis), and so gradually the buildbots have

Re: [Python-Dev] Looking after the buildbots (in general)

2010-08-04 Thread exarkun
On 03:17 pm, fuzzy...@voidspace.org.uk wrote: On 04/08/2010 16:15, exar...@twistedmatrix.com wrote: On 02:51 pm, ba...@python.org wrote: On Aug 04, 2010, at 11:16 AM, Antoine Pitrou wrote: I think the issue is that many core developers don't have the reflex to check buildbot state after they c

Re: [Python-Dev] Looking after the buildbots (in general)

2010-08-04 Thread exarkun
On 03:31 pm, ba...@python.org wrote: On Aug 04, 2010, at 03:15 PM, exar...@twistedmatrix.com wrote: On 02:51 pm, ba...@python.org wrote: On Aug 04, 2010, at 11:16 AM, Antoine Pitrou wrote: I think the issue is that many core developers don't have the reflex to check buildbot state after they c

Re: [Python-Dev] Looking after the buildbots (in general)

2010-08-04 Thread exarkun
On 03:53 pm, g.bra...@gmx.net wrote: Am 04.08.2010 17:15, schrieb exar...@twistedmatrix.com: On 02:51 pm, ba...@python.org wrote: On Aug 04, 2010, at 11:16 AM, Antoine Pitrou wrote: I think the issue is that many core developers don't have the reflex to check buildbot state after they commit s

Re: [Python-Dev] Internal counter to debug leaking file descriptors

2010-08-31 Thread exarkun
On 05:22 pm, gl...@twistedmatrix.com wrote: On Aug 31, 2010, at 10:03 AM, Guido van Rossum wrote: On Linux you can look somewhere in /proc, but I don't know that it would help you find where a file was opened. "/dev/fd" is actually a somewhat portable way of getting this information. I don'

Re: [Python-Dev] Volunteer help with porting

2010-09-07 Thread exarkun
On 01:33 pm, p...@phd.pp.ru wrote: Hello. Thank you for the offer! On Tue, Sep 07, 2010 at 06:36:10PM +0530, Prashant Kumar wrote: My name is Prashant Kumar and I wish to contribute to the Python development process by helping convert certain existing python over to python3k. Is there anyway

Re: [Python-Dev] Volunteer help with porting

2010-09-07 Thread exarkun
On 02:34 pm, p...@phd.pp.ru wrote: On Tue, Sep 07, 2010 at 02:02:59PM -, exar...@twistedmatrix.com wrote: On 01:33 pm, p...@phd.pp.ru wrote: As there is already Python 3.2 alpha, the core of Python has already been ported How about the email package? What about email? It is a core

Re: [Python-Dev] Atlassian and bitbucket merge

2010-09-29 Thread exarkun
On 01:13 am, st...@holdenweb.com wrote: I see that Atlassian have just taken over BitBucket, the Mercurial hosting company. IIRC Atlassian offered to host our issue tracking on JIRA, but in the end we decided to eat our own dog food and went with roundup. I'm wondering if they'd be similarly int

Re: [Python-Dev] We should be using a tool for code reviews

2010-09-30 Thread exarkun
On 02:47 pm, jnol...@gmail.com wrote: On Wed, Sep 29, 2010 at 2:32 PM, Guido van Rossum wrote: I would like to recommend that the Python core developers start using a code review tool such as Rietveld or Reviewboard. I don't really care which tool we use (I'm sure there are plenty of pros and c

Re: [Python-Dev] Support for async read/write

2010-10-19 Thread exarkun
On 04:50 pm, j...@jcea.es wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Current Python lacks support for "aio_*" syscalls to do async IO. I think this could be a nice addition for python 3.3. Adding more platform wrappers is always nice. Keep in mind that the quality of most (all?) ai

Re: [Python-Dev] Support for async read/write

2010-10-19 Thread exarkun
On 01:37 am, gl...@twistedmatrix.com wrote: On Oct 19, 2010, at 8:09 PM, James Y Knight wrote: There's a difference. os._exit is useful. os.open is useful. aio_* are *not* useful. For anything. If there's anything you think you want to use them for, you're wrong. It either won't work properl

Re: [Python-Dev] SVN rev. 85392 broke module handling in py3k

2010-10-22 Thread exarkun
On 02:13 pm, stefan...@behnel.de wrote: Benjamin Peterson, 22.10.2010 16:03: 2010/10/22 Stefan Behnel: since SVN rev. 85392, Cython's installation fails on the py3k branch with a weird globals error. I think it is related to some sys.modules magic that we do in order to support running Cython

Re: [Python-Dev] Issue 10194 - Adding a gc.remap() function

2010-10-26 Thread exarkun
On 08:28 pm, pinge...@yahoo.com wrote: --- On Tue, 10/26/10, "Martin v. L�wis" wrote: I think this then mandates a PEP; I'm -1 on the feature also. I am happy to write up a PEP for this feature. I'll start that process now, though if anyone feels that this idea has no chance of acceptance pl

Re: [Python-Dev] Issue 10194 - Adding a gc.remap() function

2010-10-27 Thread exarkun
http://mail.python.org/mailman/options/python- dev/exarkun%40twistedmatrix.com ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] MemoryError... how much memory?

2010-10-27 Thread exarkun
On 07:09 pm, facundobati...@gmail.com wrote: On Wed, Oct 27, 2010 at 12:05 PM, Benjamin Peterson wrote: Isn't this usually when you do something like [None]*2**300? In that case, wouldn't you know how much memory you're requesting? It could happen on any malloc. It depends on how much you hav

Re: [Python-Dev] Continuing 2.x

2010-10-28 Thread exarkun
On 04:04 pm, ba...@python.org wrote: I'd *much* rather this enthusiasm be spent on making Python 3 rock, and in porting third party code to Python 3. Enthusiasm isn't fungible. Jean-Paul ___ Python-Dev mailing list Python-Dev@python.org http://mai

Re: [Python-Dev] Continuing 2.x

2010-10-29 Thread exarkun
On 02:51 am, br...@python.org wrote: 2010/10/28 Kristj�n Valur J�nsson : Hi all. This has been a lively discussion. My desire to keep 2.x alive in some sense is my own and I don't know if anyone shares it but as a member of this community I think I'm allowed to voice it.  So, just to clari

Re: [Python-Dev] Cleaning-up the new unittest API

2010-11-02 Thread exarkun
On 04:29 pm, fuzzy...@voidspace.org.uk wrote: On 02/11/2010 16:23, Terry Reedy wrote: On 11/2/2010 10:05 AM, C. Titus Brown wrote: ...but, as someone who has to figure out how to teach stuff to CSE undergrads (and biology grads) I hate the statement "...any programmer should expect this..."

Re: [Python-Dev] On breaking modules into packages Was: [issue10199] Move Demo/turtle under Lib/

2010-11-02 Thread exarkun
On 12:47 am, ben+pyt...@benfinney.id.au wrote: Antoine Pitrou writes: I don't agree with this. Until it's documented, it's an implementation detail and should be able to change without notice. If it's an implementation detail, shouldn't it be named as one (i.e. with a leading underscore)? If

Re: [Python-Dev] Pickle alternative in stdlib (Was: On breaking modules into packages)

2010-11-04 Thread exarkun
On 06:28 am, techto...@gmail.com wrote: On Wed, Nov 3, 2010 at 9:08 PM, Glyph Lefkowitz wrote: This is the strongest reason why I recommend to everyone I know that they not use pickle for storage they'd like to keep working after upgrades [not just of stdlib, but other 3rd party software or

Re: [Python-Dev] Pickle alternative in stdlib (Was: On breaking modules into packages)

2010-11-04 Thread exarkun
On 12:21 am, m...@gsites.de wrote: Am 04.11.2010 17:15, schrieb anatoly techtonik: > pickle is insecure, marshal too. If the transport or storage layer is not save, you should cryptographically sign the data anyway:: def pickle_encode(data, key): msg = base64.b64encode(pickle.dump

Re: [Python-Dev] Snakebite, buildbot and low hanging fruit -- feedback wanted! (Was Re: SSH access against buildbot boxes)

2010-11-07 Thread exarkun
nstruct from <http://twistedmatrix.com/trac/browser/sandbox/exarkun/force- builds.py> (which is what the Twisted project uses). Plus, you can add ?branch= to most BuildBot views to limit display of results to just builds for the named branch. Titus, for example, alluded to some nifty way

  1   2   >