[issue1007] [py3k] Fix dumbdbm, which fixes test_shelve (for me); instrument other tests so we catch this sooner (and more directly)

2007-08-24 Thread Collin Winter
Changes by Collin Winter: -- versions: +Python 3.0 -Python 2.6 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1007> __ ___ Python-bugs-list mailing list

[issue1670765] email.Generator: no header wrapping for multipart/signed

2007-08-27 Thread Collin Winter
Collin Winter added the comment: I'd like some tests demonstrating where the current implementation fails and your patch helps, yes. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.or

[issue1002] Patch to rename HTMLParser module to lower_case

2007-08-30 Thread Collin Winter
Collin Winter added the comment: orsenthil: that this will break external modules is completely acceptable. Those modules won't work out-of-the-box with Python 3 anyway, and hopefully Paul's patch to 2to3 will alleviate some of the burden. -- nosy: +co

[issue1066] Implement PEPs 3109, 3134

2007-08-30 Thread Collin Winter
New submission from Collin Winter: This does not implement __context__; it turned out to be much more difficult than expected and will require some more thought. The new raise syntax and the __traceback__ and __cause__ attributes are implemented, however. This does not yet include a docs patch

[issue1066] Implement PEPs 3109, 3134

2007-08-30 Thread Collin Winter
Changes by Collin Winter: __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1066> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue1066] Implement PEPs 3109, 3134

2007-08-30 Thread Collin Winter
Changes by Collin Winter: __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1066> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue1066] Implement PEPs 3109, 3134

2007-08-30 Thread Collin Winter
Changes by Collin Winter: -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1066> __ ___ Python-bugs-list mailing list Uns

[issue1066] Implement PEPs 3109, 3134

2007-08-30 Thread Collin Winter
Collin Winter added the comment: Committed as r57783. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1066> __ ___ Python-bugs-list mailing list Unsubs

[issue1107] 2to3, lambda with non-tuple argument inside parenthesis

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) -Demos and Tools __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1107> __ ___

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- assignee: -> collinwinter components: +2to3 (2.x to 3.x conversion tool) -Demos and Tools nosy: +collinwinter __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1034] [patch] Add 2to3 support for displaying warnings as Python comments

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- assignee: -> collinwinter components: +2to3 (2.x to 3.x conversion tool) -Demos and Tools nosy: +collinwinter __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.o

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-09-06 Thread Collin Winter
Collin Winter added the comment: I believe this was fixed in r57942; can you test to see if you still have this problem? __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1005] Patches to rename Queue module to queue

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1005> __ ___ Python-bugs-list

[issue1002] Patch to rename HTMLParser module to lower_case

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1002> __ ___ Python-bugs-list

[issue1000] Patch to rename *Server modules to lower-case

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1000> __ ___ Python-bugs-list

[issue1000] Patch to rename *Server modules to lower-case

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- nosy: +collinwinter __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1000> __ ___ Python-bugs-list mailing list Unsubs

[issue1619049] sys.intern() 2to3 fixer

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- components: +2to3 (2.x to 3.x conversion tool) -None _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1619049> _ ___

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-09-06 Thread Collin Winter
Changes by Collin Winter: -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1001> __ ___ Python-bugs

[issue1107] 2to3, lambda with non-tuple argument inside parenthesis

2007-09-08 Thread Collin Winter
Collin Winter added the comment: Fixed in r58055, r58056. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue1138] Fixer needed for __future__ imports

2007-09-09 Thread Collin Winter
New submission from Collin Winter: Per http://mail.python.org/pipermail/python-3000/2007-September/010337.html, 2to3 should strip out __future__ imports. This should probably be added to the existing import fixer. -- assignee: collinwinter components: 2to3 (2.x to 3.0 conversion tool

[issue13430] Add a curry function to the functools module

2011-11-19 Thread Collin Winter
Collin Winter added the comment: I assume I was added to this thread since I wrote the functional module, so I'll give my take in that capacity. IMO Python doesn't need a more general version of partial(); indeed, I question the need for partial() as it is today. Querying Google C

[issue5572] distutils ignores the LIBS configure env var

2011-06-16 Thread Collin Winter
Collin Winter added the comment: This wasn't so much a feature request as a request for review. I had already implemented the necessary changes and provided a patch. We found this change necessary when working on Unladen Swallow. -- ___ P

[issue5575] Add env vars for controlling building sqlite, hashlib and ssl

