Skip to content

Commit 88b95f9

Browse files
committed
Fix some rst errors in NEWS.
1 parent 85a2394 commit 88b95f9

1 file changed

Lines changed: 34 additions & 36 deletions

File tree

Misc/NEWS

Lines changed: 34 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ What's New in Python 3.3.0 Alpha 4?
1010
Core and Builtins
1111
-----------------
1212

13-
- Issue #14705: The PyArg_Parse() family of functions now support the 'p'
14-
format unit, which accepts a "boolean predicate" argument. It converts
15-
any Python value into an integer--0 if it is "false", and 1 otherwise.
13+
- Issue #14705: The PyArg_Parse() family of functions now support the 'p' format
14+
unit, which accepts a "boolean predicate" argument. It converts any Python
15+
value into an integer--0 if it is "false", and 1 otherwise.
1616

1717
Library
1818
-------
1919

2020
- Issue #14127: The os.stat() result object now provides three additional
21-
fields: st_ctime_ns, st_mtime_ns, and st_atime_ns, providing those times
22-
as an integer with nanosecond resolution. The functions os.utime(),
23-
os.lutimes(), and os.futimes() now accept a new parameter, ns, which
24-
accepts mtime and atime as integers with nanosecond resolution.
21+
fields: st_ctime_ns, st_mtime_ns, and st_atime_ns, providing those times as an
22+
integer with nanosecond resolution. The functions os.utime(), os.lutimes(),
23+
and os.futimes() now accept a new parameter, ns, which accepts mtime and atime
24+
as integers with nanosecond resolution.
2525

26-
- Issue #14127 and #10148: shutil.copystat now preserves exact mtime
27-
and atime on filesystems providing nanosecond resolution.
26+
- Issue #14127 and #10148: shutil.copystat now preserves exact mtime and atime
27+
on filesystems providing nanosecond resolution.
2828

2929

3030
What's New in Python 3.3.0 Alpha 3?
@@ -37,11 +37,10 @@ Core and Builtins
3737

3838
- Issue #14699: Fix calling the classmethod descriptor directly.
3939

40-
- Issue #14433: Prevent msvcrt crash in interactive prompt when stdin
41-
is closed.
40+
- Issue #14433: Prevent msvcrt crash in interactive prompt when stdin is closed.
4241

43-
- Issue #14521: Make result of float('nan') and float('-nan') more
44-
consistent across platforms.
42+
- Issue #14521: Make result of float('nan') and float('-nan') more consistent
43+
across platforms.
4544

4645
- Issue #14646: __import__() sets __loader__ if the loader did not.
4746

@@ -116,8 +115,7 @@ Library
116115

117116
- Issue #13815: TarFile.extractfile() now returns io.BufferedReader objects.
118117

119-
- Issue #14371: Support bzip2 in zipfile module.
120-
Patch by Serhiy Storchaka.
118+
- Issue #14371: Support bzip2 in zipfile module. Patch by Serhiy Storchaka.
121119

122120
- Issue #13183: Fix pdb skipping frames after hitting a breakpoint and running
123121
step. Patch by Xavier de Gaye.
@@ -673,8 +671,8 @@ Core and Builtins
673671
- Issue #9896: Add start, stop, and step attributes to range objects.
674672

675673
- Issue #13343: Fix a SystemError when a lambda expression uses a global
676-
variable in the default value of a keyword-only argument:
677-
(lambda *, arg=GLOBAL_NAME: None)
674+
variable in the default value of a keyword-only argument: ``lambda *,
675+
arg=GLOBAL_NAME: None``
678676

679677
- Issue #12797: Added custom opener parameter to builtin open() and
680678
FileIO.open().
@@ -696,8 +694,8 @@ Core and Builtins
696694
class object. These cases now behave correctly. Patch by Daniel Urban.
697695

698696
- Issue #12753: Add support for Unicode name aliases and named sequences.
699-
Both :func:`unicodedata.lookup()` and '\N{...}' now resolve aliases,
700-
and :func:`unicodedata.lookup()` resolves named sequences too.
697+
Both ``unicodedata.lookup()`` and '\N{...}' now resolve aliases,
698+
and ``unicodedata.lookup()`` resolves named sequences too.
701699

702700
- Issue #12170: The count(), find(), rfind(), index() and rindex() methods
703701
of bytes and bytearray objects now accept an integer between 0 and 255
@@ -1311,9 +1309,9 @@ Library
13111309
- Issue #13591: A bug in importlib has been fixed that caused import_module
13121310
to load a module twice.
13131311

1314-
- Issue #4625: If IDLE cannot write to its recent file or breakpoint
1315-
files, display a message popup and continue rather than crash.
1316-
(original patch by Roger Serwy)
1312+
- Issue #4625: If IDLE cannot write to its recent file or breakpoint files,
1313+
display a message popup and continue rather than crash. Original patch by
1314+
Roger Serwy.
13171315

13181316
- Issue #13449 sched.scheduler.run() method has a new "blocking" parameter which
13191317
when set to False makes run() execute the scheduled events due to expire
@@ -1921,8 +1919,8 @@ Library
19211919
would reliably freeze/deadlock.
19221920

