Snakeoil

Latest version: v0.10.8

Safety actively analyzes 629599 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 12

0.6.2

---------------------------

- Add locking for demandload replace operations during the scope modification
phase, fixing threaded access.

- Fix fd leak during highly-threaded pmaint regen runs due to a cyclic
reference issue in readlines_iter from snakeoil.fileutils.

- Fix py3k argument encoding for mount() from snakeoil.osutils.

- Add tox-based testsuite support.

- Drop distutils sdist filelist workaround and respect MANIFEST.in instead.

0.6.1

---------------------------

- Add ProxiedAttrs mappings class used as a proxy mapping protocol to an
object's attributes.

- Update namespace support and move it into snakeoil.namespaces.

- Add ctypes-based mount(2) wrapper in snakeoil.osutils.

- Deprecate snakeoil.modules.load_module, importlib.import_module should be
used instead.

- Downgrade scope from a required argument to a optional keyword argument for
demandload, the caller's global scope is used by default when no argument is
passed.

0.6

-------------------------

- Make sure shared memory has the right rwx permissions for multiprocessing
semaphores.

- Fix race condition for demand compiled regexps which solves various threading
issues including running a parallelized `pmaint regen` in pkgcore.

- Remove old compat snakeoil.fileutils imports from snakeoil.osutils and
make_SlottedDict_kls from snakeoil.obj.

- Drop python2.4 any/all built-ins compat, python2.6 is_disjoint compat, and
pre-python2.6 next built-in compat.

- Remove pre-python2.7 compat support including iterables.chain_from_iterables
(use chain.from_iterable from itertools), is_disjoint (use
isdisjoint), and built-in backports for all, any, and next.

- Drop deprecated currying.alias_class_method; use klass.alias_method.

- Migrate pkgcore.vdb.ondisk.bz2_data_source to
snakeoil.data_source.bz2_source.

- Drop deprecated getters from snakeoil.data_source; attrs and functions
should be accessed directly.

- Move snakeoil.fileutils.read_dict to snakeoil.bash.read_dict and drop
compatibility shims for the iter_read_bash and read_bash_dict methods from
fileutils.

- Add support to klass.steal_docs to clone docstrings from regular functions in
addition to class functions.

0.5.3

---------------------------

- Simplify sphinx-build handling, removing checks for Gentoo specific suffixes.

- Switch from pbzip2 to lbzip2 for parallel bzip2 support since lbzip2 can
handle parallel decompression of regular non-lbzip2 compressed files unlike
pbzip2.

- Fix python3.3 support.

0.5.2

---------------------------

- Fixed doc generation for py3k, including threading appropriate python
path/version down through the generation.

0.5.1

----------------------------

- Fix corner case exception in formatter extension, cleanup potential
NULL derefs.

- If hashlib has a whirlpool implementation, we use it and prefer it
over mhash or our fallback implementation; it's faster, drops the
GIL, and generally is the bees-knees.

- compatibility.raise_from no longer looses traceback information in
>py3k.

Page 8 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.