Re: [Python-Dev] mUTF-7 support?

2014-10-10 Thread Charles Cazabon
, imaplib doesn't work on Python 3: > > Actually, it doesn't work in Python 2 either. It never supported > international mailbox names. Correct. I had to hack in mUTF-7 support in getmail to properly support international IMAP users. Charles -- -----

Re: [Python-Dev] datetime nanosecond support

2012-07-25 Thread Charles Cazabon
in these formats. tai64 is defined similar to propleptic Gregorian in that it uses an idealized 24*60*60 second day, etc. Charles -- ----------- Charles Cazabon G

Re: [Python-Dev] Anyone still using Python 2.5?

2011-12-21 Thread Charles Cazabon
ed on lots of little network appliances and such that don't necessarily run a current OS, so getmail v4 targets 2.3.3 and up. If I'm writing something new today, I usually assume 2.6 and up. Charles -- ----------- Charles Cazabo

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

2009-11-03 Thread Charles Cazabon
nd Python 3.x is "basically impossible", then I won't be too concerned about 3.x for a while yet. I've been an avid Python user and promoter since 1.2, but saying "drop Python 2.x and switch to 3 now" is simply not realistic in any of the environments in which I u

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

2009-11-03 Thread Charles Cazabon
er than you seem to want them to, and making it harder for them to upgrade will only hurt Python 3. Charles -- ----------- Charles Cazabon GPL&

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

2008-05-20 Thread Charles Cazabon
P Testdrive account (along with a bunch of Linuxes and *BSDs) on various hardware platforms. I used it extensively when doing portability testing of another project. http://www.testdrive.hp.com/ Charles -- ----------- Charles Cazabon GPL&#x

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

2008-05-14 Thread Charles Cazabon
thon standard library -- it worked fine as-is on Linux, but needed some hackery to get running on a slightly elderly Solaris 8 box. I didn't test it on anything else. Charles -- ---

[Python-Dev] [OT] Re: getpass and stdin

2008-02-26 Thread Charles Cazabon
tly what I've been telling this user on the getmail mailing list for the last week. Apologies that he's decided to bother you with it. Charles -- -- Charles Cazabon <

Re: [Python-Dev] Testers wanted: mailbox.py bugfix

2007-01-17 Thread Charles Cazabon
into "just a flesh wound"... Charles -- ------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed soft

Re: [Python-Dev] beta1 coming real soon

2006-06-14 Thread Charles Cazabon
arts of the world. From your message: > From: Thomas Heller <[EMAIL PROTECTED]> > To: python-dev@python.org > Date: Fri, 31 Dec 1999 23:11:35 +0100 > Subject: Re: [Python-Dev] beta1 coming real soon Stolen Guido's time machine, have we? Charles -- -------

Re: [Python-Dev] pysqlite for 2.5?

2006-03-29 Thread Charles Cazabon
t;db". Why are two right for the stdlib (sorry, "standard library" :), and the other wrong? Charles -- --- Charles Cazabon

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Charles Cazabon
Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 3/28/06, Charles Cazabon <[EMAIL PROTECTED]> wrote: > > It might be worth instead adding an option flag to the executable that > > implies > > "from the loaded module, run __main__() with sys.argv as its argu

Re: [Python-Dev] What about PEP 299?

2006-03-28 Thread Charles Cazabon
y broken. It might be worth instead adding an option flag to the executable that implies "from the loaded module, run __main__() with sys.argv as its argument(s)", so the user can get this behaviour with `python -X somemodule.py`. Charles -- --

Re: [Python-Dev] pysqlite for 2.5?

2006-03-28 Thread Charles Cazabon
g a nice new namespace ready for them is a good idea. > Whatever name is chosen: please no "from sqlite3 import dbapi2 as sqlite"! Amen. db.sqlite3 is the perfect name. Charles -- ----------- Charles Cazabon

Re: [Python-Dev] The path module PEP

2006-01-25 Thread Charles Cazabon
should be justification for getting rid of it. Charles -- ----------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://pyropus.ca/software/ ---

Re: [Python-Dev] The path module PEP

