Ross Boylan added the comment:
As someone who finds the current behavior surprising, and having lost
significant time because of it, I have a couple of comments.
1) If the venv created a python3 (or 2, as appropriate) file, would the
expected behavior with !#/usr/bin/env python3 be restored
Duncan Booth wrote
Ross Boylan ross at biostat.ucsf.edu wrote:
As an extension or alternate, could there be a decorator like
@source_line(lineno, filename)
for classes and methods that could do the conversion
and methods that could do the conversion on the fly? I
don't know if there's a way to go from the function (or class) object
the decorator receives to the AST.
Comments?
Ross Boylan
--
http://mail.python.org/mailman/listinfo/python-list
, not one with notify() and a single thread waiting (which is
what I'm thinking about). The thread does say there is no return value;
it seems to me it would be useful to document that if it's still true
(or True :).
Can anyone help me understand what's going on?
Thanks.
Ross Boylan
--
http
On Tue, 2012-01-24 at 13:54 -0800, Ross Boylan wrote:
Is it safe to use unittest with threads?
In particular, if a unit test fails in some thread other than the one
that launched the test, will that information be captured properly?
A search of the net shows a suggestion that all failures
anything definitive.
If it matters, I'm using CPython 2.7.
Thanks. If you're using email, I'd appreciate a cc.
Ross Boylan
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 2011-10-26 at 12:48 -0700, Ross Boylan wrote:
I want to replace every \ and (the two characters for backslash and
double quotes) with a \ and the same character, i.e.,
\ - \\
- \
I'd like to thank Ian, Dave, MRAB, and John for their helpful responses.
I hadn't realized
on the reply.
Thanks.
Ross Boylan
--
http://mail.python.org/mailman/listinfo/python-list
)
produces only a single log message indicating an associated object of a.
The docs lead me to expect that I'd see one message from a and
another from root.
When I add handlers (e.g., FileHandlers) I do get the message recorded
by each.
Can anyone explain what's going on?
Thanks.
Ross Boylan