Re: [Python-Dev] Mercurial migration readiness

2010-07-03 Thread Tres Seaver
27;hg email' to send the patch as well. Once the migration is done, of course, users who have been working with that mirror will need to set up new clones for the upstream and re-clone the working trees, as the revision IDs won't match, etc. Tres. - --

Re: [Python-Dev] Mercurial migration readiness

2010-07-03 Thread Tres Seaver
ndred megabytes, more or less? Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [Python-Dev] Mercurial migration readiness

2010-07-05 Thread Tres Seaver
do "familiarization" drills with the majority of mercurial's features, with the exception of the final push. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excelle

Re: [Python-Dev] Issue 2986: difflib.SequenceMatcher is partly broken

2010-07-07 Thread Tres Seaver
Python modules / scripts ever written: the 'string.printable' set, less formfeed and vertical tab, is 98 characters long. > That's why I'm advocating a dedicated flag instead. +1. Tres. - -- === Tres

Re: [Python-Dev] Removing IDLE from the standard library

2010-07-12 Thread Tres Seaver
et, with user-visible forks to known fixes, etc., it would get "caught up" to people's expectations. Perhaps I'm really suggesting that there be an 'idle2' project nn bitbucket, as a "friendly fork" of the mostly freeze-dried version in stdlib. Tres. - -- ==

Re: [Python-Dev] 'hasattr' is broken by design

2010-08-23 Thread Tres Seaver
sely this reason. Third-party code which relies on 'hasattr' to mask non-AttributeErrors is broken alreay (it just doesn't show the borkedness). Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palla

Re: [Python-Dev] hg conversion: tags

2010-09-26 Thread Tres Seaver
hink taking this opportunity to use "real" version IDs for tags would be a much better than sticking with the old cruft. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Sof

Re: [Python-Dev] WSGI is now Python 3-friendly

2010-09-26 Thread Tres Seaver
se). Given that fact, and PJEs assurances, I think amending the PEP and then immediately declaring it final is reasonable. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://p

Re: [Python-Dev] hg conversion: tags

2010-09-29 Thread Tres Seaver
l). Although I would prefer 'c' over 'rc' in the normalized case, PEP 386 allows 'rc' as an alternative to 'c' precisely because some Python versions used it). I think we need to make the migrated version tags match the corresponding tarball versio

Re: [Python-Dev] hg conversion: tags

2010-09-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/29/2010 08:38 AM, Benjamin Peterson wrote: > 2010/9/29 Tres Seaver : >> +1 for bare release numbers (Dirkjan's proposal). Although I would >> prefer 'c' over 'rc' in the normalized case, PEP 38

Re: [Python-Dev] python.org going down?

2010-10-07 Thread Tres Seaver
hat > indicates some outage. I'm still unsure what "it" is that was happening, > so it's also difficult to analyse this further. FWIW, PyPI was inaccessible for some longish period of time this morning. Tres. - -- =

Re: [Python-Dev] python.org going down?

2010-10-07 Thread Tres Seaver
d cause apparent outages from the outside viewer's perspective, without necessarily leaving any trace on the machines hosting the sites, except a drop in traffic in the logs. Tres - -- ======= Tres Seaver +1 540-429-0999

Re: [Python-Dev] Continuing 2.x

2010-10-28 Thread Tres Seaver
sm be spent on making Python 3 rock, and in > porting third party code to Python 3. Sure you would -- you're already invested there. I would like to be there, but can't take off the several months required to port the whole stack under my own code. Tres. - -- =

Re: [Python-Dev] Continuing 2.x

2010-10-28 Thread Tres Seaver
in making it happen, so a new crop of > developers will need to step up if it is going to become more than a > CCP-specific 2.x fork. Thanks for the helpful guidance to such prospective volunteers! Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion S

Re: [Python-Dev] Continuing 2.x

2010-10-29 Thread Tres Seaver
python-dev. If a new retro-fork development community emerges, its members will include folks who have a vested interest in continuing Python 2.x development, and hence can donate (or recruit) such in-kind contributions. Tres. - -- ==

Re: [Python-Dev] Continuing 2.x

2010-11-08 Thread Tres Seaver
release the improved > libraries for everything from Python 2.4 and forwards if you like. > > So it can be done, but the question is "Why?" The OP has existing patches to contribute which the core python-dev team consider "not-a-bugfix", and hence not acceptable for the

Re: [Python-Dev] Breaking undocumented API

2010-11-09 Thread Tres Seaver
es, should be fish-slapped. ;) Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http:/

