Re: [Python-Dev] unittest Suggestions

2008-08-14 Thread Fred Drake
-Fred -- Fred Drake ___ 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] Why does httplib import from test_support?

2008-08-18 Thread Fred Drake
On Aug 18, 2008, at 2:33 PM, Benjamin Peterson wrote: Why not name it testutils? Heh. And what's the difference between *utils, *tools, and *lib? They all sound the same to me. :-( -Fred -- Fred Drake ___ Python-Dev mailing

Re: [Python-Dev] Why does httplib import from test_support?

2008-08-18 Thread Fred Drake
On Aug 18, 2008, at 2:43 PM, Antoine Pitrou wrote: If it's about silencing warnings, then how about putting it in the warnings module? That sounds good to me, and would be very reasonable. This would make a nice context manager. -Fred -- Fred

Re: [Python-Dev] [Pydotorg] Should we help pythonmac.org?

2008-08-18 Thread Fred Drake
are content maintainers for the Mac content (including installation packages of whatever form), then python.org is the right place for it. Presumably //someone// is creating those now, right? If they could upload them to python.org and update the pages accordingly, that should be no worse tha

Re: [Python-Dev] [Pydotorg] Should we help pythonmac.org?

2008-08-19 Thread Fred Drake
y clean!) Python installations. -Fred -- Fred Drake ___ 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] [Pydotorg] Should we help pythonmac.org?

2008-08-19 Thread Fred Drake
from twiddling with PATH and LD_LIBRARY_PATH to add the /opt tree to my environment in order to get compiles/tools to play nice. I'd go so far as to say that any reliance on LD_LIBRARY_PATH is a bad idea, since it's horribly fragile. But I do link in

Re: [Python-Dev] bsddb tests disabled by default

2008-09-18 Thread Fred Drake
since I added the option umpteen gazillion years ago.) -Fred -- Fred Drake ___ 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] Python documentation

2008-09-19 Thread Fred Drake
integrated. :-) -Fred -- Fred Drake ___ 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] Python documentation

2008-09-21 Thread Fred Drake
o drop .tgz since it didn't really make sense to have both .tgz and .tar.bz2, and the software to handle .tar.bz2 is widely deployed. -Fred -- Fred Drake ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/ma

Re: [Python-Dev] Doc nits question

2008-10-02 Thread Fred Drake
On Oct 2, 2008, at 9:21 AM, Georg Brandl wrote: I intend to set things up so that the docs at docs.python.org are continually rebuilt, just like the /dev docs were until now. Wonderful! This should help avoid repeat reports of simple typos. At one point, we started to separate the documenta

Re: [Python-Dev] Doc nits question

2008-10-02 Thread Fred Drake
On Oct 2, 2008, at 1:17 PM, Georg Brandl wrote: All Sphinx-generated pages currently have a "last update on:" in the footer. Do you think that suffices for this purpose? Yes, I do. -Fred -- Fred L. Drake, Jr. ___ Python-Dev mailing list Pyth

Re: [Python-Dev] Python3UnicodeDecodeError

2008-10-07 Thread Fred Drake
On Oct 7, 2008, at 4:06 PM, Martin v. Löwis wrote: b) I would propose that the notion of a default encoding is entirely eliminated from Python, along with sys.(get|set)defaultencoding +1 -Fred -- Fred Drake ___ Python-Dev mailing list

Re: [Python-Dev] My patches

2008-10-30 Thread Fred Drake
ntain. -Fred -- Fred Drake ___ 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] Proper initialization of structs

2008-10-30 Thread Fred Drake
quirements that the type's C code demands. It's good to move work into __init__ where reasonable, so that it can be avoided if a subclass wants it done in a completely different way, but new can't work that way. -Fred -- Fred Drake

Re: [Python-Dev] [Python-checkins] Merging mailing lists

2008-12-04 Thread Fred Drake
On Thu, Dec 4, 2008 at 2:36 AM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > I would like to merge mailing lists, now that the design and first > implementation of Python 3000 is complete. In particular, I would +1 -Fred -- Fred L. Drake, Jr. "Chaos is the score upon which reality is w

Re: [Python-Dev] Merging flow

2008-12-04 Thread Fred Drake
27;s decision on the direction keep you from managing your own projects the right way. :-) In fact, it's reasonable to fix bugs on the release26-maint branch, migrate the patch to the trunk, and then use svnmerge.py from there to propagate the

