Skip to content

Commit eb33e5a

Browse files
author
Skip Montanaro
committed
Remove support for BeOS
1 parent e9af284 commit eb33e5a

File tree

24 files changed

+8141
-10205
lines changed

24 files changed

+8141
-10205
lines changed

Doc/library/socket.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
This module provides access to the BSD *socket* interface. It is available on
10-
all modern Unix systems, Windows, MacOS, BeOS, OS/2, and probably additional
10+
all modern Unix systems, Windows, MacOS, OS/2, and probably additional
1111
platforms.
1212

1313
.. note::

Include/pyport.h

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -500,12 +500,6 @@ in platform-specific #ifdefs.
500500
extern int gethostname(char *, int);
501501
#endif
502502

503-
#ifdef __BEOS__
504-
/* Unchecked */
505-
/* It's in the libs, but not the headers... - [cjh] */
506-
int shutdown(int, int);
507-
#endif
508-
509503
#ifdef HAVE__GETPTY
510504
#include <sys/types.h> /* we need to import mode_t */
511505
extern char * _getpty(int *, int, mode_t, int);
@@ -577,10 +571,10 @@ extern double hypot(double, double);
577571
/*
578572
All windows ports, except cygwin, are handled in PC/pyconfig.h.
579573
580-
BeOS and cygwin are the only other autoconf platform requiring special
581-
linkage handling and both of these use __declspec().
574+
Cygwin is the only other autoconf platform requiring special
575+
linkage handling and it uses __declspec().
582576
*/
583-
#if defined(__CYGWIN__) || defined(__BEOS__)
577+
#if defined(__CYGWIN__)
584578
# define HAVE_DECLSPEC_DLL
585579
#endif
586580

@@ -591,7 +585,7 @@ extern double hypot(double, double);
591585
# define PyAPI_FUNC(RTYPE) __declspec(dllexport) RTYPE
592586
# define PyAPI_DATA(RTYPE) extern __declspec(dllexport) RTYPE
593587
/* module init functions inside the core need no external linkage */
594-
/* except for Cygwin to handle embedding (FIXME: BeOS too?) */
588+
/* except for Cygwin to handle embedding */
595589
# if defined(__CYGWIN__)
596590
# define PyMODINIT_FUNC __declspec(dllexport) void
597591
# else /* __CYGWIN__ */

Lib/distutils/sysconfig.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -394,24 +394,6 @@ def _init_posix():
394394

395395
g['LDSHARED'] = "%s %s -bI:%s" % (ld_so_aix, g['CC'], python_exp)
396396

397-
elif sys.platform == 'beos':
398-
# Linker script is in the config directory. In the Makefile it is
399-
# relative to the srcdir, which after installation no longer makes
400-
# sense.
401-
python_lib = get_python_lib(standard_lib=1)
402-
linkerscript_path = g['LDSHARED'].split()[0]
403-
linkerscript_name = os.path.basename(linkerscript_path)
404-
linkerscript = os.path.join(python_lib, 'config',
405-
linkerscript_name)
406-
407-
# XXX this isn't the right place to do this: adding the Python
408-
# library to the link, if needed, should be in the "build_ext"
409-
# command. (It's also needed for non-MS compilers on Windows, and
410-
# it's taken care of for them by the 'build_ext.get_libraries()'
411-
# method.)
412-
g['LDSHARED'] = ("%s -L%s/lib -lpython%s" %
413-
(linkerscript, PREFIX, get_python_version()))
414-
415397
global _config_vars
416398
_config_vars = g
417399

Lib/plat-beos5/IN.py

Lines changed: 0 additions & 327 deletions
This file was deleted.

0 commit comments

Comments
 (0)