[issue2162] unittest.findTestCases undocumented

2008-02-22 Thread Paul Winkler

Changes by Paul Winkler:


--
components: Documentation
nosy: slinkp
severity: normal
status: open
title: unittest.findTestCases undocumented
versions: Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2162>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2162] unittest.findTestCases undocumented

2008-02-22 Thread Paul Winkler

New submission from Paul Winkler:

I cannot find anything about findTestCases on any of the library doc
pages, certainly not at http://docs.python.org/lib/unittest-contents.html
where I'd expect it to be.

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2162>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-03-17 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

I'm working on this (at the pycon sprint).

--
nosy: +slinkp

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-03-18 Thread Paul Winkler

Changes by Paul Winkler <[EMAIL PROTECTED]>:


--
nosy: +loewis

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-03-18 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

The attached patch implements a command-line option to disable loading
of $HOME/.pydistutils.cfg.

After talking to Martin Loewis, I decided not to implement the override
part, because if it's a one-time thing you can just pass the settings on
the command line; and if you have two configurations you want to use
frequently, you can just use two user accounts.

The hard part was writing tests, since the existing code was untested
and is environment-sensitive. See the comments in the patch re. what I
still don't like about it. I would like to have a less evil test setup
and teardown, but I'm going on vacation tomorrow so I won't be able to
look at this again until April.

--
keywords: +patch
Added file: http://bugs.python.org/file9762/python_distutils_1180.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-03-18 Thread Paul Winkler

Changes by Paul Winkler <[EMAIL PROTECTED]>:


Removed file: http://bugs.python.org/file9762/python_distutils_1180.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-03-18 Thread Paul Winkler

Changes by Paul Winkler <[EMAIL PROTECTED]>:


Added file: http://bugs.python.org/file9763/python_distutils_1180.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1753732] xmlrpclib.Binary doesn't say which base64 spec it implements

2008-04-23 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

looks good to me, thanks!

_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1753732>
_
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-04-25 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

Here's an alternate patch that uses a bit of dependency injection to
avoid the need for monkeypatches in setup/teardown. This means some
trivial changes to Distribution.__init__().  I slightly prefer this
approach, but some might argue it's an example of "test logic in
production".

I also added a line about the new option in Doc/install/index.rst.

Since I don't have checkin privileges, I will stop here. Can somebody
upstream (Martin?) please take one of these patches and apply it? Or
suggest further changes to either of these patches?  Or ... ?
Thanks.

Added file: http://bugs.python.org/file10105/python_distutils_1180_2.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-04-27 Thread Paul Winkler

Changes by Paul Winkler <[EMAIL PROTECTED]>:


Removed file: http://bugs.python.org/file10105/python_distutils_1180_2.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-04-27 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

Phillip, thanks, I missed that script_args is always passed by
core.setup(). I'm replacing the patches with two new versions that check
self.script_args instead of sys.argv (and assumes false if for some
reason script_args isn't passed).

We can't check for it in Distribution.parse_command_line() because that
doesn't get called until after loading the config files.

Added file: http://bugs.python.org/file10121/python_distutils_1180.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-04-27 Thread Paul Winkler

Changes by Paul Winkler <[EMAIL PROTECTED]>:


Removed file: http://bugs.python.org/file9763/python_distutils_1180.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-04-27 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

and here's the revised version of the dependency-injection approach.

Added file: http://bugs.python.org/file10122/python_distutils_1180_2.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-04-28 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

Phillip, here's another revision of the monkeypatch-in-setUp() approach,
simplified per your suggestions.

Added file: http://bugs.python.org/file10129/python_distutils_1180_3.patch

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-04-28 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

In what way is the comment in core.py inaccurate? I only added the
phrase "and override config files", which is an important side effect of
parse_command_line().

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2721] unittest.makeSuite undocumented and "obsolete" - but what to use instead?

2008-04-29 Thread Paul Winkler

New submission from Paul Winkler <[EMAIL PROTECTED]>:

A comment in unittest.py says "these functions should be considered
obsolete". But I've seen a lot of code in the wild still using
unittest.makeSuite(MyTestCase)... in fact it's used frequently in the
python standard library tests.

And I don't see a replacement for this use case: given a subclass of
TestCase, conveniently turn all its test* methods into a suite. How are
we supposed to do that now?

Either makeSuite should be documented, or a suitable replacement should
be provided and documented.

--
assignee: georg.brandl
components: Documentation
messages: 65986
nosy: georg.brandl, slinkp
severity: normal
status: open
title: unittest.makeSuite undocumented and "obsolete" - but what to use instead?
versions: Python 2.4, Python 2.5

__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2721>
__
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2008-12-08 Thread Paul Winkler

Paul Winkler <[EMAIL PROTECTED]> added the comment:

Whatever happened with this? I don't see it mentioned in the NEWS file
for the 2.6 line.

___
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1180>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1349732] urllib.urlencode provides two features in one param

2016-06-30 Thread Paul Winkler

Paul Winkler added the comment:

This was marked as a duplicate of http://bugs.python.org/issue8788 but the doc 
changes in that issue, and the current docs for 2.7, do not mention anything 
related to handling of unicode nor how `doseq` affects unicode-related 
behavior.  If we can agree on wording, does 2.7 still get documentation fixes?

--
nosy: +slinkp

___
Python tracker 
<http://bugs.python.org/issue1349732>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13831] get method of multiprocessing.pool.Async should return full traceback

2013-04-17 Thread Paul Winkler

Changes by Paul Winkler :


--
nosy: +slinkp

___
Python tracker 
<http://bugs.python.org/issue13831>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13831] get method of multiprocessing.pool.Async should return full traceback

2013-04-17 Thread Paul Winkler

Changes by Paul Winkler :


--
versions: +Python 3.3

___
Python tracker 
<http://bugs.python.org/issue13831>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com