Re: [Python-Dev] RELEASED Python 3.0 final

2008-12-04 Thread Fred Drake
t's known to be compatible with ("has been tested with"). I'd love for this to be available, and would be more proactive about testing software I've been involved in releasing against more Python versions. -Fred -- Fred Drake ___

Re: [Python-Dev] RELEASED Python 3.0 final

2008-12-04 Thread Fred Drake
On Dec 5, 2008, at 2:27 AM, Martin v. Löwis wrote: There is. There have been the following trove classifiers defined for a few weeks now: Wonderful! Thanks for clueing me in. I'll update my projects to use those in future releases. -Fred -- Fred

Re: [Python-Dev] RELEASED Python 3.0 final

2008-12-05 Thread Fred Drake
need to be hit by another clue. -Fred -- Fred Drake ___ 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] Merging flow

2008-12-05 Thread Fred Drake
it manually. I think this is a significant issue, since editing that property is about as error-prone as it can be. I've not really looked at the code in svnmerge.py, so I'm not sure how hard it would be to fix. -Fred --

Re: [Python-Dev] Merging flow

2008-12-05 Thread Fred Drake
t of branch relationships wasn't expected. -Fred -- Fred Drake ___ 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] Releasing 2.5.4

2008-12-22 Thread Fred Drake
case: If this is sufficient to drive a release, then whatever test there is should be part of the release as well. -Fred -- Fred Drake ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev U

Re: [Python-Dev] [Python-checkins] cpython (3.2): Use real word in English text (i.e. not code)

2011-08-12 Thread Fred Drake
I think either Command-line option- and argument-parsing library. or Command-line option and argument parsing library. would be acceptable. -Fred -- Fred L. Drake, Jr.    "A person who won't read has no advantage over one who can't read."    --Samuel Langhorne Clemens ___

Re: [Python-Dev] Packaging in Python 2 anyone ?

2011-08-17 Thread Fred Drake
On Wed, Aug 17, 2011 at 9:15 PM, Chris McDonough wrote: > I'll throw this out there.. why is it going to have a different name on > python2 than on python3? So it can be a drop-in replacement for the existing distutils2, I'd expect. "packaging" is new with Python3, and is the Guido-approved name

Re: [Python-Dev] Packaging in Python 2 anyone ?

2011-08-17 Thread Fred Drake
On Wed, Aug 17, 2011 at 11:00 PM, Nick Coghlan wrote: > It's actually for the same reason that unittest changes are backported > under the unittest2 name - the distutils2 name can be used in the > future to get Python 3.4 packaging features in Python 3.3, but that > would be difficult if the backp

Re: [Python-Dev] Maintenance burden of str.swapcase

2011-09-06 Thread Fred Drake
On Tue, Sep 6, 2011 at 3:36 PM, Steven D'Aprano wrote: > pERSONNALLY, i THINK THAT A SWAPCASE COMMAND IS ESSENTIAL FOR TEXT EDITOR > APPLICATIONS, TO AVOID THOSE LITTLE cAPS lOCK ACCIDENTS. There's a better solution to that, but the caps lock lobby has a stranglehold on keyboard manufacturers.

Re: [Python-Dev] Packaging in Python 2 anyone ?

2011-09-15 Thread Fred Drake
On Thu, Sep 15, 2011 at 12:23 PM, Éric Araujo wrote: > I think it would make more sense to > push 2.x-compatible and 3.x-compatible sdists to PyPI (with an > appropriate 'Programming Language :: Python :: 2' or '3' classifier) and > have the download tools be smart. FWIW, I prefer this as well.

Re: [Python-Dev] Hash collision security issue (now public)

2011-12-29 Thread Fred Drake
On Thu, Dec 29, 2011 at 8:19 AM, Christian Heimes wrote: > Persistence layers like ZODB and cross interpreter communication > channels used by multiprocessing may (!) rely on the fact that the hash > of a string is fixed. ZODB does not rely on a fixed hash function for strings; for any applicatio

Re: [Python-Dev] Changing the order of iteration over a dictionary

2012-01-20 Thread Fred Drake
On Fri, Jan 20, 2012 at 5:49 AM, Mark Shannon wrote: > So, don't be afraid to change that hash function :) Definitely. The hash function *has* been changed in the past, and a lot of developers were schooled in not relying on the iteration order. That's a good thing, as those developers now writ

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

