[issue46045] NetBSD: do not use POSIX semaphores

2022-01-18 Thread Thomas Klausner
Thomas Klausner added the comment: Thanks for merging this, @serhiy.storchaka! -- ___ Python tracker <https://bugs.python.org/issue46045> ___ ___ Python-bug

[issue46045] NetBSD: do not use POSIX semaphores

2022-01-14 Thread Thomas Klausner
Thomas Klausner added the comment: ping - this patch needs a review -- ___ Python tracker <https://bugs.python.org/issue46045> ___ ___ Python-bugs-list mailin

[issue46053] NetBSD: ossaudio support incomplete

2022-01-14 Thread Thomas Klausner
Thomas Klausner added the comment: ping - this patch needs a review -- ___ Python tracker <https://bugs.python.org/issue46053> ___ ___ Python-bugs-list mailin

[issue34602] python3 resource.setrlimit strange behaviour under macOS

2022-01-08 Thread Thomas Klausner
Change by Thomas Klausner : -- nosy: +wiz nosy_count: 8.0 -> 9.0 pull_requests: +28694 pull_request: https://github.com/python/cpython/pull/30490 ___ Python tracker <https://bugs.python.org/issu

[issue46308] Unportable test(1) operator in configure script

2022-01-08 Thread Thomas Klausner
Change by Thomas Klausner : -- keywords: +patch pull_requests: +28693 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30490 ___ Python tracker <https://bugs.python.org/issu

[issue46308] Unportable test(1) operator in configure script

2022-01-08 Thread Thomas Klausner
New submission from Thomas Klausner : The configure script uses the test(1) '==' operator, which is only supported by bash. The standard comparison operator is '='. -- components: Installation messages: 410120 nosy: wiz priority: normal severity: normal status: open title: Unportable

[issue30512] CAN Socket support for NetBSD

2021-12-11 Thread Thomas Klausner
Change by Thomas Klausner : -- pull_requests: +28286 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30066 ___ Python tracker <https://bugs.python.org/issu

[issue46053] NetBSD: ossaudio support incomplete

2021-12-11 Thread Thomas Klausner
Change by Thomas Klausner : -- keywords: +patch pull_requests: +28285 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30065 ___ Python tracker <https://bugs.python.org/issu

[issue46053] NetBSD: ossaudio support incomplete

2021-12-11 Thread Thomas Klausner
New submission from Thomas Klausner : When compiling Python on NetBSD, the ossaudio module is not enabled. 1. the code tries to export some #define that are not in the public OSS API (but that some other implementations provide) 2. on NetBSD, you need to link against libossaudio when using OSS

[issue46045] NetBSD: do not use POSIX semaphores

2021-12-11 Thread Thomas Klausner
Change by Thomas Klausner : -- keywords: +patch pull_requests: +28272 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30047 ___ Python tracker <https://bugs.python.org/issu

[issue46045] NetBSD: do not use POSIX semaphores

2021-12-11 Thread Thomas Klausner
New submission from Thomas Klausner : On NetBSD by default, the following tests do not finish in > 1h: 1:07:13 load avg: 0.00 running: test_compileall (1 hour 7 min), test_multiprocessing_fork (1 hour 7 min), test_concurrent_futures (1 hour 6 min) Defining HAVE_BROKEN_POSIX_SEMAPHORES fi

[issue21459] DragonFlyBSD support

2021-12-10 Thread Thomas Klausner
Thomas Klausner added the comment: Not interested in this any longer, and Dragonfly's Dports doesn't carry this patch, so it's probably not needed any longer. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue21461] Recognize -pthread

2021-12-10 Thread Thomas Klausner
Thomas Klausner added the comment: I must confess, I don't know. This patch has been in pkgsrc since at least the import of the first python 2.7 package in 2011, and I haven't dug deeper. If you think it is unnecessary, I'll trust you. I've just removed it from the python 3.10 package

[issue21461] Recognize -pthread

2021-12-10 Thread Thomas Klausner
Thomas Klausner added the comment: gcc supports this flag. According to the man page: This option consistently for both compilation and linking. This option is supported on GNU/Linux targets, most other Unix derivatives, and also on x86 Cygwin and MinGW targets. On NetBSD, using -pthread

[issue21461] Recognize -pthread

2021-12-10 Thread Thomas Klausner
Change by Thomas Klausner : -- pull_requests: +28257 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30032 ___ Python tracker <https://bugs.python.org/issu

