[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-25 Thread Brett Cannon
Changes by Brett Cannon : Removed file: http://bugs.python.org/file20516/test_trace.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-25 Thread Brett Cannon
Changes by Brett Cannon : Removed file: http://bugs.python.org/file20517/test_gdb.diff ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-25 Thread Brett Cannon
Changes by Brett Cannon : Removed file: http://bugs.python.org/file20518/test_doctest.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-25 Thread Brett Cannon
Changes by Brett Cannon : Removed file: http://bugs.python.org/file20519/test_zipimport_support.diff ___ Python tracker ___ ___ Python-bugs-li

[issue11013] Build of 2.7 svn fails in readline

2011-01-25 Thread Brett Cannon
Brett Cannon added the comment: Did you try a `make distclean` before compiling? -- nosy: +brett.cannon title: Build of CVS version 2.7 fails in readline -> Build of 2.7 svn fails in readline ___ Python tracker

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-25 Thread Brett Cannon
Changes by Brett Cannon : Removed file: http://bugs.python.org/file20523/trace_fxn_protected.diff ___ Python tracker ___ ___ Python-bugs-list

[issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument

2011-01-25 Thread Raymond Hettinger
New submission from Raymond Hettinger : In 3.2, tarfile.Tarfile added a 'filter' argument while deprecating the 'exclude' argument that precedes it positionally. The 'filter' argument needs to be keyword-only argument, or any code that uses it positionally will fail when the 'exclude' argument

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-25 Thread Brett Cannon
Brett Cannon added the comment: OK, here is an updated patch that fixes the introduced failure in test_sys_settrace. This should be ready to go for Python 3.3 once the tree opens up (unless someone reviews it and finds a problem). -- resolution: -> accepted stage: -> patch review ve

[issue11011] More functools functions

2011-01-25 Thread Nick Coghlan
Nick Coghlan added the comment: For flip, const and identity I agree there are already better ways to handle them using either itertools or comprehension syntax. The problem I have with trampoline is that it depends on the function's *return values* being defined in a certain way (i.e. return

[issue11015] Bring test.support docs up to date

2011-01-25 Thread Nick Coghlan
New submission from Nick Coghlan : The test.support docs are there to help CPython devs with writing good unit tests more easily. There are a few additions we've made in recent years that haven't made it into the .rst file, so it is easy to miss useful tools if you don't go looking through the

[issue9124] Mailbox module should use binary I/O, not text I/O

2011-01-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Nice. Thanks Victor. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue11011] More functools functions

2011-01-25 Thread Jason Baker
Jason Baker added the comment: I'm not sure I understand how Raymond's alternative for trampoline works. Let's take the factorial algorithm from wikipedia's page on tail recursion[1]. I've implemented the tail recursive version of the algorithm in Python using trampoline: from functool

[issue9124] Mailbox module should use binary I/O, not text I/O

2011-01-25 Thread R. David Murray
R. David Murray added the comment: Thanks, Victor, you beat me to it :) I'll see if I can review this tomorrow, or if not I can probably do it Thursday. I reverted r88197 because it was incorrect and caused an email test to fail. Once I come up with a test for it I'll fix it correctly. I s

[issue11013] Build of 2.7 svn fails in readline

2011-01-25 Thread Geoge R. Goffe
Geoge R. Goffe added the comment: Brett, THANKS for your response, it's appreciated. Yes I did... I always do that. I use a more or less standard script to build software. I can send the script tomorrow if you would like to see it. Regards and THANKS for your response. George... "It's not

[issue11014] 'filter' argument for Tarfile.add needs to be a keyword-only argument

2011-01-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Also note the 'filter' argument to the add() method is also in Py2.7 though it doesn't have the same issue of the preceding argument being deprecated. For 2.7, I recommend adding a note to the docs and docstring to not use the 'filter' argument positional

<    1   2