Mark Diekhans added the comment:
calling setpgid() is a common post-fork task that would need to be an explicit
parameter to Popen when preexec_fn goes away
--
nosy: +diekhans
___
Python tracker
<https://bugs.python.org/issue38
Mark Diekhans added the comment:
any chance of getting this merged? A work-around is not obvious
--
nosy: +diekhans
___
Python tracker
<https://bugs.python.org/issue27
New submission from Mark Diekhans :
https://docs.python.org/3/tutorial/controlflow.html doest not discuss / and *
arguments (end of positional, keyword required)
--
assignee: docs@python
components: Documentation
messages: 326277
nosy: diekhans, docs@python
priority: normal
severity
Mark Diekhans <ma...@kermodei.com> added the comment:
The trackback is not helpful if the attribute name is in a
variable. It also doesn't explain why the error occurred.
While I would not rate this as a high priority, I don't see an
argument for having uninformative error messages.
R
New submission from Mark Diekhans <ma...@kermodei.com>:
done a setattr on a property gives a very unhelpful error message
AttributeError: can't set attribute
it neither indicates the name of the attribute that failed or the cause.
an error such as "can't set propert
Changes by Mark Diekhans <ma...@kermodei.com>:
--
nosy: +alexandre.vassalotti
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python
New submission from Mark Diekhans:
python3 pickle does not serialize the __cause__ field, as shown by the attached
demo program.
--
components: Library (Lib)
files: cause_pickle.py
messages: 287163
nosy: diekhans
priority: normal
severity: normal
status: open
title: pickle does
Mark Diekhans ma...@kermodei.com added the comment:
Allowing loadTestsFromTestCase() to take either a testCaseClass
or a (testCaseClass, param) tuple, where the param is then past
to the __init__ function might do the trick. One param is sufficient, since it
can
be a container for any number
Mark Diekhans ma...@kermodei.com added the comment:
R. David Murray rdmur...@bitdance.com added the comment:
Meaning you want to run the same test suite with a variety of
different DB connections? That seems like a reasonable use
case.
This is for external parameterization of a test
Mark Diekhans ma...@kermodei.com added the comment:
The lack of the ability to pass a parameter to a test case is a very
frustrating restriction with unittest. The frequent need if for a database
connection for testing database related classes.
Yes, there are lots of other ways to work around
10 matches
Mail list logo