Changeset 403 for python


Ignore:
Timestamp:
Mar 22, 2014, 2:28:36 PM (11 years ago)
Author:
dmik
Message:

python: Remove duplicate #undef HAVE_LINK.

It was probably meant to disable the 'os.link' method but:
1) with new configure it doesn't disable (configure changes it to #define HAVE_LINK 1)
2) it makes no sense to disable it once it's present in kLIBC now: in both caes you will
get an exception when trying to use it; when disabled, it will be AttributeError due to the
missing method and when present, it will be OSError 78 (function not implemented).
The latter looks more informative to me.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/pyconfig.h.in

    r391 r403  
    12731273#define PYOS_OS2 1
    12741274#define PYCC_GCC 1
    1275 #undef HAVE_LINK // YD not working but available
    12761275#endif
    12771276
Note: See TracChangeset for help on using the changeset viewer.