[issue3529] Remove long integer literals from Python 3.0 tutorial

2008-08-08 Thread Jim Sizelove
New submission from Jim Sizelove <[EMAIL PROTECTED]>: The distinction between integers and long integers has been removed in Python 3.0. The attached patch file changes the long literals to Python 3.0 integer literals in the Floating Point Arithmetic section of the tu

[issue3525] Changes to exceptions not reflected in tutorial examples.

2008-08-07 Thread Jim Sizelove
Jim Sizelove <[EMAIL PROTECTED]> added the comment: The conversations that led to the removal of __getitem__ from Exceptions can be found in issue2291 and issue2379. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3525] Changes to exceptions not reflected in tutorial examples.

2008-08-07 Thread Jim Sizelove
New submission from Jim Sizelove <[EMAIL PROTECTED]>: PEPs 3109 and 3110 describe changes to Exceptions. The attached patch file makes changes to the tutorial to bring it in line with the changes to errors and exceptions implemented in Python 3.0. I'll make a comment about t

[issue3524] IOError when attempting negative seek in file (Python 3.0 tutorial)

2008-08-07 Thread Jim Sizelove
New submission from Jim Sizelove <[EMAIL PROTECTED]>: The Input and Output section of the Python 3.0 tutorial (http://docs.python.org/dev/3.0/tutorial/inputoutput.html) shows an example of seeking in a negative direction from the end of a file. I get an IOError when attempting to r

[issue3523] Reverse quotes in Python 3.0 tutorial

2008-08-07 Thread Jim Sizelove
New submission from Jim Sizelove <[EMAIL PROTECTED]>: The Input and Output section of the tutorial says: "Reverse quotes (``) are equivalent to repr(), but they are no longer used in modern Python code and are removed in future versions of the language." Is now that future time

[issue3522] zip() function example in tutorial

2008-08-07 Thread Jim Sizelove
New submission from Jim Sizelove <[EMAIL PROTECTED]>: The zip() function is now a generator in Python 3.0. There is an example of using the zip() function in the Python 3.0 tutorial, http://docs.python.org/dev/3.0/tutorial/datastructures.html. When running the example, I got: >>&g

[issue3503] Calls to print() function in Python 3.0 tutorial

2008-08-04 Thread Jim Sizelove
New submission from Jim Sizelove <[EMAIL PROTECTED]>: I decided to learn more about the coming changes in Python 3.0 by installing the beta and working through the tutorial. I found some discrepancies between the code examples and the output I got. The attached patch shows several places