[issue24905] Allow incremental I/O to blobs in sqlite3

2018-11-07 Thread Holger Waldmann
Holger Waldmann added the comment: I am looking forward for this to be included. My main use case is on restricted IoT devices, where I need to handle BLOBs of 2MB size. As this is larger than my available RAM, I store need to store them in the filesystem today. This is ugly because it is

[issue32776] asyncio SIGCHLD scalability problems

2018-02-05 Thread holger
New submission from holger : I intended to use the asyncio framework for building an end-to-end test for our software. In the test I would spawn somewhere between 5k to 10k processes and have the same number of sockets to manage. When I built a prototype I ran into some scaling issues

[issue32715] Make create_unix_server for SOCK_DGRAM work

2018-01-29 Thread holger
holger added the comment: Could you please tell me which exact posix document and paragraph says that? In Linux sending can fail but once sendmsg worked the message is enqueued on the other socket (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/unix/af_unix.c?id

[issue32715] Make create_unix_server for SOCK_DGRAM work

2018-01-29 Thread holger
New submission from holger : The current implementation verifies that the sock passed is a stream socket. This limitation appears to be arbitrary and is limiting. * An AF_UNIX SOCK_DGRAM server socket becomes readable when one can accept(2) it. Just like SOCK_STREAM. * One could provide a

[issue2943] Distutils should generate a better error message when the SDK is not installed

2014-01-02 Thread Holger Waldmann
Holger Waldmann added the comment: On Python 3.3.3 it is even worse. I am using Python 3.3.3 (32bit) on Windows 7 (64bit). Visual Studio C++ 2008 Express Edition is properly installed. Note: I use Python 32bit because Visual Studio C++ 2008 Express Edition includes only the 32bit compiler

[issue16997] subtests

2013-02-11 Thread holger krekel
holger krekel added the comment: On Sun, Feb 10, 2013 at 12:43 PM, Nick Coghlan wrote: > > Nick Coghlan added the comment: > > You can use subtests to build parameterized tests, you can't use > parameterized tests to build subtests. I doubt you can implement parametrize

[issue16997] subtests

2013-02-11 Thread holger krekel
holger krekel added the comment: On Sun, Feb 10, 2013 at 12:41 PM, Antoine Pitrou wrote: > > Antoine Pitrou added the comment: > > > Please don't commit I think we still need a discussion as to whether > > subtests or paramaterized tests are a better approach. I ce

[issue12271] Python 2.7.x on IA64 running SLES 11 SP1

2012-05-23 Thread Holger Mickler
Holger Mickler added the comment: I just stumbled upon the same problem with Python 2.7.3 on SLES 11 SP1 amd64. Obviously, SuSE puts the needed header file into /usr/include/ncurses/, and one can either create a symlink in /usr/include/ or apply a patch to _curses_panel.c: --- Modules

[issue13756] Python3.2.2 make fail on cygwin

2012-01-10 Thread Holger
New submission from Holger : Downloaded Python-3.2.2.tar cd Python-3.2.2 ./configure make Fail on: . ranlib libpython3.2m.a make: *** No rule to make target `libpython3.2m.dll.a', needed by `python.exe'. Stop. libpython3.2m.a

[issue7897] Support parametrized tests in unittest

2011-12-18 Thread holger krekel
Changes by holger krekel : -- nosy: +hpk ___ Python tracker <http://bugs.python.org/issue7897> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13490] broken downloads counting on pypi.python.org

2011-11-27 Thread holger krekel
New submission from holger krekel : Seems like pypi.python.org does not properly maintain download counters anymore, at least for a few packages i looked at like pytest,execnet,tox,nose. -- components: None messages: 148447 nosy: hpk priority: normal severity: normal status: open title

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2010-12-07 Thread holger krekel
holger krekel added the comment: Michael, if you have it i'd like to see the original post/concrete use case. thanks, holger -- ___ Python tracker <http://bugs.python.org/is

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2010-12-06 Thread holger krekel
holger krekel added the comment: FWIW i tend to agree and would probably prefer setup/teardown to result in an error rather than be subsumed in an expected-to-fail marked test. I guess if one regards setup/teardown as a place to implement pre/post-conditions than the changes suggested by

[issue10548] Error in setUp not reported as expectedFailure (unittest)

2010-12-06 Thread holger krekel
Changes by holger krekel : -- nosy: +hpk ___ Python tracker <http://bugs.python.org/issue10548> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1589266] bdist_sunpkg distutils command

2010-08-25 Thread Holger Joukl
Holger Joukl added the comment: > Holger, sorry your work has to be rejected. No harm done - kind of paradoxical that my employer allowed me to release the code into the wild but hasn't been willing to let me sign the contribution form, in 4 years. So it's at least out in the o

[issue8720] undo findsource regression/change

2010-06-16 Thread holger krekel
holger krekel added the comment: Seems the inspect.getsourcefile regression now is in the RC1 of Python2.7 as well. I suggest to apply the "getsourcefile.patch" patch which was attached from David. I tested it and it works fine for Python2.7 and Python3.1. -- st

[issue8782] inspect.getsource returns invalid source for non-newline-ending module

2010-05-22 Thread holger krekel
holger krekel added the comment: Great. Also to be backported to 2.x? holger On Fri, May 21, 2010 at 11:32 PM, Benjamin Peterson wrote: > > Benjamin Peterson added the comment: > > Fixed in r81432 by making linecache smarter. > > -- > nosy: +benjamin.peterson &g

[issue8782] inspect.getsource returns invalid source for non-newline-ending module

2010-05-21 Thread holger krekel
New submission from holger krekel : Executing the attached "inspect_failure.py" under python2.6 or python3.1 results in an assertion error: Python fails to obtain the source code of a function that is defined at the end of a module whose last line does not contain a line ending

[issue8720] undo findsource regression/change

2010-05-21 Thread holger krekel
holger krekel added the comment: Well, maybe we could introduce a "linecache.setlines" function to give the linecache module control over its internal caching and data handling. What do you think? -- ___ Python tracker <http://bu

[issue8720] undo findsource regression/change

2010-05-21 Thread holger krekel
holger krekel added the comment: David, your getsourcefile.patch looks fine (and better than mine) to me. -- ___ Python tracker <http://bugs.python.org/issue8

[issue8720] undo findsource regression/change

2010-05-15 Thread holger krekel
holger krekel added the comment: Thanks for helping with this! Attached is a patch that adds a keyword "check=True" to getsourcefile so that findsource can defer existence-checking until after cache lookup. Eventually, findsource will still raise an IOError if it can't find

[issue8720] undo findsource regression/change

2010-05-14 Thread holger krekel
New submission from holger krekel : Somewhere between python 3.0.1 and 3.1.2 the behaviour of inspect.findsource changed: it does not find the source code anymore for a code object whose filename/source is in the linecache.cache because instead of the previous:: file = getsourcefile

[issue8564] Update documentation on doctest/unittest2 integration

2010-04-30 Thread holger krekel
Changes by holger krekel : -- nosy: +hpk ___ Python tracker <http://bugs.python.org/issue8564> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue8547] unittest test discovery can fail when package under test is also installed globally

2010-04-30 Thread holger krekel
holger krekel added the comment: FWIW checking if an imported module really comes from a certain location and erroring out is also how py.test does it. -- nosy: +hpk ___ Python tracker <http://bugs.python.org/issue8

[issue8558] StringIO().truncate causes zero-bytes in getvalue()

2010-04-28 Thread holger krekel
holger krekel added the comment: Ah, thanks for the pointer. So indeed, for me truncate(0)+seek(0) works fine for all interpreters i care for (python2.4 - 3.1.X), previously truncate(0) was enough. -- ___ Python tracker <http://bugs.python.

[issue8558] StringIO().truncate causes zero-bytes in getvalue()

2010-04-28 Thread holger krekel
New submission from holger krekel : Running the attached file with python3.1.1 works fine, all assertions pass. Running it with 3.1.2 gives me this output: $ python3.1.2/bin/python3.1 stringio_fail.py Traceback (most recent call last): File "stringio_fail.py", line 12, in

[issue6333] logging: ValueError: I/O operation on closed file

2009-07-10 Thread holger krekel
holger krekel added the comment: Actually py.test catches stdout separately for setup and for the test code. Moreover, functional or integration test code (py.test is not only for unittests) can easily trigger some implicit logging-module usage which cannot eaysily be factored into a testcase

[issue6333] logging: ValueError: I/O operation on closed file

2009-07-09 Thread holger krekel
holger krekel added the comment: To recap the use case: stdout is redirected during a test function run which might trigger arbitrary usage of logging-functionality. Not closing the temporary file would mean that there could be as many open files as there are test functions - or one needs to

[issue6333] logging: ValueError: I/O operation on closed file

2009-07-09 Thread holger krekel
holger krekel added the comment: I think the issue is unrelated to py.test - it just presents a use case as it wants to run 1000's of tests and capture stdout/stderr per each test function, cannot guess about a test's logging-usage yet wants to minimize memory/resource usage and