Re: [Python-Dev] Breaking undocumented API

2010-11-09 Thread Tres Seaver
_bar import __all__ I guess the usual caveats apply for dopplegangers / proxies. ;) Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE--

Re: [Python-Dev] Breaking undocumented API

2010-11-10 Thread Tres Seaver
): ... # Replace with accelearated C implemenataion try: import _spam except ImportError: pass # accelerated version not available else: foo = _spam.foo bar = _spam.bar - --- $< - This explicit name remapping catches unintentional

Re: [Python-Dev] Breaking undocumented API

2010-11-11 Thread Tres Seaver
he set of applications / modules which both use the undocumented names *and* do so via 'import *' can be safely deemed "too small to worry about". Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software &

Re: [Python-Dev] Breaking undocumented API

2010-11-17 Thread Tres Seaver
is way even though the changes to PEP 333 were essentially clarifications which applied only to Python 3: the existing Python 2 semantics would have rmeained the same.[2] [1] http://permalink.gmane.org/gmane.comp.python.devel/117269 [2] http://permalink.gmane.org/gmane.comp.python.devel/117249 Tres. - -- ==

Re: [Python-Dev] r87010 - in python/branches/py3k: Doc/library/subprocess.rst Lib/subprocess.py Lib/test/test_subprocess.py

2010-12-05 Thread Tres Seaver
of today. > > B) Remove the DeprecationWarning, simply document that people should be > explicit about it if they care at all and that the default will change in > 3.3. > > C) Never change close_fds behavior. we're stuck with it for life. > > D) Deprecate close_fds

Re: [Python-Dev] Repo frozen for 3.2

2010-12-05 Thread Tres Seaver
eprecationWarnings is bad housekeeping / "broken window" stuff: it leads application developers to ignore them. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Softwa

Re: [Python-Dev] python 2 for building python 3

2010-12-06 Thread Tres Seaver
tc. operations (it does this by default during 'export', which is likekt why the tarball process works): http://svnbook.red-bean.com/en/1.1/ch07.html Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@

Re: [Python-Dev] kill_python on windows buildbots (was Re: Stable buildbots)

2010-12-07 Thread Tres Seaver
build hang around until > the next build takes place. They can however, interfere with the svn > checkout so things never get to the point of using kill_python. So > maybe kill_python's use should be moved to the clean stage? Maybe belt-and-suspenders it in both places. Tres. - --

Re: [Python-Dev] Using logging in the stdlib and its unit tests

2010-12-11 Thread Tres Seaver
f like logging, which should only go to stderr. Much better to document the "how-to" for setting up something like that than to make it a default. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@p

Re: [Python-Dev] A grammatical oddity: trailing commas in argument lists -- continuation

2010-12-13 Thread Tres Seaver
uch cases, with the closing paren on the following line, so that adding or removing an argument at the end of the list stays consistent (the diffs are better, too, when I use this pattern). Tres. - -- === Tres Seaver

Re: [Python-Dev] PEP 3333: wsgi_string() function

2011-01-04 Thread Tres Seaver
e bytes type and use os.environb instead. I'm not clear on the semantics here, but I'm pretty sure you'll find that the web-SIG does know them well. I have CC'ed that list (via gmane). Note that Guido just recently wrote on that list that he considers that PEP to be de facto a

Re: [Python-Dev] Keeping __init__.py empty for Python packages used for module grouping.

2011-01-24 Thread Tres Seaver
py empty of anything but the __path__-munging majyk / boilerplate is required to make such installs work regardless of the order of PYTHONPATH. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Pa

Re: [Python-Dev] hg diff

