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,

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

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] Deprecation policy

2011-11-28 Thread exarkun
On 12:14 pm, st...@pearwood.info wrote: Xavier Morel wrote: Not being too eager to kill APIs is good, but giving rise to this kind of living-dead APIs is no better in my opinion, even more so since Python has lost one of the few tools it had to manage them (as DeprecationWarning was silenced

Re: [Python-Dev] readd u'' literal support in 3.3?

2011-12-13 Thread exarkun
On 09:37 pm, tjre...@udel.edu wrote: On 12/13/2011 10:54 AM, Vinay Sajip wrote: I started writing a tool today, tentatively called '2to23', which aims to do this. It's basically 2to3, but with a package of custom fixers in a package 'lib2to23.fixers' adapted from the corresponding fixers in

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

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 jans...@parc.com 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

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

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,

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 jans...@parc.com 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

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 at jcea.es

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, exar...@twistedmatrix.com 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

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 step...@xemacs.org 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

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 p...@telecommunity.com 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.

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 have

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

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

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

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

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't

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

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 gu...@python.org 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

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?)

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

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

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 mar...@v.loewis.de 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

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

2010-10-27 Thread exarkun
Unsubscribe: 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

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 benja...@python.org 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

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

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 krist...@ccpgames.com: 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

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 solip...@pitrou.net 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

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 gl...@twistedmatrix.com 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

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 =

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

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

Re: [Python-Dev] Backward incompatible API changes in the pydoc module

2010-11-08 Thread exarkun
On 11:44 am, ncogh...@gmail.com wrote: All, I was about to commit the patch for issue 2001 (the improvements to the pydoc web server and the removal of the Tk GUI) when I realised that pydoc.serve() and pydoc.gui() are technically public standard library APIs (albeit undocumented ones).

Re: [Python-Dev] Buildbot for AIX

2010-11-08 Thread exarkun
On 05:50 pm, solip...@pitrou.net wrote: Le lundi 08 novembre 2010 � 18:46 +0100, S�bastien Sabl� a �crit : xlc: 1501-216 (W) command option - -qmaxmem=18000 is not recognized - passed to ld Is -qmaxmem really necessary to build Python? If so, you could try passing it in CFLAGS. However

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread exarkun
On 07:58 pm, br...@python.org wrote: I don't think a strict don't remove without deprecation policy is workable. �For example, is trace.rx_blank constant part of the trace module API that needs to be preserved indefinitely? �I don't even know if it is possible to add a deprecation warning to it,

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread exarkun
On 09:25 pm, br...@python.org wrote: On Mon, Nov 8, 2010 at 13:03, exar...@twistedmatrix.com wrote: On 07:58 pm, br...@python.org wrote: I don't think a strict don't remove without deprecation policy is workable. �For example, is trace.rx_blank constant part of the trace module API that

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread exarkun
On 09:57 pm, br...@python.org wrote: On Mon, Nov 8, 2010 at 13:45, exar...@twistedmatrix.com wrote: On 09:25 pm, br...@python.org wrote: On Mon, Nov 8, 2010 at 13:03, �exar...@twistedmatrix.com wrote: On 07:58 pm, br...@python.org wrote: I don't think a strict don't remove without

Re: [Python-Dev] Breaking undocumented API

2010-11-08 Thread exarkun
On 12:50 am, gu...@python.org wrote: On Mon, Nov 8, 2010 at 3:55 PM, Glyph Lefkowitz gl...@twistedmatrix.com wrote: This seems like a pretty clear case of practicality beats purity. Not only has nobody complained about deprecatedModuleAttribute, but there are tons of things which show up in

Re: [Python-Dev] Breaking undocumented API

2010-11-09 Thread exarkun
On 11:53 am, solip...@pitrou.net wrote: On Tue, 09 Nov 2010 02:03:23 - exar...@twistedmatrix.com wrote: I wonder if there are any actual technical arguments to be made against something like `deprecatedModuleAttribute`? For example, does it work well with import hacks such as

Re: [Python-Dev] Breaking undocumented API

