A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-September/068866.html below:

[Python-Dev] Exceptions and slicing

[Python-Dev] Exceptions and slicing [Python-Dev] Exceptions and slicingThomas Heller theller at python.net
Wed Sep 20 12:02:21 CEST 2006
Is it an oversight that exception instances do no longer support
slicing in Python 2.5?

This code works in 2.4, but no longer in 2.5:

try:
    open("", "r")
except IOError, details:
    print details[:]

Thomas

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