2011-03-07 Thread Tres Seaver
requests" for that fork instaed. For the repoze and pylons projects, we have found the quality and quantity of patches went up *significantly* when we made it easy for somebody who doesn't work on the code all the time to use this workflow (fork to a public repo, clone, hack, commit, push, request a pull). Tres. - -- ==

Re: [Python-Dev] public visibility of python-dev decisions "before it's too late" (was: PyCObject_AsVoidPtr removed from python 3.2 - is this documented?)

2011-03-11 Thread Tres Seaver
dbots help the visibility of changes being landed to the language or standard library? Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com --

Re: [Python-Dev] Module version variable

2011-03-16 Thread Tres Seaver
les are a huge anomaly ISTM that other cases (version of a spec targeted by the module, or of the underlying C library it wraps), need their own attribute. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladio

Re: [Python-Dev] I am now lost - committed, pulled, merged, what is "collapse"?

2011-03-21 Thread Tres Seaver
ke down. The "push race" problem in hg definitely bit us at PyCon this year while sprinting to get WebOb's test coverage to 100% (preparing for the Python3 port). I haven't seen that issue so much with git or bzr, but I may not have used them in such a race-friendly

Re: [Python-Dev] Hg: inter-branch workflow

2011-03-21 Thread Tres Seaver
y a changeset in my local line of development, and by a side > branch in the mainline DAG once my merge is completed. You might want to dig > into that sideline to see if indeed I addressed the issues in your second > review of my code. If we have to manually collapse changesets

Re: [Python-Dev] sprints and pushes

2011-03-23 Thread Tres Seaver
or the stdlib (maybe during build?), and add support for running tests of a named module and its dependents. Any non-documentation change to a stdlib module requires running this new kind of test against that module. Tres. - -- ==

Re: [Python-Dev] sprints and pushes

2011-03-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/23/2011 09:36 PM, Stephen J. Turnbull wrote: > Tres Seaver writes: > > > On 03/23/2011 01:24 PM, Antoine Pitrou wrote: > > > On Wed, 23 Mar 2011 10:25:01 -0700 > > > Ethan Furman wrote: > > >>

Re: [Python-Dev] sprints and pushes

2011-03-25 Thread Tres Seaver
built during an intial full run of the suite. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE

Re: [Python-Dev] sprints and pushes

2011-03-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/26/2011 02:56 AM, Stephen J. Turnbull wrote: > Tres Seaver writes: > > > That was precisely my proposal: > > Sorry about that. I live in a disaster area, and was limited to > GMail until two days ago, and lost a fair amo

Re: [Python-Dev] faulthandler is now part of Python 3.3

2011-03-31 Thread Tres Seaver
557), I hope that the > situation will be better in a few hours. > > Thank you Antoine for your reviews! Thanks very much for you hard work on this cool new feature. Tres. - -- === Tres Seaver +1 540-429-0999

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

2011-04-06 Thread Tres Seaver
le) on the pure Python version? > > Let's say "as good coverage as the C code has", instead ;) The point is to require that the *Python* version be the "reference implementation", which means that the tests should be fully covering it (especially for any no

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-07 Thread Tres Seaver
t; Cython is out of scope for this. Why is it out of scope to use the benchmarks and test harness to answer questions like "can we use Cython to provide optional optimizations for the stdlib"? I can certainly see value in havng an objective way to compare the macro benchmark performance o

Re: [Python-Dev] [GSoC] Developing a benchmark suite (for Python 3.x)

2011-04-08 Thread Tres Seaver
SoC effort, just not for perf.python.org as a whole. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/

Re: [Python-Dev] Make test failed issues for phyton 3.2 on centos5.5

