python-guide icon indicating copy to clipboard operation
python-guide copied to clipboard

Add a section on Errors and Exceptions

Open feluxe opened this issue 8 years ago • 7 comments

Is there really no section on 'Errors and Exceptions' or did I just not find it?

feluxe avatar May 12 '16 01:05 feluxe

What were you expecting to see there?

sigmavirus24 avatar May 12 '16 17:05 sigmavirus24

  • Some explained examples on how to handle errors properly via exceptions in Python.
  • A link to this list.
  • etc..

Just a basic overview on how to do it.

feluxe avatar May 13 '16 20:05 feluxe

This would be great!

kennethreitz avatar Jun 09 '16 08:06 kennethreitz

@feluxe that list is fantastic — I'm not sure that I've ever seen it before. Agreed 1000% that should be linked to.

kennethreitz avatar Jun 09 '16 08:06 kennethreitz

Jumping in a little bit late but has the section in question been added or is it yet to be done? If not, I would love to help!

ketakee avatar Dec 03 '16 09:12 ketakee

@ketakee It has not!

kennethreitz avatar Dec 14 '16 18:12 kennethreitz

@kennethreitz I am going to do this now.

Looking at putting this link with some explainer context on the Structure page, after Mutable and Immutable Types.

Secondly, adding this from Python for Beginners on Errors and Exceptions in the Learning Python Beginners section, as a reference.

Does this sound like an actionable solution?

moreKEYTAR avatar Mar 16 '18 22:03 moreKEYTAR