74b47a89d4
Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations. Among the major new features in Python 3.7 are: PEP 539, new C API for thread-local storage PEP 545, Python documentation translations New documentation translations: Japanese, French, and Korean. PEP 552, Deterministic pyc files PEP 553, Built-in breakpoint() PEP 557, Data Classes PEP 560, Core support for typing module and generic types PEP 562, Customization of access to module attributes PEP 563, Postponed evaluation of annotations PEP 564, Time functions with nanosecond resolution PEP 565, Improved DeprecationWarning handling PEP 567, Context Variables Avoiding the use of ASCII as a default text encoding (PEP 538, legacy C locale coercion and PEP 540, forced UTF-8 runtime mode) The insertion-order preservation nature of dict objects is now an official part of the Python language spec. Notable performance improvements in many areas.
16 lines
516 B
C
16 lines
516 B
C
$NetBSD: patch-pyconfig.h.in,v 1.1 2018/07/03 03:55:40 adam Exp $
|
|
|
|
detect netcan/can.h on NetBSD
|
|
|
|
--- pyconfig.h.in.orig 2017-05-30 12:31:24.586818399 +0200
|
|
+++ pyconfig.h.in 2017-05-30 12:32:29.367288479 +0200
|
|
@@ -565,6 +565,9 @@
|
|
/* Define to 1 if you have the <linux/can/raw.h> header file. */
|
|
#undef HAVE_LINUX_CAN_RAW_H
|
|
|
|
+/* Define to 1 if you have the <netcan/can.h> header file. */
|
|
+#undef HAVE_NETCAN_CAN_H
|
|
+
|
|
/* Define to 1 if you have the <linux/netlink.h> header file. */
|
|
#undef HAVE_LINUX_NETLINK_H
|
|
|