2011-04-11 Thread Tres Seaver
like you are missing a bunch of development headers on the system (at the time Python's 'configure' was run). E.g., on a Debian system, $ sudo apt-get install zlib1g-dev libbz-dev libreadline-dev # etc Tres. - -- =======

Re: [Python-Dev] peps: Update PEP 399 to include comments from python-dev.

2011-04-12 Thread Tres Seaver
e challenged. Trying to accelerate existing code which doesn't have the coverage is insane: how can you know that the accelerator doesn't subtly change the semantics without tests? Tres. - -- === Tres Seaver +1 540-429

Re: [Python-Dev] [RELEASED] Python 3.2.1 rc 1

2011-05-19 Thread Tres Seaver
> Can't this work be done in the branch of main repo, so that everybody > can track the progress in place? Is there any picture of the process > similar to http://nvie.com/posts/a-successful-git-branching-model/ ? Note that in that writeup, 'release-*' (and 'hotfix

Re: [Python-Dev] looking for a contact at Google on the Blogger team

2011-05-20 Thread Tres Seaver
or remotely-exploitable WP bugs: http://www.wordpressexploit.com/ Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: Gnu

Re: [Python-Dev] [Python-checkins] cpython: Add NEWS and whatsnew entries for the packaging module

2011-06-03 Thread Tres Seaver
l be made available >> on PyPI under the +name :mod:`distutils2`. > > Even for Python 2.4, really? Do you really need to support this old Python Yes. Many projects distribute packages to folks still using 2.4. Tres. - -- =======

Re: [Python-Dev] Issue10403 - using 'attributes' instead of members in documentation

2011-06-28 Thread Tres Seaver
nd therefore bound via descriptor semantics? In this sense, 'staticmethod' doesn't create a "method" at all -- it just defeats the default creation of a method-yielding descriptor. Tres. - -- === Tres Seave

Re: [Python-Dev] open(): set the default encoding to 'utf-8' in Python 3.3?

2011-06-28 Thread Tres Seaver
#x27;t include 'b') ? > > +1. > >> That'll make it compatible to the Py2 world again and avoid >> all the encoding guessing. > > Yep. +1 from me, as well: "in the face of ambiguity, refuse the temptation sto guess." Tres. - -- ==

Re: [Python-Dev] svn.python.org confusion

2011-06-30 Thread Tres Seaver
: they are in fact the "canonical" repository locations, even if most of the work is done in hg and patched into them. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software &q

Re: [Python-Dev] Convention on functions that shadow existing stdlib functions

2011-07-27 Thread Tres Seaver
he build after updating an underlying system library. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGN

Re: [Python-Dev] HTMLParser and HTML5

2011-07-29 Thread Tres Seaver
sion of Python supported by the library (Python 2.3+, AFAICT). Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.

Re: [Python-Dev] PEP 365 (Adding the pkg_resources module)

2008-03-17 Thread Tres Seaver
g_resources' constraints. - Unpack the source distribution to a temp directory. - cd into that directory and use sys.executable to invoke 'setup.py install'. Any extra command-line arguments beyond those used to find the source distribution would be passed on to the '

Re: [Python-Dev] PEP 365 (Adding the pkg_resources module)

2008-03-19 Thread Tres Seaver
estricted, and thererfore introspectable, configuration-driven approoach seems much cleaner. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design"

Re: [Python-Dev] PEP 365 (Adding the pkg_resources module)

2008-03-20 Thread Tres Seaver
ld it locally. > But if these problems are solved, then I have no problem with seeing > the features of setuptools added to the standard library - resource > APIs, plugin/entry point APIs, ways to create executable scripts, and > such things *should* be standardised. Dependency reso

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-24 Thread Tres Seaver
n such packages, and make a tool which actually works for the huge majority of distributions which don't need to do more than install files. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design"

Re: [Python-Dev] How we can get rid of eggs for 2.6 and beyond

2008-03-24 Thread Tres Seaver
erable. For a long-running Python application (as opposed to desktop tools or scripts), installing a custom Python is the "safest" choice: it insulates the application not only from unexpected system-driven site-packages changes, but also allows greater control over other Python configu

Re: [Python-Dev] [Python-checkins] buildbot failure in sparc Debian 3.0

2008-07-10 Thread Tres Seaver
g out the .pyc files and carefully removing aliased imports eventually got the problem to go away (at which point I could no longer reproduce it at all). Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED]

Re: [Python-Dev] PEP: Consolidating names and classes in the `unittest` module (updated 2008-07-15)

