A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-November/105128.html below:

[Python-Dev] Cleaning-up the new unittest API

[Python-Dev] Cleaning-up the new unittest API [Python-Dev] Cleaning-up the new unittest APIBarry Warsaw barry at python.org
Mon Nov 1 01:45:21 CET 2010
On Oct 31, 2010, at 09:54 AM, Gregory P. Smith wrote:

>> - moving the documentation to an "advanced" or "complete reference" section
>>
>
>Agreed, I perfer simply deemphasizing these methods by reorganizing the
>documentation and mentioning in their documentation to, "just use
>assertEqual."  De-documenting them is the first step towards causing
>unnecessary pain by taking either of the next two steps:
>
>- make the methods non-public by prepending an underscore
>> - leaving them public but adding deprecation warnings to the code
>>
>
>Please do not make any existing released methods from the unittest module
>non-public or add any deprecation warnings.  That will simply cause
>unnecessary code churn and pain for people porting their code from one
>version to the next without benefiting anyone.

I was hoping someone would get my not-too-subtle hint. :)

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20101031/5d3d2e17/attachment.pgp>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4