How to use strings as name aliases in Python enums

Date Tags Python

Python has support for enumerations built into the standard library since version 3.4. The Enum type is quite powerful but serializing enum members to human readable representations and deserializing them to an enum meber can be cumbersome.

If we want to have an enumeration of certain train stations between …

more ...


Debootstrapping Debian Jessie without systemd

init is an essential package in Jessie so it's automatically pulled in every time you want to debootstrap a new system. init has a dependency on systemd-sysv or sysvinit-core or upstart. Unfortunately debootstrap always selects systemd-sysv even if systemd-sysv is excluded by the --exclude flag (see also #776917). This can …

more ...