2008-07-15 Thread Tres Seaver
70 fail*. > > Twisted: 6149 assert* vs. 1666 fail*. > > paramiko: 431 assert* vs. 4 fail*. > > The data seems pretty overwhelmingly in favour of keeping assert*. FWIW: Zope2: 16878 'assert*', 2892 'fail*'. I would keep both by preference, rather than insist

Re: [Python-Dev] PEP: Consolidating names and classes in the `unittest` module (updated 2008-07-15)

2008-07-16 Thread Tres Seaver
pain, write a *new* module, 'unittest2', and port Python's tests to use it, thereby leaving the much larger volume of not-in-Python tests still working. One might then remove the 'unittest' module in a later release, packaging it as a standalone distibution for the proje

Re: [Python-Dev] PEP: Consolidating names in the `unittest` module

2008-07-16 Thread Tres Seaver
or old code to continue working by adding > the old unittest module on sys.path. > > Please note that the required renaming of the methods in existing > tests is not going to be as straight forward as you may think, > since you may well rename method calls into the tested application

Re: [Python-Dev] Unittest PEP do's and don'ts (BDFL pronouncement)

2008-07-17 Thread Tres Seaver
poent wants to be able to make further assertions about the raised exception (e.g., to test its message). Tres. - -- ======= Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design"

Re: [Python-Dev] Syntax error in python2.6

2008-07-21 Thread Tres Seaver
te. I'm willing to bet that *nobody* who is still using it would be surprised if they had to recode it when upgrading to a recent Zope, so maybe we can just change the trunk without worrying about it. Tres. - -- ======= Tres Seaver

Re: [Python-Dev] bsddb: Test failures on windows (HELP!)

2008-07-24 Thread Tres Seaver
he same error as below?] > > | test test_sys failed -- Traceback (most recent call last): > | File "...\subprocess.py", line 817, in _execute_child > |startupinfo) > | TypeError: environment can only contain strings That definitely shouldn't happen

Re: [Python-Dev] String concatenation

2008-08-03 Thread Tres Seaver
it were removed? - -1. The feature exists to allow adherence to PEP-8, "Limit all lines to a maximum of 79 characters.", without requiring runtime concatenation costs. I use it frequently when assembling and testing message strings, for instance. Tres. - -- ===

Re: [Python-Dev] www.python.org/doc and docs.python.org hotfixed

2008-10-02 Thread Tres Seaver
> > If linking to the new version could be done easily, we could as well directly > redirect. The problem is that having that mapping in the first place is hard. Why would you remove the old docs (ones with 2.5 in the URL)? They still provide value for folks who can't yet move to 2.6 /

Re: [Python-Dev] asyncore fixes in Python 2.6 broke Zope's version of medusa

2008-10-09 Thread Tres Seaver
t_buffer: return 1 elif len(self.producer_fifo): p = self.producer_fifo.first() if hasattr (p, 'stalled'): return not p.stalled() else: return 1 Tres. - -- === Tres Seav

Re: [Python-Dev] Looking for VCS usage scenarios

2008-11-05 Thread Tres Seaver
(). Under this culture / pattern, one would tag the release, then modify the version on the quasi-tag branch, rather than committing the released version of setup.py to the source branch, only to follow it immediately with another commit reverting the release-specific change. Tres. - -- ==

Re: [Python-Dev] Looking for VCS usage scenarios

2008-11-06 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Georg Brandl wrote: > Stephen J. Turnbull schrieb: >> Tres Seaver writes: >> >> > svn doesn't have any true tags, AFAIK: everything is a branch. >> >> Yow! I couldn't have imagined that would be tr

Re: [Python-Dev] Getting Set Up dev doc

2008-11-09 Thread Tres Seaver
ing. Given the choice, I would move the ssh / svn docs *out* of the FAQ into your document, leaving pointers to the new sections behind. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladi

Re: [Python-Dev] Python 2.5.3: call for patches

2008-11-11 Thread Tres Seaver
ed in 2.5 but not > yet in 2.4. this would include > > CVE-2007-4965 > CVE-2008-1679 > CVE-2008-1721 > CVE-2008-2315 > CVE-2008-3144 > CVE-2008-1887 > CVE-2008-4864 +1 from a non-core developer who still has to keep sites using 2.4 up and running. Tres. - -- =

