This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Project:Python/Implementation USE flags

From Gentoo Wiki (test)
Jump to:navigation Jump to:search

This page provides a quick matrix of USE flags supported by various Python implementations.

Legend

Text Meaning
flag Feature toggled via a USE flag
+ Feature unconditionally available
- Feature not available at all

The table

USE flag dev-lang/python:2.* dev-lang/python:3.* virtual/pypy virtual/pypy3 dev-java/jython:2.* USE deps
berkdb flag - - - - None
bzip2 + + flag flag + None
gdbm flag flag flag flag - None
ipv6 flag flag + + + None
ncurses flag flag flag flag - Yes (no def.)
readline flag flag + + flag Yes (no def.)
sqlite flag flag flag flag - Yes (+)
ssl flag flag + + + Yes (+)
threads flag flag up to 3.6, + since 3.7 + + + Yes (+)
tk flag flag flag flag - Yes (no def.)
xml flag flag + + + Yes (+)

As of 2018-06-26.

Notes:

  1. The 'USE deps' column lists whether the flag was used in any USE dependency for any of the implementations. It also states whether the dependency had a USE default.
  2. 'Always-on' modules were either based on deps or test used installed implementation.
  3. IPv6 support was tested through using low-level socket module to connect to IPv6 service.