[issue46000] NetBSD curses compatibility

2021-12-06 Thread Thomas Klausner
Thomas Klausner added the comment: Done: https://github.com/python/cpython/pull/29947 -- ___ Python tracker <https://bugs.python.org/issue46000> ___ ___ Pytho

[issue46000] NetBSD curses compatibility

2021-12-06 Thread Thomas Klausner
New submission from Thomas Klausner : The code in Modules/_cursesmodule.c has an assumption on ncurses. The attached simple patch fixes this and works with both NetBSD curses and ncurses. -- components: Extension Modules files: patch-Modules___cursesmodule.c messages: 407825 nosy: wiz

[issue33384] Build does not work with closed stdin

2018-04-29 Thread Thomas Klausner
Change by Thomas Klausner <t...@giga.or.at>: -- nosy: +wiz ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33384> ___ __

[issue21457] NetBSD curses support improvements

2017-11-01 Thread Thomas Klausner
Thomas Klausner <t...@giga.or.at> added the comment: Thanks for looking at this. I looked at the patch again, and I can't make sense of the py_curses.h part either - I've removed it from pkgsrc with a request for information if it's still needed. Btw, thanks for working on NetBSD

[issue30512] CAN Socket support for NetBSD

2017-05-30 Thread Thomas Klausner
New submission from Thomas Klausner: NetBSD recently got support for CAN. The existing Linux support for CAN partially detects this, but then fails to build. The attached patch against 3.6.1 (from Manuel Bouyer <bou...@netbsd.org>) fixes this problem and adds proper NetBSD support f

[issue27390] state of the 3.3 branch unclear

2016-06-26 Thread Thomas Klausner
New submission from Thomas Klausner: https://www.python.org/dev/peps/pep-0398/ mentions that a 3.3.7 release was planned for February 27, 2016. It appears this never happened. It also mentions that there will be source-only security updates for 3.3.x until September 2017. However, it appears

[issue23155] unittest: object has no attribute '_removed_tests'

2015-01-03 Thread Thomas Klausner
New submission from Thomas Klausner: On NetBSD with python-3.4.2 I see the following issue when running the tests for py-flake8-2.2.5: running build_ext test_get_parser (flake8.tests.test_engine.TestEngine) ... ok test_get_python_version (flake8.tests.test_engine.TestEngine) ... ok

[issue21459] DragonFlyBSD support

2014-10-09 Thread Thomas Klausner
Thomas Klausner added the comment: The diff got even smaller -- one of the two chunks was applied in 3.4.2 without a reference to this bug report. Please apply the last chunk, it's completely straightforward. -- Added file: http://bugs.python.org/file36846/dragonfly.diff

[issue21459] DragonFlyBSD support

2014-10-09 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: Removed file: http://bugs.python.org/file35433/dragonfly.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459