2012-02-07 Thread Fred Drake
On Tue, Feb 7, 2012 at 11:31 PM, Eli Bendersky wrote: > Besides, in > http://mail.python.org/pipermail/python-dev/2011-December/114812.html > Stefan Behnel said "[...] Today, ET is *only* being maintained in the > stdlib by Florent Xicluna [...]". Is this not true? I don't know. I took this to

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

2012-02-07 Thread Fred Drake
On Tue, Feb 7, 2012 at 11:46 PM, Eli Bendersky wrote: > The initial proposal of changing *the stdlib > import facade* for xml.etree.ElementTree to use the C accelerator > (_elementtree) by default. I guess this is one source of confusion: what are you referring to an an "import façade"? When I l

Re: [Python-Dev] Fwd: [Import-SIG] Where to discuss PEP 382 vs. PEP 402 (namespace packages)?

2012-03-12 Thread Fred Drake
On Mon, Mar 12, 2012 at 11:43 AM, PJ Eby wrote: > I wish Gmail defaulted to reply-all in the edit box. There's a lab for that. :-) -Fred -- Fred L. Drake, Jr.    "A person who won't read has no advantage over one who can't read."    --Samuel Langhorne Clemens _

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-21 Thread Fred Drake
On Wed, Mar 21, 2012 at 2:46 PM, Guido van Rossum wrote: > That doesn't mean the web designer shouldn't think at least twice > before specifying a smaller font than the browser default. Yet 90% of designers (or more) insist on making text insanely small, commonly specifying the size in pixles or

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-21 Thread Fred Drake
On Wed, Mar 21, 2012 at 3:13 PM, Ned Batchelder wrote: > There are bad designers, or more to the point, designers who favor the > overall look of the page at the expense of the utility of the page.  That > doesn't mean all designers are bad, or that "design" is bad.  Don't throw > out the baby wit

Re: [Python-Dev] cpython (2.7): #14538: HTMLParser can now parse correctly start tags that contain a bare /.

2012-04-24 Thread Fred Drake
On Tue, Apr 24, 2012 at 2:34 PM, Benjamin Peterson wrote: > There is in the since that you can follow the HTML5 algorithm, which > can "parse" any junk you throw at it. This whole can of worms is why I gave up on HTML years ago (well, one reason among many). There are markup languages, and there

Re: [Python-Dev] Question regarding: Lib/_markupbase.py

2013-02-11 Thread Fred Drake
On Mon, Feb 11, 2013 at 7:16 AM, Developer Developer wrote: > Wouldn't it be better to do the following? ... > Otherwise I think we are scanning rawdata[j:] twice. Yes, that would be better, and avoids a string object creation as well. -Fred -- Fred L. Drake, Jr. "A storm broke loose in

Re: [Python-Dev] Unicode byte order mark decoding

2005-04-05 Thread Fred Drake
On Tuesday 05 April 2005 15:53, Evan Jones wrote: > This functionality is provided by a flush() method on similar objects, > such as the zlib compression objects. Or by close() on other objects (htmllib, HTMLParser, the SAX incremental parser, etc.). Too bad there's more than one way to do it.

Re: [Python-Dev] Developer list update

2005-04-05 Thread Fred Drake
On Tuesday 05 April 2005 06:47, Raymond Hettinger wrote: > Also, to help with institutional memory, I started a log of changes to > developer permissions. The goal is to remember who was given access, by > whom, and why (some folks are given access for a one-shot project for > example). The f

Re: [Python-Dev] Developer list update

2005-04-08 Thread Fred Drake
On Thursday 07 April 2005 10:58, Raymond Hettinger wrote: > Eric Price Eric Price was an intern at CNRI; I think it's safe to remove him from the list, as I've not seen anything from him in a *long* time. -Fred -- Fred L. Drake, Jr. ___ Pyt

Re: [Python-Dev] Developer list update

2005-04-08 Thread Fred Drake
On Friday 08 April 2005 09:53, Jeremy Hylton wrote: > Eric Price did some of the work on the decimal package, which was only > two summers ago. He wasn't an intern at CNRI. A different Eric Price, then. Mea culpa. (Or am I misremembering the intern's name? Hmm.) -Fred -- Fred L. Drake,

<    1   2   3