Brian Harring added the comment:
This change isn't hugely friendly API wise- for code that invokes setupterm()
multiple items (and does so knowing what it's doing), they're now silently
locked into whatever the first term invocation was.
Personally, an override here
Brian Harring added the comment:
@benjamin:
Tests can be written; the reason this patch doesn't bundle tests up front is
that I wasn't going to burn the time till I knew they were needed since I
expected the concept to require some debate.
As for the hacks angle, there isn&
Brian Harring added the comment:
Contributor agreement form is enroute via snail mail... kind of wish y'all
accepted pdf's via email though ;)
As for the print("cache hit"), that should be punted- not very useful in it's
current form (doesn't indicate what
Changes by Brian Harring :
Removed file: http://bugs.python.org/file16080/2to3-caching.patch
___
Python tracker
<http://bugs.python.org/issue7826>
___
___
Python-bug
Changes by Brian Harring :
Removed file: http://bugs.python.org/file16078/2to3-caching.patch
___
Python tracker
<http://bugs.python.org/issue7826>
___
___
Python-bug
Brian Harring added the comment:
Related note, don't be drunk when posting the missing patch- sorry for the
noise, here is the caching version,, daftly presumed the early patch contained
lib2to3.caching
Now I'm going to go crawl in a corner, if you need me, I'll be there.
Dou
Brian Harring added the comment:
*Cough*.
Ya, going to blame the bugzie on that one. right, it's at fault rather than me
being a complete freaking moron.
Patch attached, hopefully with far less idiocy than I've demonstrated thus
far
Pardon.
--
Added
Brian Harring added the comment:
@martin:
Yeah... that's probably the better approach, although seperation of processes
(in terms of setup.py triggering conversion) has some benefits.
The reason I used process seperation and invocation of main was to protect my
distutils extensions ag
Changes by Brian Harring :
--
nosy: +ferringb
___
Python tracker
<http://bugs.python.org/issue1943>
___
___
Python-bugs-list mailing list
Unsubscribe:
Brian Harring added the comment:
Attached is a derivative of
http://pkgcore.org/trac/pkgcore/browser/ferringb/snakeoil-dev/snakeoil/caching_2to3.py
As you can see in that function, some nastyness is required right now to slip
it in w/out duplicating code (hence the first patch).
Patch
New submission from Brian Harring :
Bit like unittest, right now it's rather hard to extend 2to3 for caching
support (and other outputs) w/out duplicating the main function.
Attached is a patch that allows the refactoring tool class to be passed in- at
the very least, this patch is enou
New submission from Brian Harring :
Under py3.1, translation of the attached file works fine- under py3.2, goes
boom however.
Nothing custom in use here in terms of 2to3- there is some compatibility code
in use w/in the module but that's not affecting the translator in my testing.
asse
Brian Harring added the comment:
Any chance of this landing in py2.7? It's really a nasty wrench in the
works for some a mapping object essentially maps onto __slots__ for
memory efficiency...
--
___
Python tracker
<http://bugs.py
Changes by Brian Harring :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue7604>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Brian Harring :
Everything I've read about __slots__, seen w/ them, etc, they're
effectively just a change in the underlying allocation- yes they can
limit the attributes, but that's about it.
Specifically, for general attribute access/mangling, best I ca
New submission from Brian Harring :
Currently, shlex.shlex's internal read_token is a bit of a nasty mess to
follow and pretty poorly performant.
The refactoring I'll be attaching essentially inverts the state machine
approach read_token uses- instead, converting it over to a more
Brian Harring added the comment:
At this point, this affects 2.5, 2.6, and 3.1 (and the normal 1.0.5
release of cElementTree); what's required to get this fixed and queued
up for micro/minor releases?
Sidenote, the patch posted above still leaks a reference-
--
keywords: +patch
Changes by
Brian Harring
:
--
versions: +Python 2.5
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/iss
18 matches
Mail list logo