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/2002-September/028655.html below:

[Python-Dev] Call for clarity ( clarification ;-) )

[Python-Dev] Call for clarity ( clarification ;-) )Martin Sjögren md9ms@mdstud.chalmers.se
06 Sep 2002 17:10:21 +0200
--=-Ph2A8jkujuq9XkvZKUg+
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

fre 2002-09-06 klockan 16.41 skrev Guido van Rossum:
> > my only objection is that the case where fork fails isn't documented.
> > with a C background one expects a negative number, when in fact an=20
> > exception is raised...
>=20
> Ah jeez.  Even with only half a day of Python you should've figured
> out that Python nearly always raises an exception where the
> corresponding C code returns an error value.

It would, however, be extremely useful if the documentation spelled out
*which* exceptions can be raised! Kind of hard to write a decent
try/except clause if you don't know what to expect.


Regards,
Martin

--=-Ph2A8jkujuq9XkvZKUg+
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad
	meddelandedel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA9eMVdGpBPiZwE9FYRAhetAJ4wknrWuT3HVjosDJBu7doPUPNQWACgrm34
cKfO5uHaFBC4JImx5b97vig=
=kukK
-----END PGP SIGNATURE-----

--=-Ph2A8jkujuq9XkvZKUg+--




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