Re: [Python-Dev] Redirecting warnings.showwarning to logging

2008-11-23 Thread Tres Seaver
nheritance-based: it means replacing a method / attribute of a module or class from a different module, after import time. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excell

Re: [Python-Dev] RELEASED Python 3.0 final

2008-12-05 Thread Tres Seaver
;whiz bang"[1] in my book. [1] http://www.merriam-webster.com/dictionary/whizbang Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNAT

Re: [Python-Dev] Python-3.0, unicode, and os.environ

2008-12-05 Thread Tres Seaver
and allow more sophisticated applications to handle it. Amen! the idea that paths, environment varioables, and stuff pulled off of sockets can be treated as text rather than strings is just wishful thinking. Tres. - -- === Tres Seaver +1 540-429-0999 [EMAIL PRO

Re: [Python-Dev] compiling python2.5 on linux under wine

2009-01-08 Thread Tres Seaver
t place? My guess is that Luke wants to cross-compile bdist-win distributions for the benefit of tool-deprived Windows users. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software &quo

Re: [Python-Dev] socket.create_connection slow

2009-01-14 Thread Tres Seaver
blem... It barfs on Macs as well: indeed, it is worse, because the connection just fails there, rather than trying IPv6 and then falling back to IPv4. For instance, tunneling a connection over SSH to a Mac box via '-L :localhost:' will fail to connect at all, unless the server

Re: [Python-Dev] PEP 3142: Add a "while" clause to generator expressions

2009-01-21 Thread Tres Seaver
TW, there is already an "until" keyword in python, it's called "while not" ;) 'until' is used at least in some languages (Pascal, Modula*, maybe Ada?) for a "terminate at bottom" loop (one guaranteed to run at least once): in such cases, the predicat

Re: [Python-Dev] pprint(iterator)

2009-02-02 Thread Tres Seaver
ity to > road test the functools patch by using it to refactor pprint and check > the performance implications) /me wonders about the performance-criticality of anything using 'pprint'. Or were you just planning to use it as a means to benchmark the 'simplegeneric' stuf

Re: [Python-Dev] teaching the new urllib

2009-02-03 Thread Tres Seaver
- %< - So, the OP's use case *could* be satisfied, assuming that the Py3K version of urllib sprouted a means of leveraging that header. In this sense, fetching the resource over HTTP is *better* than loading it from a file: information about the chara

Re: [Python-Dev] PEP 393 Summer of Code Project

2011-09-01 Thread Tres Seaver
full character. I'm sure Spanish > keyboards have a better way than that :-)) FWIW, I was taught that Spanish had 30 letters in the alfabeto: the 'ñ', plus 'ch', 'll', and 'rr' were all considered distinct characters. Kids-these-days'ly, Tres.

Re: [Python-Dev] PEP 393 Summer of Code Project

2011-09-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/01/2011 11:59 PM, Stephen J. Turnbull wrote: > Tres Seaver writes: > >> FWIW, I was taught that Spanish had 30 letters in the alfabeto: >> the 'ñ', plus 'ch', 'll', and 'rr' were all

Re: [Python-Dev] [Python-checkins] cpython (3.2): Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character

2011-09-06 Thread Tres Seaver
ention this abbreviation? FWIW, the RFC 20 (the ASCII spec) really really defines 'NUL' as the *name* of the \0 character, not just an "abbreviation used in tables": http://tools.ietf.org/html/rfc20#section-5.2 Tres. - -- ==

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

2011-09-06 Thread Tres Seaver
t;replaces" dead batteries. :) Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version

Re: [Python-Dev] range objects in 3.x

2011-09-27 Thread Tres Seaver
e with a completely > unrelated meaning. :-( One could always think of the Midwest US farm country, cut into even one-mile sections by dirt roads, and think of 'grange'. :) Tres. - -- === Tres Seaver +1 540-429-09

Re: [Python-Dev] cpython (3.2): adjust braces a bit