[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined

2014-06-11 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: -- nosy: +wiz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19561 ___ ___ Python-bugs-list mailing

[issue21459] DragonFlyBSD support

2014-06-01 Thread Thomas Klausner
Thomas Klausner added the comment: Actually, there are even less changes needed nowadays. Please apply this really small patch. -- Added file: http://bugs.python.org/file35428/dragonfly.diff ___ Python tracker rep...@bugs.python.org http

[issue21459] DragonFlyBSD support

2014-06-01 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: Removed file: http://bugs.python.org/file35195/dragonfly.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459

[issue21459] DragonFlyBSD support

2014-06-01 Thread Thomas Klausner
Thomas Klausner added the comment: Semaphore handling needs another change. if sem_open etc. are not provided by the operating system, do not export them (Modules/_multiprocessing/multiprocessing.c). Updated diff attached. That part of the diff might affect more operating systems

[issue21459] DragonFlyBSD support

2014-06-01 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: Removed file: http://bugs.python.org/file35428/dragonfly.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459

[issue21457] NetBSD curses support improvements

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: NetBSD's curses headers have different include guards than ncurses. Also, the NetBSD curses library has been improved and some workaround are no longer necessary. Diff against hg attached. -- components: Extension Modules files: curses.diff keywords

[issue21458] MirBSD support

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: configure needs to know about MirBSD -- it's quite similar to OpenBSD, so that's all that's needed. -- components: Build files: configure.diff keywords: patch messages: 218141 nosy: wiz priority: normal severity: normal status: open title: MirBSD

[issue21459] DragonFlyBSD support

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: DragonFlyBSD support needs some slight changes. -- components: Build files: dragonfly.diff keywords: patch messages: 218142 nosy: wiz priority: normal severity: normal status: open title: DragonFlyBSD support versions: Python 3.5 Added file: http

[issue21460] distutils: use LDFLAGS

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: There are two possible sources for extra linker arguments: - 'extra_link_args' in Extension object - LDFLAGS environment variable The environment variable should take precedence, and any sensible compiler will give precedence to later command line args

[issue21460] distutils: use LDFLAGS

2014-05-09 Thread Thomas Klausner
Changes by Thomas Klausner t...@giga.or.at: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21460

[issue21461] Recognize -pthread

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: makesetup should know about the -pthread compiler flag. -- components: Extension Modules files: pthread.diff keywords: patch messages: 218144 nosy: wiz priority: normal severity: normal status: open title: Recognize -pthread type: enhancement

[issue21457] NetBSD curses support improvements

2014-05-09 Thread Thomas Klausner
Thomas Klausner added the comment: Thanks for your reply! I've checked: keypad in NetBSD curses was fixed in 2009. All supported NetBSD release (5.x and 6.x) have the fix. nodelay and keyname were fixed even earlier, in 2003. So this is no problem for older NetBSD releases

[issue21458] MirBSD support

2014-05-09 Thread Thomas Klausner
Thomas Klausner added the comment: Just a final comment: MirBSD's official packaging system is pkgsrc, which is also the official packaging system for NetBSD. (This is the reason I'm sending these in bulk, to clean up local pkgsrc changes

[issue21459] DragonFlyBSD support

2014-05-09 Thread Thomas Klausner
Thomas Klausner added the comment: Just a final comment: pkgsrc was DragonFlyBSD's official packaging system, which is also the official packaging system for NetBSD. (This is the reason I'm sending these in bulk, to clean up local pkgsrc changes

[issue10047] python-2.6.6 coredump running newspipe

2010-12-01 Thread Thomas Klausner
Thomas Klausner t...@giga.or.at added the comment: I've updated the operating system to a 5.99.39, and the problem disappeared. Strange. Thanks for the suggestions. -- status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue10047] python-2.6.6 coredump running newspipe

2010-10-08 Thread Thomas Klausner
Thomas Klausner t...@giga.or.at added the comment: # python2.6 Python 2.6.6 (r266:84292, Sep 23 2010, 08:13:08) [GCC 4.1.3 20080704 prerelease (NetBSD nb2 20081120)] on netbsd5 Type help, copyright, credits or license for more information. format(0.15256118774414062, .2f) '0.15

[issue10047] python-2.6.6 coredump running newspipe

2010-10-07 Thread Thomas Klausner
New submission from Thomas Klausner t...@giga.or.at: I'm running newspipe-1.1.9, an RSS reader (http://newspipe.sourceforge.net/), on NetBSD-5.99.11/amd64 using Python-2.6.6. Sometimes, it core dumps with particular feeds in the configuration (I guess depending on the feed, because when I

[issue5510] patches for Modules/socketmodule.c for NetBSD

2009-10-30 Thread Thomas Klausner
Thomas Klausner t...@giga.or.at added the comment: Attached is the patch fixing this problem from pkgsrc; it was written by Iain Hibbert plu...@netbsd.org who also maintains BlueTooth in NetBSD, so I'm very confident it's right :) Please include it! -- nosy: +wiz Added file: http

[issue7204] Strange shebang line in test_pep263

2009-10-25 Thread Thomas Klausner
New submission from Thomas Klausner t...@giga.or.at: In Python-2.6.3, test_pep263.py starts with the following line: #! -*- coding: koi8-r -*- When this is executed by a shell, it looks for the interpreter -*-. I guess the '!' is superfluous there, or it should be something like #! /usr/bin/env

[issue7179] Unportable test(1) construct

2009-10-20 Thread Thomas Klausner
New submission from Thomas Klausner t...@giga.or.at: Mac/BuildScript/scripts/postflight.patch-profile and Misc/build.sh contain the unportable bash(1) == comparison operator for test(1). It is not supported by most other shells or even test(1) from GNU coreutils. Please use = instead

[issue7179] Unportable test(1) construct

2009-10-20 Thread Thomas Klausner
Thomas Klausner t...@giga.or.at added the comment: That's against python-2.6.3. I see that Misc/build.sh automagically linked from this bug report doesn't have this problem any longer (though the other file still does). -- ___ Python tracker rep