19231921
- Issue #12040: Expose a new attribute ``sentinel`` on instances of
1924-
:class:`multiprocessing.Process`. Also, fix Process.join() to not use
1925-
polling anymore, when given a timeout.
1922+
``multiprocessing.Process``. Also, fix Process.join() to not use polling
1923+
anymore, when given a timeout.
19261924

19271925
- Issue #11893: Remove obsolete internal wrapper class ``SSLFakeFile`` in the
19281926
smtplib module. Patch by Catalin Iacob.
@@ -2424,8 +2422,8 @@ Library
24242422

24252423
- Issue #10755: Add the posix.flistdir() function. Patch by Ross Lagerwall.
24262424

2427-
- Issue #4761: Add the *at() family of functions (openat(), etc.) to the posix
2428-
module. Patch by Ross Lagerwall.
2425+
- Issue #4761: Add the ``*at()`` family of functions (openat(), etc.) to the
2426+
posix module. Patch by Ross Lagerwall.
24292427

24302428
- Issue #7322: Trying to read from a socket's file-like object after a timeout
24312429
occurred now raises an error instead of silently losing data.
@@ -2523,7 +2521,7 @@ Build
25232521

25242522
- Issue #8746: Correct faulty configure checks so that os.chflags() and
25252523
os.lchflags() are once again built on systems that support these
2526-
functions (*BSD and OS X). Also add new stat file flags for OS X
2524+
functions (BSD and OS X). Also add new stat file flags for OS X
25272525
(UF_HIDDEN and UF_COMPRESSED).
25282526

25292527
- Issue #10645: Installing Python does no longer create a
@@ -5738,7 +5736,7 @@ Library
57385736
handled. In many cases this order wasn't being followed, leading to the wrong
57395737
Python exception being raised.
57405738

5741-
- Issue #7865: The close() method of :mod:`io` objects should not swallow
5739+
- Issue #7865: The close() method of ``io`` objects should not swallow
57425740
exceptions raised by the implicit flush(). Also qensure that calling close()
57435741
several times is supported. Patch by Pascal Chambon.
57445742

@@ -5850,7 +5848,7 @@ Library
58505848

58515849
- Issue #5277: Fix quote counting when parsing RFC 2231 encoded parameters.
58525850

5853-
- Issue #7316: The acquire() method of lock objects in the :mod:`threading`
5851+
- Issue #7316: The acquire() method of lock objects in the ``threading``
58545852
module now takes an optional timeout argument in seconds. Timeout support
58555853
relies on the system threading library, so as to avoid a semi-busy wait loop.
58565854

@@ -5869,7 +5867,7 @@ Library
58695867
- Issue #8375: test_distutils now checks if the temporary directory are still
58705868
present before it cleans them.
58715869

5872-
- Issue #8374: Update the internal alias table in the :mod:`locale` module to
5870+
- Issue #8374: Update the internal alias table in the ``locale`` module to
58735871
cover recent locale changes and additions.
58745872

58755873
- Issue #8321: Give access to OpenSSL version numbers from the `ssl` module,
@@ -6054,9 +6052,9 @@ Library
60546052
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
60556053

60566054
- Issue #7610: Reworked implementation of the internal
6057-
:class:`zipfile.ZipExtFile` class used to represent files stored inside an
6055+
``zipfile.ZipExtFile`` class used to represent files stored inside an
60586056
archive. The new implementation is significantly faster and can be wrapped in
6059-
a :class:`io.BufferedReader` object for more speedups. It also solves an
6057+
a ``io.BufferedReader`` object for more speedups. It also solves an
60606058
issue where interleaved calls to `read()` and `readline()` give wrong results.
60616059
Patch by Nir Aides.
60626060

@@ -6814,10 +6812,10 @@ Tests
68146812
calling methods on the object.
68156813

68166814
- Issue #7222: Make thread "reaping" more reliable so that reference
6817-
leak-chasing test runs give sensible results. The previous method of reaping
6815+
leak-chasing test runs give sensible results. The previous method of reaping
68186816
threads could return successfully while some Thread objects were still
6819-
referenced. This also introduces a new private function:
6820-
:func:`_thread._count()`.
6817+
referenced. This also introduces a new private function:
6818+
``_thread._count()``.
68216819

68226820
- Issue #7151: Fixed regrtest -j so that output to stderr from a test no longer
68236821
runs the risk of causing the worker thread to fail.
@@ -7258,7 +7256,7 @@ Library
72587256
- Issue #5923: Update the ``turtle`` module to version 1.1, add two new
72597257
turtle demos in Demo/turtle.
72607258

7261-
- Issue #5692: In :class:`zipfile.Zipfile`, fix wrong path calculation when
7259+
- Issue #5692: In ``zipfile.Zipfile``, fix wrong path calculation when
72627260
extracting a file to the root directory.
72637261

72647262
- Issue #5913: os.listdir() should fail for empty path on windows.

0 commit comments

Comments
 (0)