2010-11-16 Thread exarkun
On 03:48 pm, gu...@python.org wrote: On Tue, Nov 16, 2010 at 7:16 AM, Alexander Belopolsky alexander.belopol...@gmail.com wrote: What this thread has shown is that there is no consensus on what public names are and what rules should be followed when changing names that can be imported from a

Re: [Python-Dev] Breaking undocumented API

2010-11-16 Thread exarkun
On 05:21 pm, fuzzy...@voidspace.org.uk wrote: On 16/11/2010 17:16, 1ukasz Langa wrote: Am 16.11.2010 18:06, schrieb Antoine Pitrou: On Tue, 16 Nov 2010 16:34:54 - exar...@twistedmatrix.com wrote: Imagine trying to use a dictionary without knowing about alphabetical ordering. You mean

Re: [Python-Dev] [Python-checkins] r86633 - in python/branches/py3k: Doc/library/inspect.rst Doc/whatsnew/3.2.rst Lib/inspect.py Lib/test/test_inspect.py Misc/NEWS

2010-11-22 Thread exarkun
. ___ 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%40twistedmatrix.com ___ Python-Dev mailing list Python-Dev

Re: [Python-Dev] OpenSSL Voluntarily (openssl-1.0.0a)

2010-11-24 Thread exarkun
On 08:02 am, solip...@pitrou.net wrote: Le mardi 23 novembre 2010 � 20:56 -0500, Glyph Lefkowitz a �crit : On Nov 23, 2010, at 9:02 AM, Antoine Pitrou wrote: On Tue, 23 Nov 2010 00:07:09 -0500 Glyph Lefkowitz gl...@twistedmatrix.com wrote: On Mon, Nov 22, 2010 at 11:13 PM, Hirokazu Yamamoto

Re: [Python-Dev] OpenSSL Vulnerability (openssl-1.0.0a)

2010-11-24 Thread exarkun
On 03:11 pm, solip...@pitrou.net wrote: On Wed, 24 Nov 2010 15:01:06 - exar...@twistedmatrix.com wrote: If I believe the link above: 1CAny OpenSSL based TLS server is vulnerable if it is multi-threaded and uses OpenSSL's internal caching mechanism. Servers that are multi-process and/or

Re: [Python-Dev] Multiprocessing module - Synergeticprocessing (my custom module) - Pickling unPickling issues

2010-12-16 Thread exarkun
On 02:00 pm, solip...@pitrou.net wrote: On Thu, 16 Dec 2010 15:52:19 +0200 Dimitrios Pritsos dprit...@extremepro.gr wrote: Hello Michael, OK I will do sent it to the bug tracker. But what about the last issue i.e. that even if the class is transfered-and-pickled-unpickled it raises an

Re: [Python-Dev] Remove HTTP 0.9 support

2010-12-16 Thread exarkun
On 05:02 pm, solip...@pitrou.net wrote: On Fri, 17 Dec 2010 00:52:14 +0800 Senthil Kumaran orsent...@gmail.com wrote: Actually, it is turning out to be true: http://ftp.ics.uci.edu/pub/ietf/http/rfc1945.html#Response According to HTTP 1.0, When a request is Simple-Request, it means a VERB URL

Re: [Python-Dev] Fault handler updated, now disabled by default

2010-12-26 Thread exarkun
On 25 Dec, 10:31 pm, mer...@netwok.org wrote: faulthandler is a module: enable the handler is simple as import faulthandler. That sounds like a source of unwanted behavior (aka problems) if the handler is enabled by 1Cpydoc faulthandler 1D or by a pkgutil walk. You may want to consider using

Re: [Python-Dev] Add sendfile() to core?

2011-01-09 Thread exarkun
On 9 Jan, 08:09 pm, g.rod...@gmail.com wrote: A strong +1. Projects such as Twisted would certainly benefit from such an addiction. Eh. There would probably be some benefits, but I don't think they would be very large in the majority of cases. Also, since adding it to 2.x would be

Re: [Python-Dev] Import and unicode: part two

