Skip to content

Commit

Permalink
Deprecate bcppcompiler.
Browse files Browse the repository at this point in the history
Support for Borland C++ compiler was dropped for compiling Python in python/cpython#66782 (2014) and the borlandc.org web site no longer references a compiler. Best I can tell, this compiler hasn't been released for 22 years. Surely no one is using it.
  • Loading branch information
jaraco committed Aug 21, 2022
1 parent c2d2d4b commit a55e73f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions distutils/bcppcompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@


import os
import warnings

from distutils.errors import (
DistutilsExecError,
CompileError,
Expand All @@ -26,6 +28,14 @@
from distutils import log


warnings.warn(
"bcppcompiler is deprecated and slated to be removed "
"in the future. Please discontinue use or file an issue "
"with pypa/distutils describing your use case.",
DeprecationWarning,
)


class BCPPCompiler(CCompiler):
"""Concrete class that implements an interface to the Borland C/C++
compiler, as defined by the CCompiler abstract class.
Expand Down
4 changes: 2 additions & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ filterwarnings=
ignore:The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.:DeprecationWarning:
ignore: The frontend.Option class will be removed in Docutils 0.21 or later.:DeprecationWarning:

# suppress warnings in deprecated msvc compilers
ignore:msvc9?compiler is deprecated
# suppress warnings in deprecated compilers
ignore:(bcpp|msvc9?)compiler is deprecated

0 comments on commit a55e73f

Please sign in to comment.