2011-06-16 Thread Collin Winter
Collin Winter added the comment: I don't know that the variables are Python-specific. We used these variables to build various Python modules statically against the versions of openssl and sqlite maintained in Google's internal third-party repository. -- assignee: co

[issue5572] distutils ignores the LIBS configure env var

2011-06-17 Thread Collin Winter
Collin Winter added the comment: I have provided justification in the original patch submission. Without this patch, we were unable to cleanly apply gcc's feedback-directed optimization system to Python. FDO yields significant performance improve

[issue5572] distutils ignores the LIBS configure env var

2011-06-24 Thread Collin Winter
Collin Winter added the comment: I have no interest in forward-porting the patch, closing accordingly. At least there will be a record of this patch for anyone interested in getting a free 10% performance boost for their Python 2.x or 3.[012] systems. -- assignee: tarek

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-07-11 Thread Collin Winter
Changes by Collin Winter : -- nosy: -collinwinter ___ Python tracker <http://bugs.python.org/issue2636> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9285] Add a profile decorator to profile and cProfile

2011-07-13 Thread Collin Winter
Changes by Collin Winter : -- nosy: -collinwinter ___ Python tracker <http://bugs.python.org/issue9285> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1625576] add ability to specify name to os.fdopen

2010-11-11 Thread Collin Winter
Collin Winter added the comment: Christian: yes, that sounds fine. -- assignee: collinwinter -> ___ Python tracker <http://bugs.python.org/issue1625576> ___ _

[issue2507] Exception state lives too long in 3.0

2008-05-13 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- assignee: collinwinter -> resolution: fixed -> status: closed -> open __ Tracker <[EMAIL PROTECTED]> <http://b

[issue2866] syntax error in fix_imports.py

2008-05-15 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Fixed in r63321 -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2876] Write UserDict fixer for 2to3

2008-06-15 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: It's doable, but there's no existing support similar to what fix_imports provides. I won't have time to work on this for the foreseeable future, but if someone is interested in working on this, I'd add this challeng

[issue3123] 2to3 fails

2008-06-16 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Benjamin, you did the recent merges, no? Can you please fix this breakage? -- assignee: collinwinter -> benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3182] 2to3 Slight Patch

2008-06-24 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: I'm not wild about making this change for such a minimal improvement (which I would guess falls within the margin of error), since it will limit extensibility and testability. I think I'd be fine with it if the benefit

[issue3218] 2to3 Fix_imports optimization

2008-07-01 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: The change to pytree.py doesn't add much speed benefit over the fix_imports.py change, and causes a test to fail. The fix_imports.py change, on the other hand, takes the test suite run time from 8m31s down to 1m45s -- this nee

[issue3238] backport python 3.0 language functionality to python 2.6 by adding 7 opcodes to ceval.c

2008-07-02 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: I don't know why this is assigned to me. -- assignee: collinwinter -> components: +None -2to3 (2.x to 3.0 conversion tool) ___ Python tracker <[EMAIL PROTECTED]> <http://bu

[issue3316] Proposal for fix_urllib

2008-07-10 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: - You should add tests to test_fixers to ensure that this does what you expect. This will make it much easier for others to modify this fixer later. You can probably just reuse the tests Brett initially added. - There's a

[issue3182] 2to3 Slight Patch

2008-07-13 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: So, revisiting this... On the face of it, I'm not convinced that the isinstance(x, Leaf) -> type(x) is Leaf changes are correct: certain fixers have in the past utilized their own subclasses of Node, and I can foresee this being

[issue3218] 2to3 Fix_imports optimization

