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/2003-June/036116.html below:

[Python-Dev] towards a faster Python

[Python-Dev] towards a faster Python [Python-Dev] towards a faster PythonJust van Rossum just@letterror.com
Tue, 10 Jun 2003 16:01:43 +0200
Guido van Rossum wrote:

> IOW:
> 
>   # module foo
>   def open(): return ...
> 
> is fine, but
> 
>   import foo
>   foo.open = 42
> 
> is not.

How about this:

  # module foo
  def open(): ...
  
  # module bar
  import foo
  foo.open = 42

?

(I would assume it to be ok, since the builtin name was already
shadowed.)

Just



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