2011-10-21 Thread Tres Seaver
ve braces everywhere? Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG wit

Re: [Python-Dev] draft PEP: virtual environments

2011-10-30 Thread Tres Seaver
adjacent to that. Does > that seem like a better solution? Can anyone suggest better > alternatives? Sorry if this has come up before and I've missed > something obvious. +1 to making it a package and keeping the data in the package. - -1 to a zip file: each scripts should b

Re: [Python-Dev] Packaging and binary distributions

2011-10-30 Thread Tres Seaver
s users are the only ones who routinely don't have access to a compiler at all. Even trying to push binary distributeions to PyPI for Linux is a nightmare (e.g., due to UCS2 / UCS4 incompatibility). Tres. - -- === Tres Seaver +1 540-429-0999 tsea.

Re: [Python-Dev] draft PEP: virtual environments

2011-10-31 Thread Tres Seaver
can work on this. I would say this is a perfect "opportunity to delegate," in this case to the devotees of other cults^Wshells than bash. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@pallad

Re: [Python-Dev] Warnings

2011-12-07 Thread Tres Seaver
cly, > > Oh, come on, surely this doesn't effect the casual reader? /me presumes an ironic mispeling there. ;) Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by De

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

2011-12-08 Thread Tres Seaver
n is more practical than the options that are already there. The "redundant" u'*' spelling would be present in Python3 for the same reason that the equally-reduntant b'*' spelling is present in Python 2.6+: it makes writing portable code simpler. Tres. - -- ==

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

2011-12-14 Thread Tres Seaver
process of getting that package's unit test coverage up to snuff before ripping out the 2to3 support in favor of a subset). Using 2to3 during ongoing development makes Python feel like Java/C++, where "get a cup of coffee while we rebuild the world" is a frequent occurence. Tres.

Re: [Python-Dev] PEP 7 clarification request: braces

2012-01-02 Thread Tres Seaver
rough and edit every > single one of his commits to add them. FWIW, +1 to mandating braces-always (even for one liners): the future maintenance burden isn't worth the trouble of the exception. In the days when I did C / C++ / Java coding as my main gig, braceless code was routinely a b

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

2012-01-05 Thread Tres Seaver
s a dict to hold the form / query string data being supplied by untrusted external users. Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"

Re: [Python-Dev] Counting collisions for the win

2012-01-20 Thread Tres Seaver
urely hypothetical, while the second set is *lots* of deployed applications. Tres. - -- ======= Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com

Re: [Python-Dev] requirements for moving __import__ over to importlib?

2012-02-10 Thread Tres Seaver
undersand you. In POSIX land, the only thing which changes the mtime of a directory is linking / unlinking / renaming a file: changes to individual files aren't detectable by examining their containing directory's stat(). Tres. - -- =

Re: [Python-Dev] requirements for moving __import__ over to importlib?

2012-02-10 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/10/2012 04:42 PM, Brett Cannon wrote: > On Fri, Feb 10, 2012 at 16:29, Tres Seaver > wrote: > >> On 02/10/2012 03:38 PM, Brett Cannon wrote: >>> Changes in any fashion to the directory. Do filesystems >>>

Re: [Python-Dev] PEP 414 - Unicode Literals for Python 3

2012-02-27 Thread Tres Seaver
EP addresses one of the last remaining issues to making such codebases clean and easy to maintain (the sys.exec_info hack is not needed in Python >= 2.6). Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Pall

Re: [Python-Dev] Add a frozendict builtin type

2012-02-27 Thread Tres Seaver
;, "credits" or "license" for more information. >>> ({},) ({},) Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP S

Re: [Python-Dev] PEP 414

2012-03-01 Thread Tres Seaver
change > would spawn such a great discussion. After all what we're discussing > here is the introduction of one letter to literals :-) Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladi

Re: [Python-Dev] Unpickling py2 str as py3 bytes (and vice versa) - implementation (issue #6784)

2012-03-15 Thread Tres Seaver
f Zope-based sites in production, including very high-profile ones: http://plone.org/support/sites Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design"

<    1   2   3   4   >