2008-07-13 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: fix_imports.diff fails to apply cleanly against HEAD of fix_imports.py. Also, fix_imports2 now inherits from fix_imports, so it needs to be fixed as well. + yield """power< module_name=%r +

[issue3417] make the fix_dict fixer smarter

2008-07-21 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: I think the proper way to address this is via the confidence levels that Rodrigo Bernardo Pimentel is adding for his Summer of Code project. The idea is that you'll be able to say "let me inspect any changes where the fixe

[issue3358] 2to3 Iterative Wildcard Matching

2008-07-24 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Yeah, benchmarking this change against the unmodified HEAD, the iterative version runs the test suite much slower. Let's file this under the "didn't work out" category. It was a good idea that you obviated with th

[issue3358] 2to3 Iterative Wildcard Matching

2008-07-27 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: One option would be to use the faster recursive version, falling back to the iterative version if you hit a "RuntimeError: maximum recursion depth exceeded" error. This would keep the speed for most files, but would allow 2to

[issue3358] 2to3 Iterative Wildcard Matching

2008-07-27 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Why include a command-line flag? Would you know when to use it? In what cases would you want to second-guess the app like that? ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3480] Fix_imports pattern optimization

2008-08-01 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Committed as r65397. Nice work! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3358] 2to3 Iterative Wildcard Matching

2008-08-01 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Nick, what do you think about that? ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3358> ___

[issue2470] Need fixer for dl (removed) -> ctypes module

2008-08-04 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: I'd prefer it if someone better-versed in ctypes/dl wrote this fixer (or at the very least, someone with access to Windows to test the translation). ___ Python tracker <[EMAIL PRO

[issue3606] 2to3: commands varible replaced by subprocess

2008-08-19 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Victor: that's a common problem in most fixers. The analysis needed to statically determine whether a given identifier is a module or not is expensive and heuristic. One of our Summer of Code students has been working on adding a

[issue3448] Multi-process 2to3

2008-10-01 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: I believe the only issue I recall was that the patch didn't work out-of-the-box for Python 2.6 (changed imports, PEP 8 compliance changes in the multiprocess module). Has that been fixed? I disagree with Benjamin: this is an i

[issue214033] re incompatibility in sre

2008-10-01 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- nosy: -collinwinter ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue214033> ___ __

[issue3448] Multi-process 2to3

2008-10-02 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: "I don't think we should force people using it as a library to go multiprocess." I don't understand this. What downsides do you perceive in multiprocessing support? Multiprocessing is a significant speed-up for

[issue3448] Multi-process 2to3

2008-10-02 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: You have yet to articulate a reason for that preference. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2532] file that breaks 2to3 (despite being correct python)

2008-10-03 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Fixed in r66775. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3358] 2to3 Iterative Wildcard Matching

2008-10-03 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Applied as r66775. I used the example file from issue2532 as test data. Thanks for the patch, Nick! -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PR

[issue3260] fix_imports does not handle intra-package renames

2008-10-03 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- assignee: collinwinter -> ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3260> ___ __

[issue3448] Multi-process 2to3

2008-10-07 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Benjamin, what "complexity" did you encounter when trying to use lib2to3 in your own work? Unless there's a concrete use-case where the mere existence of multiprocessing support (as opposed to actually enabling that sup

[issue1107887] Speed up function calls/can add more introspection info

2008-10-11 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- nosy: +collinwinter ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1107887> ___ __

[issue1518] Fast globals/builtins access (patch)

2010-03-17 Thread Collin Winter
Collin Winter added the comment: Antoine: yes, this optimization is already implemented in the Unladen JIT. -- ___ Python tracker <http://bugs.python.org/issue1

[issue8566] 2to3 should run under python 2.5

2010-04-28 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter ___ Python tracker <http://bugs.python.org/issue8566> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2179] with should be as fast as try/finally

2008-02-24 Thread Collin Winter
Changes by Collin Winter: -- nosy: +collinwinter __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2179> __ ___ Python-bugs-list mailing list Unsubs

[issue2354] cmp argument to list.sort()/sorted() should raise a Py3K warning

2008-03-19 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: There's currently no central repository that I know of. We should have an informational PEP on the subject; would you like to start one with sort/sorted keys as the seed? I've got some notes I can contribute, and I'd like

[issue2366] Fixer for new metaclass syntax is needed

2008-03-19 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: A quick test indicates that the old way doesn't work anymore. __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue2431] 2to3 is rather slow

2008-03-20 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Yes, and each new fixer makes it slower. The biggest problem is the pattern matching system, which tends to take 99% of the running time. I've talked to several people who are interested in optimizing 2to3 as a GSoC project, t

[issue2431] 2to3 is rather slow

2008-03-20 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Keep in mind that not all fixers use PATTERN, for example fix_ne. __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2446] 2to3 translates "import foobar" to "import .foobar" rather than "from . import foobar"

2008-03-21 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- assignee: collinwinter -> David Wolever nosy: +David Wolever __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2470] Need fixer for dl (removed) -> ctypes module

2008-03-24 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Can you list the mapping you'd like to see? I've never used dl or ctypes, so I'm not immediately sure how to port from one to the other. __ Tracker <[EMAIL PROTECTED]> <ht

[issue2431] 2to3 is rather slow

2008-03-25 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: With the patch applied, all tests in test_fixers fail. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2431> __

[issue2431] 2to3 is rather slow

2008-03-25 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: The updated version of the patch passes the tests and yields a 19-20% speed increase in the running time of test_all_fixers and the time taken for 2to3 to translate itself. I've sent David some comments on the patch, and once it&#

[issue2453] fix_except needs to allow for empty excepts

2008-03-27 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Fixed in r61983. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs

[issue2338] Backport reload() moving to imp.reload()

2008-03-28 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- components: +2to3 (2.x to 3.0 conversion tool) __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2338> __

[issue2446] 2to3 translates "import foobar" to "import .foobar" rather than "from . import foobar"

2008-03-28 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: The problem with the "fix" in r61755 is that it doesn't distinguish between stdlib and non-stdlib imports: "import os" becomes "from . import os", which is clearly wrong. ___

[issue2446] 2to3 translates "import foobar" to "import .foobar" rather than "from . import foobar"

2008-03-28 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Looking at it, I was confused by a quirk introduced into test_fixers: Test_import's check_both() helper method does the wrong thing in this case: a = "import os" self.check_both(a, a) # Fails, tries to translate &

[issue2532] file that breaks 2to3 (despite being correct python)

2008-04-02 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Yes, this is a known problem with the pattern matching system. -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2596] 2to3's fix_range needs fix_dict's context information

2008-04-08 Thread Collin Winter
New submission from Collin Winter <[EMAIL PROTECTED]>: 2to3 should be able to translate the code snippet below successfully. First guess: generalizing fix_dict's notion of special contexts would do the trick. import random numbers = range(1, 50) chosen = [] while len(chosen) <

[issue2596] 2to3's fix_xrange needs fix_dict's context information

2008-04-08 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Fixed in r62232. Verified that the sample code below runs successfully under Python 3.0a4+ (r62209) after being run through 2to3. -- resolution: -> fixed status: open -> closed title: 2to3's fix_range needs f

[issue2454] sha and md5 fixer

2008-04-08 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2454> __ ___ Python-b

[issue2660] 2to3 throws a utf8 decode error on a iso-8859-1 string

2008-04-19 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: 2to3 running under Python 2.5.1 handles this file just fine. 2to3 running under 3.0a4+ (r62404) fails as detailed below. However, that file doesn't run correctly under Python itself: [EMAIL PROTECTED]:~/src/python/py3k$ ./p

[issue2660] Py3k fails to parse a file with an iso-8859-1 string

2008-04-19 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- title: 2to3 throws a utf8 decode error on a iso-8859-1 string -> Py3k fails to parse a file with an iso-8859-1 string __ Tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2412] Check 2to3 for support of print function.

2008-04-25 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Reviewing... __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2412> __ ___ Python-bugs-list mailing list

[issue2734] 2to3 converts long(itude) argument to int

2008-05-01 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Agreed. There's code in fix_next to detect this kind of case. I'll see what I can do about generalizing it to support fix_long. __ Tracker <[EMAIL PROTECTED]> <http://

[issue2734] 2to3 converts long(itude) argument to int

2008-05-01 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: It *could* be implemented for all fixers, but since it's fairly expensive, I'd rather limit it to cases where the problem is more likely to occur (for example, unicode -> str doesn't

[issue2507] Exception state lives too long in 3.0

2008-05-06 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: Looks good to me. Antoine, do you have commit privileges? __ Tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-05-06 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: I believe you forgot to add fix_operator.py to this patch. -- components: +Build, Demos and Tools, Distutils, Documentation, Documentation tools (Sphinx), Extension Modules, IDLE, Installation, Interpreter Core, Librar

[issue2370] operator.{isCallable,sequenceIncludes} needs a fixer

2008-05-06 Thread Collin Winter
Changes by Collin Winter <[EMAIL PROTECTED]>: -- components: -Build, Demos and Tools, Distutils, Documentation, Documentation tools (Sphinx), IDLE, Installation, Interpreter Core, Library (Lib), Macintosh, Regular Expressions, Tests, Tkinter, Unicode, Windows, XML,

[issue2805] 2to3 doesn't correct divisions

2008-05-09 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: My gut feeling is that the number of cases where both operands are written as literals is exceedingly small when compared to the number of cases where one or both is an identifier. Since 2to3 doesn't support type inference, we

[issue2805] 2to3 doesn't correct divisions

2008-05-09 Thread Collin Winter
Collin Winter <[EMAIL PROTECTED]> added the comment: I say do it before the GSoC projects complete. Those projects will take months, and we can't stop development for that long. __ Tracker <[EMAIL PROTECTED]> <http://bugs.

[issue4074] Building a list of tuples has non-linear performance

2008-12-16 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter ___ Python tracker <http://bugs.python.org/issue4074> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4688] GC optimization: don't track simple tuples and dicts

2009-01-07 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter ___ Python tracker <http://bugs.python.org/issue4688> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2262] Helping the compiler avoid memory references in PyEval_EvalFrameEx

2009-01-07 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter ___ Python tracker <http://bugs.python.org/issue2262> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4074] Building a list of tuples has non-linear performance

2009-01-08 Thread Collin Winter
Collin Winter added the comment: Looking at gctrigger5.patch, my only thought is that it would be helpful for posterity to include more verbose comments about why this new behaviour was chosen; chunks of Martin's proposal from the referenced python-dev thread could be included ver

[issue4074] Building a list of tuples has non-linear performance

2009-01-09 Thread Collin Winter
Collin Winter added the comment: LGTM. Go ahead and commit this. ___ Python tracker <http://bugs.python.org/issue4074> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1479611] speed up function calls

2009-01-12 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter, jyasskin ___ Python tracker <http://bugs.python.org/issue1479611> ___ ___ Python-bugs-list mailing list Unsub

[issue4715] optimize bytecode for conditional branches

2009-01-13 Thread Collin Winter
Collin Winter added the comment: I've backported condbranches-plus.patch to trunk, and I'm getting these results: PyBench: 1.84-2.21% faster 2to3: 3.83% faster Spitfire: 6.13-6.23% faster PyBench was run with -w=1; 2to3 is translating its entire source directory five times; S

[issue4715] optimize bytecode for conditional branches

2009-01-13 Thread Collin Winter
Collin Winter added the comment: On Tue, Jan 13, 2009 at 3:25 PM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > Hello, > >> I've backported condbranches-plus.patch to trunk, and I'm getting these >> results: > > Thanks! > >&

[issue1700288] Armin's method cache optimization updated for Python 2.6

2009-01-15 Thread Collin Winter
Collin Winter added the comment: Looks like this was re-applied in r59943 and r59944. Thanks for taking care of this, Amaury. -- nosy: +collinwinter, jyasskin resolution: accepted -> fixed status: open -> closed ___ Python tracker

[issue4941] Tell GCC Py_DECREF is unlikely to call the destructor

2009-01-16 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter, jyasskin ___ Python tracker <http://bugs.python.org/issue4941> ___ ___ Python-bugs-list mailing list Unsub

[issue4896] Faster why variable manipulation in ceval.c

2009-01-16 Thread Collin Winter
Collin Winter added the comment: Another data point: I've tested this patch applied to trunk on Core 2 Duo and Opteron 8214 HE machines using both gcc 4.0.3 and 4.3.1, and I'm seeing mixed results. Pybench with warp 1 is between ~1.5% slower and ~1% faster, depending on gcc versi

[issue1518] Fast globals/builtins access (patch)

2009-01-23 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter, jyasskin type: feature request -> performance ___ Python tracker <http://bugs.python.org/issue1518> ___ _

[issue2459] speedup for / while / if with better bytecode

2009-01-26 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter ___ Python tracker <http://bugs.python.org/issue2459> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5084] unpickling does not intern attribute names

2009-02-02 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter, jyasskin ___ Python tracker <http://bugs.python.org/issue5084> ___ ___ Python-bugs-list mailing list Unsub

[issue5176] Special-case string formatting in BINARY_MODULO implementation

2009-02-06 Thread Collin Winter
New submission from Collin Winter : This patch speeds up the string formatting % operator by avoiding the unnecessary indirection in PyNumber_Remainder(). This particularly benefits templating systems that do a lot of string formatting via %. Performance tested with gcc 4.3.1 x86_64 on Linux

[issue4751] Patch for better thread support in hashlib

2009-02-12 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter, jyasskin ___ Python tracker <http://bugs.python.org/issue4751> ___ ___ Python-bugs-list mailing list Unsub

  1   2   >