2011-01-25 Thread exarkun
On 09:22 am, catch-...@masklinn.net wrote: On 2011-01-25, at 04:26 , Toshio Kuratomi wrote: * If you can pick a set of encodings that are valid (utf-8 for Linux and MacOS HFS+ uses UTF-16 in NFD (actually in an Apple-specific variant of NFD). Right here you've already broken Python

Re: [Python-Dev] API bloat

2011-02-09 Thread exarkun
On 12:43 pm, ncogh...@gmail.com wrote: On Wed, Feb 9, 2011 at 10:11 PM, Mark Shannon ma...@dcs.gla.ac.uk wrote: OK, so UnicodeError_xxx is important for codecs, but surely this sort of argument could be made for lots of things. Don't forget that for each function added to the API, all other

Re: [Python-Dev] API bloat

2011-02-09 Thread exarkun
On 01:59 pm, ncogh...@gmail.com wrote: On Wed, Feb 9, 2011 at 11:03 PM, exar...@twistedmatrix.com wrote: On 12:43 pm, ncogh...@gmail.com wrote: On Wed, Feb 9, 2011 at 10:11 PM, Mark Shannon ma...@dcs.gla.ac.uk wrote: OK, so UnicodeError_xxx is important for codecs, but surely this sort

Re: [Python-Dev] [Python-checkins] r88395 - python/branches/py3k/Lib/asyncore.py

2011-02-12 Thread exarkun
On 10:46 pm, greg.ew...@canterbury.ac.nz wrote: Antoine Pitrou wrote: On Sun, 13 Feb 2011 11:19:06 +1300 Greg Ewing greg.ew...@canterbury.ac.nz wrote: So maybe it's time to design a new module with a better API and deprecate the old one? That's called Twisted. I was thinking of something

Re: [Python-Dev] [Python-checkins] r88395 - python/branches/py3k/Lib/asyncore.py

2011-02-12 Thread exarkun
On 12:13 am, p.f.mo...@gmail.com wrote: On 12 February 2011 23:10, exar...@twistedmatrix.com wrote: On 10:46 pm, greg.ew...@canterbury.ac.nz wrote: Antoine Pitrou wrote: On Sun, 13 Feb 2011 11:19:06 +1300 Greg Ewing greg.ew...@canterbury.ac.nz wrote: So maybe it's time to design a new

Re: [Python-Dev] [Python-checkins] r88395 - python/branches/py3k/Lib/asyncore.py

2011-02-12 Thread exarkun
On 12:34 am, stutzb...@google.com wrote: On Sat, Feb 12, 2011 at 4:22 PM, exar...@twistedmatrix.com wrote: Do people want to seriously consider deprecating asyncore and adding a replacement for it to the stdlib? (Hey, PyCon is coming up. How convenient. :) The desire is there, but it's a

Re: [Python-Dev] [Python-checkins] r88395 - python/branches/py3k/Lib/asyncore.py

2011-02-13 Thread exarkun
On 08:06 pm, greg.ew...@canterbury.ac.nz wrote: exar...@twistedmatrix.com wrote: On 10:46 pm, greg.ew...@canterbury.ac.nz wrote: On Sun, 13 Feb 2011 11:19:06 +1300 Greg Ewing greg.ew...@canterbury.ac.nz wrote: I was thinking of something lighter-weight than that. Twisted Core I just had

Re: [Python-Dev] [Python-checkins] r88395 - python/branches/py3k/Lib/asyncore.py

2011-02-14 Thread exarkun
On 14 Feb, 10:15 pm, greg.ew...@canterbury.ac.nz wrote: Giampaolo Rodol� wrote: for me it should also fit one crucial requirement: it should be *simple* and reflect the simplicity and taste of all other stdlib modules, and to fulfill such a requirement I think Twisted probably needs to be

Re: [Python-Dev] Finding buildbot failures

2011-02-25 Thread exarkun
On 06:47 pm, fuzzy...@voidspace.org.uk wrote: On 25/02/2011 18:10, Vinay Sajip wrote: What's the easiest way of finding which tests failed on buildbot builds? I mean, is there anything easier than using the Web interface to browse to failing builds and then looking at the stdio output in a

Re: [Python-Dev] Finding buildbot failures

2011-02-26 Thread exarkun
On 01:16 pm, fuzzy...@voidspace.org.uk wrote: On 25/02/2011 19:00, exar...@twistedmatrix.com wrote: On 06:47 pm, fuzzy...@voidspace.org.uk wrote: On 25/02/2011 18:10, Vinay Sajip wrote: What's the easiest way of finding which tests failed on buildbot builds? I mean, is there anything easier

Re: [Python-Dev] PEP 395: Module Aliasing

2011-03-04 Thread exarkun
On 03:30 pm, ncogh...@gmail.com wrote: Fixing dual imports of the main module -- Two simple changes are proposed to fix this problem: 1. In ``runpy``, modify the implementation of the ``-m`` switch handling to install the specified module in

Re: [Python-Dev] Python Core Mentorship program

2011-03-25 Thread exarkun
On 12:03 pm, jnol...@gmail.com wrote: Hello everyone: The new list will also have a closed, members-only archive. After consulting with other core developers, we believe it's easier to ask questions when you don't have to worry about Google picking up your words from a public archive.

Re: [Python-Dev] Supporting Visual Studio 2010

2011-04-05 Thread exarkun
On 09:55 am, mar...@v.loewis.de wrote: Am 05.04.2011 00:21, schrieb Antoine Pitrou: On Mon, 04 Apr 2011 23:40:33 +0200 Martin v. L�wis mar...@v.loewis.de wrote: - users have expressed concerns that they constantly need to upgrade VS releases when developing for Python. Isn't that kind of a

Re: [Python-Dev] Supporting Visual Studio 2010

2011-04-05 Thread exarkun
On 09:58 am, mar...@v.loewis.de wrote: Won't that still be an issue despite the stable ABI? Extensions on Windows should be linked to the same version of MSVCRT used to compile Python Not if they use the stable ABI. There still might be issues if you mix CRTs, but none related to the Python

Re: [Python-Dev] Supporting Visual Studio 2010

2011-04-05 Thread exarkun
On 5 Apr, 07:58 pm, mar...@v.loewis.de wrote: Does this mean new versions of distutils let you build_ext with any C compiler, instead of enforcing the same compiler as it has done previously? No, it doesn't. distutils was considered frozen, and changes to it to better support the ABI where

Re: [Python-Dev] funky buildbot problems again...

2011-04-07 Thread exarkun
On 08:31 pm, jans...@parc.com wrote: My Intel Snow Leopard 2 build slave has gone into outer-space again. When I look at it, I see buildslave taking up most of a CPU (80%), and nothing much else going on. The twistd log says: [... much omitted ...] 2011-04-04 08:35:47-0700 [-] sending

Re: [Python-Dev] funky buildbot problems again...

2011-04-07 Thread exarkun
On 12:07 am, jans...@parc.com wrote: exar...@twistedmatrix.com wrote: On 08:31 pm, jans...@parc.com wrote: My Intel Snow Leopard 2 build slave has gone into outer-space again. When I look at it, I see buildslave taking up most of a CPU (80%), and nothing much else going on. The twistd log

Re: [Python-Dev] PEP 396, Module Version Numbers

2011-04-10 Thread exarkun
On 04:02 am, p...@telecommunity.com wrote: At 08:52 AM 4/10/2011 +1000, Ben Finney wrote: This is an often-overlooked case, I think. The unspoken assumption is often that ``setup.py`` is a suitable place for the overall version string, but this is not the case when that string must be read by

Re: [Python-Dev] PEP 399: Pure Python/C Accelerator Module Compatibiilty Requirements

2011-04-16 Thread exarkun
On 16 Apr, 11:03 pm, st...@pearwood.info wrote: Brett Cannon wrote: In the grand python-dev tradition of silence means acceptance, I consider this PEP finalized and implicitly accepted. How long does that silence have to last? I didn't notice a definition of what counts as 100% branch

Re: [Python-Dev] [Python-checkins] cpython: Issue #11223: Add threading._info() function providing informations about the

2011-04-20 Thread exarkun
On 08:20 am, victor.stin...@haypocalc.com wrote: Hi, Le mardi 19 avril 2011 � 22:42 -0400, Terry Reedy a �crit : On 4/19/2011 5:59 PM, victor.stinner wrote: Issue #11223: Add threading._info() function providing informations about the thread implementation. Since this is being

Re: [Python-Dev] [Python-checkins] cpython: Issue #11223: Add threading._info() function providing informations about the

2011-04-20 Thread exarkun
On 01:11 pm, benja...@python.org wrote: 2011/4/20 exar...@twistedmatrix.com: On 08:20 am, victor.stin...@haypocalc.com wrote: Hi, Le mardi 19 avril 2011 � 22:42 -0400, Terry Reedy a �crit : On 4/19/2011 5:59 PM, victor.stinner wrote:    Issue #11223: Add threading._info() function

Re: [Python-Dev] Why are there no 'set' and 'frozenset' types in the 'types' module?

2011-04-25 Thread exarkun
On 02:01 pm, ha...@interia.pl wrote: Because there's no reason to include them, since they are already in the root (builtins) namespace. You'll notice that in Python 3, the types module only contains types which are not obviously accessed through easier means: OK, makes sense, but in this

Re: [Python-Dev] The socket HOWTO

2011-06-05 Thread exarkun
On 5 Jun, 10:35 pm, mar...@v.loewis.de wrote: First, Twisted doesn't always use the BSD sockets API; the Windows IOCP reactor, especially, starts off with the socket() function, but things go off in a different direction pretty quickly from there. Hmm. Are you saying it doesn't use listen,

Re: [Python-Dev] Python 3.x and bytes

2011-06-13 Thread exarkun
On 12:35 am, ncogh...@gmail.com wrote: On Tue, Jun 14, 2011 at 9:40 AM, P.J. Eby p...@telecommunity.com wrote: You can still do it one at a time: CHAR, = b'C' INT, �= b'I' ... etc. �I just tried it with Python 3.1 and it works there. I almost mentioned that, although it does violate one of

Re: [Python-Dev] Snow Leopard buildbot failing again...

2011-06-27 Thread exarkun
On 05:01 pm, jans...@parc.com wrote: I see that parc-snowleopard-1 went down again. I've done a software update, rebooted, and installed the latest buildslave, 0.8.4. I can ping dinsdale.python.org successfully from the machine. However, when I start the buildslave, I get this: [snip]

Re: [Python-Dev] Should we move to replace re with regex?

2011-08-27 Thread exarkun
On 26 Aug, 09:45 pm, gu...@python.org wrote: I just made a pass of all the Unicode-related bugs filed by Tom Christiansen, and found that in several, the response was this is fixed in the regex module [by Matthew Barnett]. I started replying that I thought that we should fix the bugs in the re

Re: [Python-Dev] Add from __experimental__ import bla [was: Should we move to replace re with regex?]

2011-08-27 Thread exarkun
-Paul ___ 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%40twistedmatrix.com ___ Python

Re: [Python-Dev] unittest missing assertNotRaises

2011-09-27 Thread exarkun
On 27 Sep, 11:58 pm, ckay...@zindagigames.com wrote: On Tue, Sep 27, 2011 at 4:43 PM, Steven D'Aprano st...@pearwood.info wrote: But I can't see this being a useful test. As written, exceptions are still treated as errors, except for excClass, which is treated as a test failure. I can't see

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

2012-12-19 Thread exarkun
Please stop copying me on this thread. Thanks, Jean-Paul ___ 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] PEP 3145 (With Contents)

2012-12-21 Thread exarkun
Please stop copying me on this thread. Thanks, Jean-Paul ___ 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] 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

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

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 benja...@python.org 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

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

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, s...@pobox.com 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

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

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

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

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 exar...@twistedmatrix.com: 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

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

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 solip...@pitrou.netwrote: 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

  1   2   >