Re: [Python-Dev] Keyword meanings [was: Accept just PEP-0426]

2012-12-09 Thread Andrew McNabb
t; to discover that it is a successor of pexpect. In the specific case of pexpect and pexpect-u, the files don't actually conflict. The pexpect package includes a "pexpect.py" file, while pexpect-u includes a "pexpect/" directory. These conflict, but not in

Re: [Python-Dev] folding cElementTree behind ElementTree in 3.3

2012-02-22 Thread Andrew McNabb
.byu.edu/~amcnabb/gutenberg-short.py By the way, this code is just one example of how one might rely on the documented extensibility of ElementTree. There are probably many other examples out there that look nothing like mine. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B5

Re: [Python-Dev] folding cElementTree behind ElementTree in 3.3

2012-02-21 Thread Andrew McNabb
ntTree from storing all of the elements its seen so far. On a system with 1 GB of RAM, there was no other way to get the file to load. So, I would be one of those people who would flood in the complaints. :) -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE5

Re: [Python-Dev] Proposal for Python 3.3: dependence injection

2011-03-24 Thread Andrew McNabb
me for other > extreme testing practices like TDD.) I agree with the comments about uglification, but testing was only one of the use cases that Jesus provided. He also mentioned using alternative network implementations, integrating with event loops, etc. Another use case that I've run in

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

2010-01-20 Thread Andrew McNabb
bin/env python -tt print "hello, world" Running it gives the error because env is given the single argument ("python -tt") instead of two arguments ("python" and "-tt"): /usr/bin/env: python -tt: No such file or directory -- Andrew McNabb http://www.mcnabbs.o

Re: [Python-Dev] buildtime vs runtime in Distutils

2009-11-16 Thread Andrew McNabb
r? The problem being addressed is that distutils is using an artefact of the build system (a Makefile) as a data file. I think the issue of whether or not to "endorse the split" is a red herring. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B

Re: [Python-Dev] 2.7 Release? 2.7 == last of the 2.x line?

2009-11-03 Thread Andrew McNabb
modwsgi/ does not yet list a Python 3 release. 3) Numpy/scipy: as others have mentioned, numpy is essential for scientific work, and apparently the project needs help to add support for Python 3 Before basic infrastructure is available for Python 3, it's absurd to expect package maintainers to

Re: [Python-Dev] PEP 389: argparse - new command line parsing module

2009-09-30 Thread Andrew McNabb
t; loads a module when it's invoked. It might look something like:: > > class MyAction(argparse.Action): > def __call__(self, parser, namespace, value, option_string=None): > mod = __import__(value) # or whatever This looks much easier than what I was ab

Re: [Python-Dev] PEP 389: argparse - new command line parsing module

2009-09-30 Thread Andrew McNabb
if argparse made this easier than optparse did. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mai

Re: [Python-Dev] standard library mimetypes module pathologically broken?

2009-07-31 Thread Andrew McNabb
xed in trunk. For the other stuff, you seem to have some very good points. I'm sure a patch would be welcome. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 ___ Python-Dev mai

Re: [Python-Dev] Ext4 data loss

2009-03-13 Thread Andrew McNabb
uld always use O_EXCL in that case. Relying on random name will > be a severe security threat to the application. But mkstemp does open files with O_EXCL, so the two approaches really aren't that different. Using tempfile can be a little simpler because it will eventually succeed. -- A

Re: [Python-Dev] What's New in 2.6 link wasn't what I expected

2008-09-18 Thread Andrew McNabb
That's how things were in the past, anyway: http://www.python.org/download/releases/2.5.2/#what-s-new It's a minor thing, but I did have to go hunt down the What's New file. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 88

Re: [Python-Dev] Mini-Pep: Simplifying the Integral ABC

2008-06-05 Thread Andrew McNabb
to implement to. Sorry; I used the wrong word. I should have said "implement to" rather than "use." I agree with you. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098

Re: [Python-Dev] Mini-Pep: Simplifying the Integral ABC

2008-06-04 Thread Andrew McNabb
aven't seen many applications of the Integral ABC, but in principle, but if I had to vote I'd say that the bitwise operators aren't particularly integery. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C

Re: [Python-Dev] Addition of "pyprocessing" module to standard lib.

2008-05-14 Thread Andrew McNabb
the sooner Python has a nice simple library for inter-process communication, the better. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 pgp4U92STA7VZ.pgp Description: PGP signature __

Re: [Python-Dev] Addition of "pyprocessing" module to standard lib.

2008-05-14 Thread Andrew McNabb
ssing the point. Anyway, I would love to see the processing module included in the standard library. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 pgp42e26gDfkd.pgp Description: PGP signature __

Re: [Python-Dev] Problems with the new super()

2008-05-01 Thread Andrew McNabb
;m sure there are drawbacks, but it fits in my head. Using super in Python 2.0 is verbose but simple. However, I'm a little scared of super in Python 3.0. I guess I'm probably just a wimp. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D

Re: [Python-Dev] how to easily consume just the parts of eggs that are good for you

2008-04-09 Thread Andrew McNabb
> They both agreed that it made perfect sense. I told one of them > > about the alternate proposal to define a new database file to > > contain a list of installed packages, and he sighed and rolled his > > eyes and said "So they are planning to reinvent apt!". &

Re: [Python-Dev] Improved thread switching

2008-03-20 Thread Andrew McNabb
us some place to point people to when they complain about the GIL. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 signature.asc Description: Digital signature ___ Python-Dev mailing list

Re: [Python-Dev] trunk-math

2008-02-19 Thread Andrew McNabb
articular reason that the float methods are "is_inf" and "is_nan" but the cmath methods are "isinf" and "isnan"? Anyway, this all looks very useful. Thanks. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 801

Re: [Python-Dev] \u and \U escapes in raw unicode string literals

2007-05-11 Thread Andrew McNabb
strings are Unicode, there will likely be a lot more users stumbling into the problem case. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868 pgpBqD8o8hnO1.pgp Description: PGP signature ___