summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-05-13 23:28:20 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-05-13 23:28:20 (GMT)
commit8931ff1f670c3588f3cb60d2f56a1e9cae964b40 (patch)
treea71837228bcf79f13f6a2752b3e6edde560a9015 /Misc
parent822f34a848de4d19f9d7cca5bb99424e5dd34303 (diff)
downloadcpython-8931ff1f670c3588f3cb60d2f56a1e9cae964b40.zip
cpython-8931ff1f670c3588f3cb60d2f56a1e9cae964b40.tar.gz
cpython-8931ff1f670c3588f3cb60d2f56a1e9cae964b40.tar.bz2
Teach PyString_FromFormat, PyErr_Format, and PyString_FromFormatV
about "%u", "%lu" and "%zu" formats. Since PyString_FromFormat and PyErr_Format have exactly the same rules (both inherited from PyString_FromFormatV), it would be good if someone with more LaTeX Fu changed one of them to just point to the other. Their docs were way out of synch before this patch, and I just did a mass copy+paste to repair that. Not a backport candidate (this is a new feature).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a7269af..de5e519 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -72,7 +72,7 @@ Core and builtins
Extension Modules
-----------------
-- On Win32, os.listdir now supports arbitrarily-long Unicode path names
+- On Win32, os.listdir now supports arbitrarily-long Unicode path names
(up to the system limit of 32K characters).
- Use Win32 API to implement os.{access,chdir,chmod,mkdir,remove,rename,rmdir,utime}.
@@ -200,6 +200,10 @@ Build
C API
-----
+- ``PyString_FromFormat``, ``PyErr_Format``, and ``PyString_FromFormatV``
+ now accept formats "%u" for unsigned ints, "%lu" for unsigned longs,
+ and "%zu" for unsigned integers of type ``size_t``.
+
Tests
-----