2006-01-24 Thread Charles Cazabon
gic as well (while "+" would be an improvement, it's still not a large one). I would think Path('foo').appendparts('bar', 'baz') or similar would be more readable and obvious. Charles -- --

Re: [Python-Dev] timeout options in high-level networking modules

2005-12-22 Thread Charles Cazabon
eing set on sockets (basically anything using socket.ssl()) actually explicitly set that first. Right now, if you do socket.setdefaulttimeout() to a non-None value and then try to use anything that does SSL (poplib, imaplib), the connections will quickly die. Charles -- -------

Re: [Python-Dev] Plea to distribute debugging lib

2005-11-04 Thread Charles Cazabon
sized codebase I've had to work with. Charles -- ----------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://pyropus.ca/software/ ---

Re: [Python-Dev] Replacement for print in Python 3.0

2005-09-02 Thread Charles Cazabon
d/ not add a newline isn't nearly as common. print() could take a keyword parameter to skip the newline, or ... print('foo:', foo, 'bar:', bar, 'baz:', baz, frobble and 'frobble: ' + frobble or 'no frobble today') Or the user can just u

Re: [Python-Dev] Replacement for print in Python 3.0

2005-09-01 Thread Charles Cazabon
Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Charles Cazabon wrote: > > > in fact, it does nothing for the program but merely has the interesting > > side-effect of writing to stdout. > > yeah, real programmers don't generate output. That wasn't quite my p

Re: [Python-Dev] Replacement for print in Python 3.0

2005-09-01 Thread Charles Cazabon
in fact, it does nothing for the program but merely has the interesting side-effect of writing to stdout. It's an anomaly. It stands out in the language as a sore thumb waiting for Guido's hammer. Charles -- ----------- Charl

Re: [Python-Dev] Replacement for print in Python 3.0

2005-09-01 Thread Charles Cazabon
7;) I think the language would be cleaner if it lacked this weird exception for `print`. Charles -- --- Charles Cazabon <[EMAIL

Re: [Python-Dev] Python 3 design principles

2005-08-31 Thread Charles Cazabon
module. Importing it could have the effect of (for instance) putting compile, id, and intern into the global namespace, making print an alias for writeln, alias the standard library namespace, ... ? Charles --

Re: [Python-Dev] Proof of the pudding: str.partition()

2005-08-31 Thread Charles Cazabon
Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 8/31/05, Charles Cazabon <[EMAIL PROTECTED]> wrote: > > > While I'm at it, why not propose that for py3k that > > .rfind/.rindex/.rjust/.rsplit disappear, and .find/.index/.just/.split > > grow an opti

Re: [Python-Dev] Proof of the pudding: str.partition()

2005-08-31 Thread Charles Cazabon
ex. While I'm at it, why not propose that for py3k that .rfind/.rindex/.rjust/.rsplit disappear, and .find/.index/.just/.split grow an optional "fromright" (or equivalent) optional keyword argument? Charles -- -------

Re: [Python-Dev] partition() (was: Remove str.find in 3.0?)

2005-08-30 Thread Charles Cazabon
I'd rather leave them. Me too. I have various programs that construct lots of large REs on the fly, knowing they'll only be used once. Not having to compile them to objects inline makes the code cleaner and easier to read. Charles -- ----------

Re: [Python-Dev] partition() (was: Remove str.find in 3.0?)

2005-08-30 Thread Charles Cazabon
at's similar in meaning, there's also .cut(). Charles -- ----------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available

Re: [Python-Dev] PEP: Migrating the Python CVS to Subversion

2005-08-10 Thread Charles Cazabon
t investigate it as a possibility. Charles -- ----------- Charles Cazabon <[EMAIL PROTECTED]> GPL'ed software available at: http://pyropus.ca/software/ ---

Re: [Python-Dev] Exception Reorg PEP checked in

2005-08-05 Thread Charles Cazabon
xceptions (or am I the only one who thinks > this?). Should we toss in a subclass called SimpleError? Much Python code I've looked at uses ValueError for this purpose. Would adding a special exception add much utility? Charles -- --------

Re: [Python-Dev] Wishlist: dowhile

2005-06-15 Thread Charles Cazabon
(not necessarily look) like this: do: while with executed once prior to first being tested. But the above is ugly, and you can get much the same effect with Python today: firsttime = True while firsttime or : firsttime = False Seems fairly Pythonic to me. YMMV