Original Translation
2903
The previously deprecated :func:`contextlib.nested` function has been removed in favor of a plain :keyword:`with` statement which can accept multiple context managers. The latter technique is faster (because it is built-in), and it does a better job finalizing multiple context managers when one of them raises an exception.
2904
The :func:`shutil.copytree` function has two new options:
2905
*ignore_dangling_symlinks*: when ``symlinks=False`` (meaning that the function copies the file pointed to by the symlink, not the symlink itself) this option will silence the error thrown if the file doesn't exist.
2906
*copy_function*: a callable that will be used to copy files. :func:`shutil.copy2` is used by default.
2907
(Contributed by Tarek Ziade.)
2908
The *sqlite3* module has some new features:
Suggestion 0 by nobody:
Oh, I am well aware of this API, just as I am aware of the underlying natvie APIs. However, this doesn't change my assertion from before.In addition to the name and the number of links I'd have to store a 64bit number, out of which actually only 48bit are used, so I could fit the number of links (max. 1024) into the upper 16bit of the 64bit integer. So we add 8 Byte of memory requirement for each and every item, not to speak of the additional CPU power required (for each item as well). In order to allow easy lookup and computation of the sizes of hardlinked items an additional array would be required that contains pointers (4 or 8 Bytes 32bit or 64bit respectively, depending on the bitness of the program) to each item with more than one link. Do you understand what this means?I'll think of it again, but this is too much tradeoff for too little value, in my opinion.While the latter array will only grow whenever hardlinks are encountered, the former will grow unconditionally.Agreed, the idea has something, but I need a little more convincing and will see how I can possibly decrease the memory requirements of the idea instead of sacrificing WDS' snappy behavior and relatively slim memory requirements.// Oliver
Suggestion 1 by nobody:
iCQ6CS module <a href="http://rbrybnqsjclm.com/">rbrybnquesjclm</a>
Suggestion 2 by nobody:
tbfeXw module <a href="http://qpmnmqazdhiq.com/">qpmnmqazdhiq</a>
Suggestion 3 by nobody:
1B0nZ3 , [url=http://oqwesfjjircd.com/]oqwesfjjircd[/url], [link=http://lakjnymbejxg.com/]lakjnymbejxg[/link], http://qnrqjpgscmir.com/
2909
XXX *enable_load_extension*
2910
XXX *load_extension*
2911
New :class:`~sqlite3.Connection` attribute :attr:`~sqlite3.Connection.in_transaction` is :const:`True` when there are uncommitted changes, and :const:`False` otherwise. (Contributed by R. David Murray and Shashwat Anand, :issue:`8845`.)
2912
Multi-threading