cpython/Lib
Victor Stinner e215d960be Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API
* Simplify the code: replace 4 steps with one unique step using the
   _PyUnicodeWriter API. PyUnicode_Format() has the same design. It avoids to
   store intermediate results which require to allocate an array of pointers on
   the heap.
 * Use the _PyUnicodeWriter API for speed (and its convinient API):
   overallocate the buffer to reduce the number of "realloc()"
 * Implement "width" and "precision" in Python, don't rely on sprintf(). It
   avoids to need of a temporary buffer allocated on the heap: only use a small
   buffer allocated in the stack.
 * Add _PyUnicodeWriter_WriteCstr() function
 * Split PyUnicode_FromFormatV() into two functions: add
   unicode_fromformat_arg().
 * Inline parse_format_flags(): the format of an argument is now only parsed
   once, it's no more needed to have a subfunction.
 * Optimize PyUnicode_FromFormatV() for characters between two "%" arguments:
   search the next "%" and copy the substring in one chunk, instead of copying
   character per character.
2012-10-06 23:03:36 +02:00
..
collections utilize yield from 2012-10-01 12:53:43 -07:00
concurrent utilize yield from 2012-10-01 12:53:43 -07:00
ctypes Issue #15406: Fix deprecation warning in ctypes test_bitfields.py 2012-07-20 12:52:42 -05:00
curses
dbm #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +02:00
distutils Bump version to 3.4.0 alpha 0. 2012-09-29 09:34:13 +02:00
email utilize yield from 2012-10-01 12:53:43 -07:00
encodings Normalize whitespace 2012-06-16 22:50:54 +02:00
html #15156: HTMLParser now uses the new "html.entities.html5" dictionary. 2012-06-24 22:02:56 +02:00
http more yield from 2012-10-01 15:34:31 -07:00
idlelib normalize whitespaces 2012-10-05 22:16:55 +03:00
importlib #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
json more yield from 2012-10-01 15:34:31 -07:00
lib2to3 Issue #16120: Use |yield from| in stdlib. 2012-10-06 17:11:45 +03:00
logging Updated docstring for logging.config.listen(). 2012-10-02 16:15:33 +01:00
msilib
multiprocessing raise a ValueError instead of an AssertionError when pool is an invalid state 2012-09-25 12:45:42 -04:00
plat-aix4
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux
plat-netbsd1
plat-next3
plat-sunos5
plat-unixware7
pydoc_data Update pydoc topics and suspicious markup file. 2012-08-25 12:14:59 +02:00
site-packages
sqlite3
test Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API 2012-10-06 23:03:36 +02:00
tkinter Issue #14446: Remove deprecated tkinter functions 2012-10-04 22:10:09 +03:00
turtledemo
unittest Issue #16120: Use |yield from| in stdlib. 2012-10-06 17:11:45 +03:00
urllib Closes #9374: merge with 3.2 2012-08-24 18:15:46 +02:00
venv Issue #15417: Add support for csh and fish in venv activation scripts. 2012-10-04 21:48:58 +03:00
wsgiref Fix 5931 - Python runtime hardcoded in wsgiref.simple_server - Now it specifies an implementation specific term. 2012-07-07 14:29:58 -07:00
xml Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL). 2012-10-04 19:54:53 +02:00
xmlrpc Merge 3.2 2012-03-05 16:24:07 +01:00
__future__.py #14494: Document that absolute imports became default in 3.0 instead of 2.7. 2012-05-19 18:36:33 +03:00
__phello__.foo.py
_compat_pickle.py
_dummy_thread.py
_markupbase.py
_osx_support.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
_pyio.py Issue #15841: The readable(), writable() and seekable() methods of BytesIO 2012-09-05 20:13:48 +02:00
_strptime.py Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fields 2012-06-13 22:15:26 -04:00
_threading_local.py
_weakrefset.py Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive. 2012-03-04 22:15:38 -06:00
abc.py
aifc.py #13394: add more tests for the aifc module and use warnings.warn instead of print. Patch by Oleg Plakhotnyuk. 2012-03-12 23:57:18 +02:00
antigravity.py
argparse.py utilize yield from 2012-10-01 12:53:43 -07:00
ast.py
asynchat.py asynchat speedup improvement: avoid to use a function mimicking old buffer() builtin behavior; instead use plain slicing 2012-08-04 14:38:16 +02:00
asyncore.py merge 79422b3684f1 in 3.3 branch (issue 10340) 2012-03-22 16:19:45 +01:00
base64.py Speed up base64.urlsafe_{en,de}code(). 2012-06-22 15:16:09 -07:00
bdb.py issue13183 - Fix pdb skipping frames after hitting a breakpoint and running step. Patch by Xavier de Gaye 2012-05-01 10:07:49 +08:00
binhex.py
bisect.py
bz2.py Issue #16304: Further optimize BZ2File.readlines?(). 2012-10-01 23:05:32 +02:00
cProfile.py
calendar.py #15421: fix an OverflowError in Calendar.itermonthdates() after datetime.MAXYEAR. Patch by Cédric Krier. 2012-09-21 17:26:35 +03:00
cgi.py
cgitb.py
chunk.py
cmd.py
code.py Issue #12643: Respect sys.excepthook in code.InteractiveConsole 2012-08-20 23:02:28 +10:00
codecs.py Issue16097 Fix small typo in comment (patch by Wael Al Jishi) 2012-10-01 16:41:08 +01:00
codeop.py
colorsys.py
compileall.py
configparser.py Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs 2012-07-07 18:54:08 +02:00
contextlib.py Close #14969: Improve the handling of exception chaining in contextlib.ExitStack 2012-06-01 22:48:32 +10:00
copy.py
copyreg.py
crypt.py white space cleanup 2012-06-27 15:37:47 +02:00
csv.py
datetime.py Closes #15973: fix a segmentation fault when comparing timezone objects. 2012-09-22 09:23:12 +02:00
decimal.py Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs. 2012-08-24 19:32:13 +01:00
difflib.py utilize yield from 2012-10-01 12:53:43 -07:00
dis.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
doctest.py Merge #14649: clarify DocTestSuite error when there are no docstrings. 2012-09-10 10:16:46 -04:00
dummy_threading.py
filecmp.py
fileinput.py
fnmatch.py
formatter.py
fractions.py
ftplib.py
functools.py Separate key creation logic from the sequence class that memoizes its hash value. 2012-06-04 00:21:14 -07:00
genericpath.py
getopt.py
getpass.py
gettext.py Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
glob.py utilize yield from 2012-10-01 12:53:43 -07:00
gzip.py Issue #15800: fix the closing of input / output files when gzip is used as a script. 2012-08-30 00:30:14 +02:00
hashlib.py Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
heapq.py
hmac.py Issue #15225: improve error message when hmac is passed a wrong key type. 2012-06-30 17:27:56 +02:00
imaplib.py Issues #11024: Fixes and additional tests for Time2Internaldate. 2012-06-22 21:03:39 -04:00
imghdr.py
imp.py Issue #15828: Restore support for C extension modules in imp.load_module() 2012-09-01 00:13:45 +10:00
inspect.py Issue #15401: Fix typo in inspect.getclosurevars docstring. 2012-07-19 21:33:21 -05:00
io.py merge 3.2 2012-05-07 22:24:05 -04:00
ipaddress.py Close #14814: Avoid depending on struct by using newer features. Also use enumerate where appropriate (patch by Serhiy Storchaka). Declaring PEP 3144 final at this point - any further changes to code or docs can go in new issues. 2012-08-20 10:19:12 +10:00
keyword.py
linecache.py
locale.py
lzma.py #15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data. 2012-08-05 02:19:09 +02:00
macpath.py
macurl2path.py
mailbox.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
mailcap.py
mimetypes.py #15199: Fix JavaScript's default MIME type to application/javascript 2012-08-20 21:30:03 +03:00
modulefinder.py Issue #13959: Deprecate imp.get_suffixes() for new attributes on 2012-05-11 12:58:42 -04:00
netrc.py
nntplib.py #1079: Fix parsing of encoded words. 2012-06-02 17:56:49 -04:00
ntpath.py #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +02:00
nturl2path.py
numbers.py
opcode.py Issue #11823: disassembly now shows argument counts on calls with keyword args 2012-06-07 14:28:14 -04:00
optparse.py
os.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
pdb.py Close #14210: add command argument completion to pdb: complete file names, global/local variables, aliases 2012-03-10 22:36:48 +01:00
pickle.py Fixes #13842: cannot pickle Ellipsis or NotImplemented. 2012-03-12 19:46:12 +01:00
pickletools.py
pipes.py
pkgutil.py utilize yield from 2012-10-01 12:53:43 -07:00
platform.py MERGE: #16112: platform.architecture does not correctly escape argument to /usr/bin/file. Fix original patch 2012-10-05 05:32:10 +02:00
plistlib.py #14835: Make plistlib output empty arrays & dicts like OS X 2012-05-29 12:04:54 +02:00
poplib.py
posixpath.py Merge #15342: Add clarifying sentence to posixpath.join docstring. 2012-07-21 14:34:51 -04:00
pprint.py Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key. 2012-07-21 11:17:38 +02:00
profile.py Issue #14428: Use the new time.perf_counter() and time.process_time() functions 2012-04-29 03:01:20 +02:00
pstats.py Issue #13839: When invoked on the command-line, the pstats module now accepts several filenames of profile stat files and merges them all. 2012-03-14 17:47:11 +01:00
pty.py pty.spawn() now returns the child process status as returned by os.waitpid(). 2012-09-29 12:41:03 -07:00
py_compile.py
pyclbr.py #14798: pyclbr now raises ImportError instead of KeyError for missing packages 2012-05-18 21:59:49 +03:00
pydoc.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
queue.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
quopri.py
random.py Issue #14926: merge with 3.2 2012-06-02 19:40:20 +02:00
re.py #14236: merge with 3.2. 2012-04-29 13:37:13 +03:00
reprlib.py
rlcompleter.py Closes #14411: remove outdated comment in rlcompleter docstring. 2012-03-27 07:46:46 +02:00
runpy.py Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap 2012-07-20 23:40:09 +10:00
sched.py Close #14690: Use monotonic clock instead of system clock in the sched, 2012-05-30 13:30:32 +02:00
shelve.py Add spaces to follow PEP8. 2012-10-06 18:38:30 +03:00
shlex.py
shutil.py merge with 3.2 2012-08-25 10:12:47 +02:00
site.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
smtpd.py #8739: upgrade smtpd to RFC 5321 and 1870. 2012-05-26 14:33:59 -04:00
smtplib.py
sndhdr.py
socket.py Issue #15842: the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed. 2012-09-14 17:30:31 +02:00
socketserver.py #11109: clean up docs, add whatsnew entry, and fix Justin's last name. 2012-10-01 21:43:46 -04:00
sre_compile.py
sre_constants.py
sre_parse.py Issue #3665: \u and \U escapes are now supported in unicode regular expressions. 2012-06-23 13:29:19 +02:00
ssl.py Issue #14204: The ssl module now has support for the Next Protocol Negotiation extension, if available in the underlying OpenSSL library. 2012-03-22 00:23:03 +01:00
stat.py #14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning. 2012-05-15 15:30:25 +02:00
string.py Merge #13579: teach string.Formatter about 'a'. 2012-08-19 17:45:40 -04:00
stringprep.py
struct.py
subprocess.py Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD 2012-09-29 11:53:08 -07:00
sunau.py
symbol.py
symtable.py
sysconfig.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
tabnanny.py
tarfile.py #16135: Removal of OS/2 support (Python code partial cleanup) 2012-10-05 03:15:39 +02:00
telnetlib.py Fixes Issue #14635: telnetlib will use poll() rather than select() when possible 2012-07-15 23:42:26 -07:00
tempfile.py
textwrap.py Close #13857: Added textwrap.indent() function (initial patch by Ezra 2012-06-11 23:07:51 +10:00
this.py
threading.py Issue #14428, #14397: Implement the PEP 418 2012-04-29 02:41:27 +02:00
timeit.py Add an option to timeit to use time.process_time() and mark -t and -c as deprecated. 2012-05-01 11:56:22 +02:00
token.py Issue #9260: A finer-grained import lock. 2012-05-17 18:55:59 +02:00
tokenize.py Merge branch 2012-07-07 12:26:56 +02:00
trace.py trace: remove unused imports. 2012-07-07 17:03:52 +02:00
traceback.py utilize yield from 2012-10-01 12:53:43 -07:00
tty.py
turtle.py
types.py Eric Snow's implementation of PEP 421. 2012-06-03 16:18:47 -04:00
uu.py
uuid.py Issue #15118: Change return value of os.uname() and os.times() from 2012-06-24 04:33:36 -07:00
warnings.py
wave.py
weakref.py utilize yield from 2012-10-01 12:53:43 -07:00
webbrowser.py #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) 2012-10-05 02:48:46 +02:00
xdrlib.py
zipfile.py On behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile. 2012-06-23 16:44:48 +02:00