Staging
v0.8.1
https://github.com/python/cpython
Revision 451e02b61a0b5697b28b8b867fa66b8dc9c1b644 authored by Jack Jansen on 03 January 2005, 15:46:30 UTC, committed by Jack Jansen on 03 January 2005, 15:46:30 UTC
- Added an "installer" flavor, which uses the "open" command to install
  something (overridable through Install-command entry)
- Hidden status is now determined by flavor == hidden, not by
  missing Download-URL. Hidden packages behave like installer packages.
- Made some error messages a bit more understandable.

Because there's new functionality the version has been upped to 0.5.
1 parent 4a2784d
Raw File
Tip revision: 451e02b61a0b5697b28b8b867fa66b8dc9c1b644 authored by Jack Jansen on 03 January 2005, 15:46:30 UTC
Backport of 1.37:
Tip revision: 451e02b
FCNTL.py
"""Backward-compatibility version of FCNTL; export constants exported by
fcntl, and issue a deprecation warning.
"""

import warnings
warnings.warn("the FCNTL module is deprecated; please use fcntl",
              DeprecationWarning)


# Export the constants known to the fcntl module:
from fcntl import *

# and *only* the constants:
__all__ = [s for s in dir() if s[0] in "ABCDEFGHIJKLMNOPQRSTUVWXYZ"]
back to top