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/2006-September/068572.html below:

[Python-Dev] Py2.5 issue: decimal context manager misimplemented, misdesigned, and misdocumented

[Python-Dev] Py2.5 issue: decimal context manager misimplemented, misdesigned, and misdocumentedNick Coghlan ncoghlan at gmail.com
Sat Sep 2 17:27:03 CEST 2006
John J Lee wrote:
> On Thu, 31 Aug 2006, Nick Coghlan wrote:
> [...]
>> I committed this fix as 51664 on the trunk (although the docstrings are still
>> example free because doctest doesn't understand __future__ statements).
> [...]
> 
> Assuming doctest doesn't try to parse the Python code when SKIP is 
> specified, I guess this would solve that little problem:
> 
> http://docs.python.org/dev/lib/doctest-options.html
> 
> """
> SKIP

A quick experiment suggests that using SKIP will solve the problem - fixing 
that can wait until 2.5.1 though. The localcontext() docstring does actually 
contain an example - it just isn't in a form that doctest will try to execute.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
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