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/2009-April/088333.html below:

[Python-Dev] Possible py3k io wierdness

[Python-Dev] Possible py3k io wierdness [Python-Dev] Possible py3k io wierdnessNick Coghlan ncoghlan at gmail.com
Mon Apr 6 13:13:36 CEST 2009
Brian Quinlan wrote:
> - you need the cooperation of your subclasses i.e. they must call
>   super().flush() in .flush() to get correct close behavior (and this
>   represents a backwards-incompatible semantic change)

Are you sure about that? Going by the current _pyio semantics that
Antoine posted, it looks to me that it is already the case that
subclasses need to invoke the parent flush() call correctly to avoid
breaking the base class semantics (which really isn't an uncommon
problem when it comes to writing correct subclasses).

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