[issue8564] Update documentation on doctest/unittest2 integration

2010-04-28 Thread Peter Fein
New submission from Peter Fein pf...@pobox.com: The documentation on integrating doctests in a file of unittests is confusing and out of date. This patch updates the documentation to use unittest2 test discovery. -- assignee: d...@python components: Documentation files

[issue8564] Update documentation on doctest/unittest2 integration

2010-04-28 Thread Peter Fein
Peter Fein pf...@pobox.com added the comment: See http://lists.idyll.org/pipermail/testing-in-python/2010-April/003039.html for discussion -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8564

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2008-06-25 Thread Peter Fein
Peter Fein [EMAIL PROTECTED] added the comment: Is this going to make the 2.6 release? The lack of this option causes grief on MacPorts. Just wondering if there's anything I could do to move this along, as a cursory reading shows everyone to be happy... -- nosy: +pfein

[issue1868] threading.local doesn't free attrs when assigning thread exits

2008-01-18 Thread Peter Fein
New submission from Peter Fein: threading.local doesn't free attributes assigned to a local() instance when the assigning thread exits. See attached patch for _threading_local.py doctests. Per discussion with Crys and arkanes in #python, this may be an issue with PyThreadState_Clear

pyparsing: parseString confusion

2005-03-11 Thread Peter Fein
text (as would be required with parseString) However: from pyparsing import * alphas 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' word=Word(alphas) word.parseString(foo888) (['foo'], {}) I'd expect this to raise an exception. What am I missing here? -- Peter Fein

Pyparsing: Non-greedy matching?

2004-12-30 Thread Peter Fein
out how to fix it. ;) Is there a way of writing something similar to RE's .*? ? --Pete -- Peter Fein [EMAIL PROTECTED] 773-575-0694 Basically, if you're not a utopianist, you're a schmuck. -J. Feldman -- http://mail.python.org/mailman/listinfo/python-list

Re: Pyparsing: Non-greedy matching?

2004-12-30 Thread Peter Fein
=False, joinString=) data=Combine(OneOrMore(complex), adjacent=False, joinString= ) title4=title_open+data But that would break for closers with more than one . Need to stop thinking like these are regexps. Thanks - this is a great tool. ;) -- Peter Fein [EMAIL PROTECTED