This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kjohnson
Recipients georg.brandl, kjohnson
Date 2008-08-24.21:53:15
SpamBayes Score 1.8845032e-09
Marked as misclassified No
Message-id <1219614797.59.0.814774740709.issue3671@psf.upfronthosting.co.za>
In-reply-to
Content
These are minor corrections to the What's New in Python 2.6[b3] doc.

Note: the PEP references are to the headers in What's New, not the
  actual PEPs

- PEP 371: The multiprocessing Package
    - "apply() or apply_async, adding a single request, and map() or
      map_async()" All four function names should link to the Pool
      docs. Currently apply and map link to the docs for the builtins
      of the same name; the other two don't link.

- PEP 3101: Advanced String Formatting
    - In the first example, "uid = 'root'" is not needed

- PEP 3112: Byte Literals
    - In the second example, the value of b should not have a space in
      the middle, i.e. bytearray(b'\xe2\x87\xaf\xe3\x89\x84') instead
      of bytearray(b'\xe2\x87\xaf \xe3\x89\x84')

- Other Language Changes
    - next(*iterator*, [*default*]) - the asterisks are not needed
    - "letting complex(repr(cmplx)) will now round-trip values" -> so
      complex(repr(cmplx)) will now round-trip values

- Interpreter Changes
    - "**encoding** or **encoding**:**errorhandler**" - Are the **
      truly part of the syntax?

- New, Improved, and Deprecated Modules
    - heapq.merge() returns a generator; the example should be
      list(heapq.merge([1, 3, 5, 9], [2, 8, 16]))
    - All the new itertools functions return iterators, not lists;
      their examples should also be wrapped in list()
    - itertools.product([1,2], repeat=3)) <- extra )
    - shutil - "ignore_patterns() takes an arbitrary number of
      glob-style patterns and will ignore any files and directories
      that match this pattern." -> ignore_patterns() takes an arbitrary
      number of glob-style patterns and returns a callable which will
      ignore any files and directories that match this pattern.
- The future_builtins module
    - I think all the ** are extraneous.
History
Date User Action Args
2008-08-24 21:53:17kjohnsonsetrecipients: + kjohnson, georg.brandl
2008-08-24 21:53:17kjohnsonsetmessageid: <1219614797.59.0.814774740709.issue3671@psf.upfronthosting.co.za>
2008-08-24 21:53:17kjohnsonlinkissue3671 messages
2008-08-24 21:53:16kjohnsoncreate