[issue16474] More code coverage for imp module

2012-11-14 Thread alejandro david weil
New submission from alejandro david weil: Add some 5% more code-coverage for imp module in tests. -- components: Tests files: imp_test_patch.diff keywords: patch messages: 175597 nosy: brett.cannon, tenuki priority: normal severity: normal status: open title: More code coverage for imp

[issue12161] StringIO AttributeError instead of ValueError after close..

2011-05-23 Thread alejandro david weil
New submission from alejandro david weil : python 2.7 documentation: file:///usr/share/doc/python-doc/html/library/stringio.html#StringIO.StringIO.close (or: http://docs.python.org/library/stringio.html#StringIO.StringIO.close ) says: """StringIO.close() Free the memory buffer

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-06 Thread alejandro david weil
alejandro david weil added the comment: Yes it is. I copied both versions but forgot to specify the second is in 2.7. This is read in the current (2.7) documentation: # from: http://docs.python.org/library/functions.html?highlight=xrange#xrange islice(count(start, step), (stop-start+step-1

[issue12003] documentation: alternate version of xrange seems to fail.

2011-05-04 Thread alejandro david weil
New submission from alejandro david weil : Python's documentation includes 2 source codes for alternate xrange implementations, which, at least in my tests, give unexpected results. # from file:///usr/share/doc/python2.6-doc/html/library/functions.html#xrange takewhile(lambda x:

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-06-21 Thread alejandro david weil
alejandro david weil <[EMAIL PROTECTED]> added the comment: Some debugging helper code and my conclutions of one work day: debughelper.tgZ: -test_broken1/2.py one does triggers the bug, the other doesn't) -rtest.sh executes boths and compares its outputs -frameob

[issue2378] UnboundLocalError when trying to raise exceptions inside execfile

2008-06-21 Thread alejandro david weil
alejandro david weil <[EMAIL PROTECTED]> added the comment: Shorter trigger code.. -- nosy: +tenuki Added file: http://bugs.python.org/file10698/test_broken3.py ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho