[Python-Dev] PyCObject_AsVoidPtr removed from python 3.2 - is this documented?

Michael Foord fuzzyman at voidspace.org.uk
Mon Mar 7 20:57:09 CET 2011


On 07/03/2011 19:45, Terry Reedy wrote:
> On 3/7/2011 9:47 AM, Antoine Pitrou wrote:
>> On Mon, 7 Mar 2011 19:14:55 +1000
>> Nick Coghlan<ncoghlan at gmail.com>  wrote:
>>> On Mon, Mar 7, 2011 at 6:36 PM, John Arbash Meinel
>>> <john at arbash-meinel.com>  wrote:
>>>>
>>>> Especially since, AIUI, deprecations are suppressed by default now.
>>>
>>> True, but developers are expected to run their tests with them enabled.
>>
>> Where do we actually document this?
>
> Should be, and maybe is, in the nice new dev guide.
>
> Also, the doc for unittest.TextTestRunner says "By default this runner 
> shows DeprecationWarning, PendingDeprecationWarning, and ImportWarning 
> even if they are ignored by default." The idea (discussed here) is 
> that developers of a module should see warnings when testing, even if 
> users of the module do not. I am not sure whether above applies when 
> running through unittest.main, but it should.
>
I believe it does apply through unittest.main() - Ezio would know best 
as he implemented this feature though.

All the best,

Michael

-- 
http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html



More information about the Python-Dev mailing list