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/105694.html below:

[Python-Dev] Breaking undocumented API

[Python-Dev] Breaking undocumented API [Python-Dev] Breaking undocumented APINick Coghlan ncoghlan at gmail.com
Wed Nov 17 22:10:01 CET 2010
On Thu, Nov 18, 2010 at 7:08 AM, Éric Araujo <merwok at netwok.org> wrote:
>> We may also revisit the rules used by help() to decide what to include
>> on the auto-generated module implementation.  Note that currently
>> help() output excludes names not in __all__ is the module has __all__
>> defined.  While I advocated this rule earlier in this thread, I now
>> Consider the recent addition of open() to the tokenize module.  It
>> was documented in the manual, but (wisely) excluded from tokenize.__all__.
>
> I’m not sure this was on purpose.  Victor?

Excluding a builtin name from __all__ sounds like a perfectly sensible
idea, so even if it wasn't deliberate, I'd say it qualifies as
fortuitous :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
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