[issue33645] Importing bs4 fails with -3 option in Python 2.7.15

2018-05-25 Thread Florian Schulze
Florian Schulze <m...@florian-schulze.net> added the comment: You are right, this actually happens with Python 2.7.14 as well. I was fooled by a warnings.filterwarnings matching to a path in my codebase. That one did match for my Python 2.7.15 testing but didn't for my Python 2.7.14 t

[issue33645] Importing bs4 fails with -3 option in Python 2.7.15

2018-05-25 Thread Florian Schulze
Florian Schulze <florian.schu...@gmx.net> added the comment: Yes, it's third party code, but that worked up until Python 2.7.14 and only broke with 2.7.15, which is why I reported it here. The expected behaviour is not a SyntaxError, but a DeprecationWarning, which is what you get pre

[issue33645] Importing bs4 fails with -3 option in Python 2.7.15

2018-05-25 Thread Florian Schulze
New submission from Florian Schulze <florian.schu...@gmx.net>: Since Python 2.7.15 import bs4 (BeautifulSoup4) fails when using the -3 option on the Python binary. ... 'You are trying to run the Python 2 version of Beautiful Soup under Python 3. This will not work.'<>'You nee

[issue33198] Build on Linux with --enable-optimizations fails

2018-05-15 Thread Florian Schulze
Florian Schulze <florian.schu...@gmx.net> added the comment: Due to the TLS changes on pypi.org the buildout I used before doesn't work anymore on Travis and I have now switched to pyenv. If I ever stumble over it again, I will open a new bug with more information. --

[issue33198] Build on Linux with --enable-optimizations fails

2018-04-01 Thread Florian Schulze
New submission from Florian Schulze <florian.schu...@gmx.net>: While the tests run there is a segfault: https://travis-ci.org/collective/buildout.python/jobs/360190312#L2529 Started with b2 and still happens in b3, b1 built fine. -- components: Build, Tests messages: 31476

[issue8145] Documentation about sqlite3 isolation_level

2016-11-25 Thread Florian Schulze
Florian Schulze added the comment: The documentation patch is a definite improvement. -- nosy: +fschulze ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/

[issue28518] execute("begin immediate") throwing OperationalError

2016-11-25 Thread Florian Schulze
Florian Schulze added the comment: Ok, I reread https://docs.python.org/3/library/sqlite3.html#controlling-transactions several times now. I think it's confusing. I want explicit transaction handling, but ``isolation_level = None`` turns on "autocommit mode". Unfortunately I

[issue28518] execute("begin immediate") throwing OperationalError

2016-11-24 Thread Florian Schulze
Florian Schulze added the comment: How do we proceed from here? The Python 3.6.0rc1 is looming. If this is a bug in sqlite, then we need a workaround. We can't wait for a fix in sqlite, because it's not bundled with Python and without the fix Python 3.6 breaks with older sqlite versions. I'd

[issue28518] execute("begin immediate") throwing OperationalError

2016-10-24 Thread Florian Schulze
New submission from Florian Schulze: Using: conn = sqlite3.connect(':memory:', isolation_level='IMMEDIATE') conn.execute('begin immediate') Throws: sqlite3.OperationalError: cannot start a transaction within a transaction This didn't happen in previous versions and the conn.in_transaction

devpi-2.0.3, devpi-server-2.0.6 and devpi-web-2.1.0 released

2014-09-08 Thread Florian Schulze
-server install, you need to upgrade using these instructions: http://doc.devpi.net/latest/quickstart-server.html#versioning-exporting-and-importing-server-state Regards, Florian Schulze devpi-server 2.0.6 -- - log version information of all found plugins on startup. devpi-web

problem with newlines in regexp substitution

2006-02-23 Thread Florian Schulze
' re.sub('1',repl,s) '\n' s.replace('1',repl) '\\n' Why is the behaviour of the regexp substitution so weird and can I prevent that? It breaks my asumptions and thus my code. Regards, Florian Schulze -- http://mail.python.org/mailman/listinfo/python-list