[issue46045] NetBSD: do not use POSIX semaphores
Thomas Klausner added the comment: Thanks for merging this, @serhiy.storchaka! -- ___ Python tracker <https://bugs.python.org/issue46045> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46045] NetBSD: do not use POSIX semaphores
Thomas Klausner added the comment: ping - this patch needs a review -- ___ Python tracker <https://bugs.python.org/issue46045> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46053] NetBSD: ossaudio support incomplete
Thomas Klausner added the comment: ping - this patch needs a review -- ___ Python tracker <https://bugs.python.org/issue46053> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue34602] python3 resource.setrlimit strange behaviour under macOS
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/issue34602> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46308] Unportable test(1) operator in configure script
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/issue46308> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46308] Unportable test(1) operator in configure script
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 test(1) operator in configure script type: compile error versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue46308> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30512] CAN Socket support for NetBSD
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/issue30512> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46053] NetBSD: ossaudio support incomplete
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/issue46053> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46053] NetBSD: ossaudio support incomplete
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 -- components: Extension Modules messages: 408349 nosy: wiz priority: normal severity: normal status: open title: NetBSD: ossaudio support incomplete type: enhancement versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue46053> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46045] NetBSD: do not use POSIX semaphores
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/issue46045> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46045] NetBSD: do not use POSIX semaphores
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 fixes this, and they finish: 0:00:32 load avg: 10.63 [408/427/17] test_compileall passed ... ... 0:02:37 load avg: 3.04 [427/427/22] test_concurrent_futures passed (2 min 33 sec) The last one fails: test_multiprocessing_fork with most of the subtests failing like this: ERROR: test_shared_memory_SharedMemoryServer_ignores_sigint (test.test_multiprocessing_fork.WithProcessesTestSharedMemory) -- Traceback (most recent call last): File "/scratch/lang/python310/work/Python-3.10.1/Lib/test/_test_multiprocessing.py", line 4006, in test_shared_memory_SharedMemoryServer_ignores_sigint sl = smm.ShareableList(range(10)) File "/scratch/lang/python310/work/Python-3.10.1/Lib/multiprocessing/managers.py", line 1372, in ShareableList sl = shared_memory.ShareableList(sequence) File "/scratch/lang/python310/work/Python-3.10.1/Lib/multiprocessing/shared_memory.py", line 327, in __init__ self.shm = SharedMemory(name, create=True, size=requested_size) File "/scratch/lang/python310/work/Python-3.10.1/Lib/multiprocessing/shared_memory.py", line 92, in __init__ self._fd = _posixshmem.shm_open( OSError: [Errno 86] Not supported: '/psm_b1ec903a' I think this is a separate issue, so I'd like to define HAVE_BROKEN_POSIX_SEMAPHORES for now. This has been done in pkgsrc since at least python 2.7 (in 2011), I haven't dug deeper. -- components: Interpreter Core messages: 408291 nosy: wiz priority: normal severity: normal status: open title: NetBSD: do not use POSIX semaphores type: behavior versions: Python 3.11 ___ Python tracker <https://bugs.python.org/issue46045> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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 <https://bugs.python.org/issue21459> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21461] Recognize -pthread
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 in pkgsrc. -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue21461> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21461] Recognize -pthread
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 is the recommended method to enable thread support. clang on NetBSD also supports this flag. I don't have access to clang on other systems. -- ___ Python tracker <https://bugs.python.org/issue21461> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21461] Recognize -pthread
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/issue21461> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46000] NetBSD curses compatibility
Thomas Klausner added the comment: Done: https://github.com/python/cpython/pull/29947 -- ___ Python tracker <https://bugs.python.org/issue46000> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46000] NetBSD curses compatibility
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 priority: normal severity: normal status: open title: NetBSD curses compatibility type: behavior versions: Python 3.10 Added file: https://bugs.python.org/file50480/patch-Modules___cursesmodule.c ___ Python tracker <https://bugs.python.org/issue46000> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue33384] Build does not work with closed stdin
Change by Thomas Klausner <t...@giga.or.at>: -- nosy: +wiz ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33384> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21457] NetBSD curses support improvements
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 curses support in Python. You should really try out on a NetBSD 8 (or -current) snapshot as well, since the curses library was improved for better support especially for python curses in the last year. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue21457> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue30512] CAN Socket support for NetBSD
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 for CAN sockets. -- components: Build files: can.diff keywords: patch messages: 294764 nosy: wiz priority: normal severity: normal status: open title: CAN Socket support for NetBSD type: compile error versions: Python 3.6 Added file: http://bugs.python.org/file46915/can.diff ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30512> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue27390] state of the 3.3 branch unclear
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 that for example https://bugs.python.org/issue22417 from 2014 was never fixed for 3.3.x. (perhaps it did not affect 3.3.x, but it affected 2.7 and 3.4, so the chances are high it did) I'm not particularly interested in a release -- I'm fine with declaring 3.3.x end-of-life, but the documentation should match the reality. Thanks. -- components: Interpreter Core messages: 269282 nosy: wiz priority: normal severity: normal status: open title: state of the 3.3 branch unclear type: security versions: Python 3.3 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27390> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue23155] unittest: object has no attribute '_removed_tests'
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 test_get_style_guide (flake8.tests.test_engine.TestEngine) ... ok test_get_style_guide_kwargs (flake8.tests.test_engine.TestEngine) ... ok test_register_extensions (flake8.tests.test_engine.TestEngine) ... ok test_stdin_disables_jobs (flake8.tests.test_engine.TestEngine) ... ok test_windows_disables_jobs (flake8.tests.test_engine.TestEngine) ... ok Traceback (most recent call last): File setup.py, line 74, in module test_suite='nose.collector', File /usr/pkg/lib/python3.4/distutils/core.py, line 148, in setup dist.run_commands() File /usr/pkg/lib/python3.4/distutils/dist.py, line 955, in run_commands self.run_command(cmd) File /usr/pkg/lib/python3.4/distutils/dist.py, line 974, in run_command cmd_obj.run() File /usr/pkg/lib/python3.4/site-packages/setuptools/command/test.py, line 142, in run self.with_project_on_sys_path(self.run_tests) File /usr/pkg/lib/python3.4/site-packages/setuptools/command/test.py, line 122, in with_project_on_sys_path func() File /usr/pkg/lib/python3.4/site-packages/setuptools/command/test.py, line 163, in run_tests testRunner=self._resolve_as_ep(self.test_runner), File /usr/pkg/lib/python3.4/unittest/main.py, line 93, in __init__ self.runTests() File /usr/pkg/lib/python3.4/unittest/main.py, line 244, in runTests self.result = testRunner.run(self.test) File /usr/pkg/lib/python3.4/unittest/runner.py, line 168, in run test(result) File /usr/pkg/lib/python3.4/unittest/suite.py, line 87, in __call__ return self.run(*args, **kwds) File /usr/pkg/lib/python3.4/unittest/suite.py, line 130, in run self._removeTestAtIndex(index) File /usr/pkg/lib/python3.4/unittest/suite.py, line 83, in _removeTestAtIndex self._removed_tests += test.countTestCases() File /usr/pkg/lib/python3.4/unittest/suite.py, line 41, in countTestCases cases = self._removed_tests AttributeError: 'FinalizingSuiteWrapper' object has no attribute '_removed_tests' *** Error code 1 I have reported this https://gitlab.com/pycqa/flake8/issues/19#note_712215 and Ian Cordasco said this looks like a bug in the unittest module, not py-flake8. -- components: Extension Modules messages: 233365 nosy: wiz priority: normal severity: normal status: open title: unittest: object has no attribute '_removed_tests' type: behavior versions: Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23155 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue19561] request to reopen Issue837046 - pyport.h redeclares gethostname() if SOLARIS is defined
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 list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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://bugs.python.org/issue21459 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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. -- Added file: http://bugs.python.org/file35433/dragonfly.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21457] NetBSD curses support improvements
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: patch messages: 218140 nosy: wiz priority: normal severity: normal status: open title: NetBSD curses support improvements type: compile error versions: Python 3.5 Added file: http://bugs.python.org/file35193/curses.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21457 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21458] MirBSD support
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 support versions: Python 3.5 Added file: http://bugs.python.org/file35194/configure.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21458 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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://bugs.python.org/file35195/dragonfly.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21460] distutils: use LDFLAGS
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. -- components: Library (Lib) files: ldflags.diff keywords: patch messages: 218143 nosy: wiz priority: normal severity: normal status: open title: distutils: use LDFLAGS versions: Python 3.5 Added file: http://bugs.python.org/file35196/ldflags.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21460 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21460] distutils: use LDFLAGS
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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21461] Recognize -pthread
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 versions: Python 3.5 Added file: http://bugs.python.org/file35197/pthread.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21461 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21457] NetBSD curses support improvements
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21457 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21458] MirBSD support
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.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21458 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue21459] DragonFlyBSD support
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.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21459 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10047] python-2.6.6 coredump running newspipe
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://bugs.python.org/issue10047 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10047] python-2.6.6 coredump running newspipe
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' -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10047 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue10047] python-2.6.6 coredump running newspipe
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 comment out the offending feed in the opml file, it runs through to completion). The backtrace looks like this: Core was generated by `python'. Program terminated with signal 10, Bus error. #0 0x7f7ffdc35a21 in PyOS_snprintf (str=0x7f7ff5dfe3d8 @, size=120, format=0x1 Address 0x1 out of bounds) at Python/mysnprintf.c:43 43 { (gdb) bt #0 0x7f7ffdc35a21 in PyOS_snprintf (str=0x7f7ff5dfe3d8 @, size=120, format=0x1 Address 0x1 out of bounds) at Python/mysnprintf.c:43 #1 0x7f7ffdc471a6 in PyOS_ascii_formatd (buffer=0x7f7ff5dfe3d8 @, buf_size=120, format=0x7f7ff5dfe388 %.2f, d=0.15256118774414062) at Python/pystrtod.c:455 #2 0x7f7ffdbaa7fa in formatfloat (buf=0x7f7ff5dfe3d8 @, buflen=120, flags=16, prec=2, type=102, v=0x7f7ffcc6d510) at Objects/stringobject.c:4378 #3 0x7f7ffdbabd32 in PyString_Format (format=0x7f7ffc8144e0, args=0x7f7ffcc6d510) at Objects/stringobject.c:4943 #4 0x7f7ffdbaa3b0 in string_mod (v=0x7f7ffc8144e0, w=0x7f7ffcc6d510) at Objects/stringobject.c:4116 #5 0x7f7ffdb459db in binary_op1 (v=0x7f7ffc8144e0, w=0x7f7ffcc6d510, op_slot=32) at Objects/abstract.c:917 #6 0x7f7ffdb45c81 in binary_op (v=0x7f7ffc8144e0, w=0x7f7ffcc6d510, op_slot=32, op_name=0x7f7ffdc6c089 %) at Objects/abstract.c:969 #7 0x7f7ffdb467ad in PyNumber_Remainder (v=0x7f7ffc8144e0, w=0x7f7ffcc6d510) at Objects/abstract.c:1221 #8 0x7f7ffdc08a03 in PyEval_EvalFrameEx (f=0x7f7fefa1dab0, throwflag=0) at Python/ceval.c:1180 #9 0x7f7ffdc1175f in fast_function (func=0x7f7ff8a9bed8, pp_stack=0x7f7ff5dfeae8, n=1, na=1, nk=0) at Python/ceval.c:3836 #10 0x7f7ffdc11565 in call_function (pp_stack=0x7f7ff5dfeae8, oparg=1) at Python/ceval.c:3771 #11 0x7f7ffdc0d81f in PyEval_EvalFrameEx (f=0x7f7fee920420, throwflag=0) at Python/ceval.c:2412 #12 0x7f7ffdc0f715 in PyEval_EvalCodeEx (co=0x7f7ffcc247b0, globals=0x7f7ffd1c5880, locals=0x0, args=0x7f7ff5b0aac8, argcount=8, kws=0x7f7ff5b0ab08, kwcount=0, defs=0x7f7ff8d3c4e8, defcount=5, closure=0x0) at Python/ceval.c:3000 #13 0x7f7ffdc1184a in fast_function (func=0x7f7ff8a9cc80, pp_stack=0x7f7ff5dfeff8, n=8, na=8, nk=0) at Python/ceval.c:3846 #14 0x7f7ffdc11565 in call_function (pp_stack=0x7f7ff5dfeff8, oparg=7) at Python/ceval.c:3771 #15 0x7f7ffdc0d81f in PyEval_EvalFrameEx (f=0x7f7ff5b0a820, throwflag=0) at Python/ceval.c:2412 #16 0x7f7ffdc1175f in fast_function (func=0x7f7ff8a9e140, pp_stack=0x7f7ff5dff358, n=1, na=1, nk=0) at Python/ceval.c:3836 #17 0x7f7ffdc11565 in call_function (pp_stack=0x7f7ff5dff358, oparg=0) at Python/ceval.c:3771 #18 0x7f7ffdc0d81f in PyEval_EvalFrameEx (f=0x7f7ff5b0a420, throwflag=0) at Python/ceval.c:2412 #19 0x7f7ffdc1175f in fast_function (func=0x7f7ffca1db90, pp_stack=0x7f7ff5dff6b8, n=1, na=1, nk=0) at Python/ceval.c:3836 #20 0x7f7ffdc11565 in call_function (pp_stack=0x7f7ff5dff6b8, oparg=0) at Python/ceval.c:3771 #21 0x7f7ffdc0d81f in PyEval_EvalFrameEx (f=0x7f7ff5b03190, throwflag=0) at Python/ceval.c:2412 #22 0x7f7ffdc0f715 in PyEval_EvalCodeEx (co=0x7f7ffca0d4e0, globals=0x7f7ffca473a0, locals=0x0, args=0x7f7ff04d3e68, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000 #23 0x7f7ffdb7a612 in function_call (func=0x7f7ffca1daa0, arg=0x7f7ff04d3e50, kw=0x0) at Objects/funcobject.c:524 #24 0x7f7ffdb495e8 in PyObject_Call (func=0x7f7ffca1daa0, arg=0x7f7ff04d3e50, kw=0x0) at Objects/abstract.c:2492 #25 0x7f7ffdb5eca0 in instancemethod_call (func=0x7f7ffca1daa0, arg=0x7f7ff04d3e50, kw=0x0) at Objects/classobject.c:2579 #26 0x7f7ffdb495e8 in PyObject_Call (func=0x7f7ff8ac2a00, arg=0x7f7ffd112050, kw=0x0) at Objects/abstract.c:2492 #27 0x7f7ffdc10cd3 in PyEval_CallObjectWithKeywords (func=0x7f7ff8ac2a00, arg=0x7f7ffd112050, kw=0x0) at Python/ceval.c:3619 #28 0x7f7ffdc4e69f in t_bootstrap (boot_raw=0x7f7ffd1b4590) at ./Modules/threadmodule.c:428 #29 0x7f7ffd90ba32 in pthread_setcancelstate () from /usr/lib/libpthread.so.1 #30 0x7f7ffd26e9b0 in ___lwp_park50 () from /usr/lib/libc.so.12 #31 0x in ?? () (gdb) fr 1 #1 0x7f7ffdc471a6 in PyOS_ascii_formatd (buffer=0x7f7ff5dfe3d8 @, buf_size=120, format=0x7f7ff5dfe388 %.2f, d=0.15256118774414062) at Python/pystrtod.c:455 455 PyOS_snprintf(buffer, buf_size, format, d); (gdb) l 450 format = tmp_format; 451 } 452 453 454 /* Have PyOS_snprintf do the hard work */ 455 PyOS_snprintf(buffer, buf_size, format, d); 456 457 /* Do various fixups on the return string */ 458 459 /* Get the current locale, and find the decimal point string. (gdb) p
[issue5510] patches for Modules/socketmodule.c for NetBSD
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://bugs.python.org/file15235/patch-ap ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5510 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7204] Strange shebang line in test_pep263
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 python # -*- coding: koi8-r -*- instead. -- components: Tests messages: 94458 nosy: wiz severity: normal status: open title: Strange shebang line in test_pep263 type: behavior versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7204 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7179] Unportable test(1) construct
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. -- components: Build files: test.1.patch keywords: patch messages: 94305 nosy: wiz severity: normal status: open title: Unportable test(1) construct type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file15170/test.1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7179 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7179] Unportable test(1) construct
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...@bugs.python.org http://bugs.python.org/issue7179 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com