[issue10740] sqlite3 module should allow DDL statements in transactions

2012-10-18 Thread Jeremy Banks
Changes by Jeremy Banks : -- nosy: +Jeremy Banks ___ Python tracker <http://bugs.python.org/issue10740> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

2011-07-14 Thread Jeremy Banks
Jeremy Banks added the comment: I'll try that, thank you. If it works without exception in Python 2, isn't the behaviour in Python 3 a regression bug, even if it doesn't crash? If so, should I create a new/separate issue fo

[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

2011-07-14 Thread Jeremy Banks
Jeremy Banks added the comment: I'm using OS X 10.6.7. The bus error is occurring with my Python 3.1 installation: path: /Library/Frameworks/Python.framework/Versions/3.1/bin/python3 sqlite3.version == 2.4.1 sqlite3.sqlite_version = 3.6.11. But now that you mention it, my Mac

[issue12569] sqlite3 segfaults and bus errors when given certain unicode strings as queries

2011-07-14 Thread Jeremy Banks
New submission from Jeremy Banks : I was experimenting with the sqlite3 library and noticed that using certain strings as identifiers cause bus errors or segfaults. I'm not very familiar with unicode, but after some Googling I'm pretty sure this happens when I use non-characters or

[issue4291] Allow Division of datetime.timedelta Objects

2009-04-14 Thread Jeremy Banks
Jeremy Banks added the comment: Redundant with #2706 and others. -- nosy: -belopolsky, haypo, marketdickinson status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue4291] Allow Division of datetime.timedelta Objects

2008-11-09 Thread Jeremy Banks
Jeremy Banks <[EMAIL PROTECTED]> added the comment: Thanks, I should have paid more attention to the results when I searched for duplicates. I think that Christian's suggestion of enabling float() and int() for timedeltas is worth having here, though. -- nosy: -chris

[issue4291] Allow Division of datetime.timedelta Objects

2008-11-09 Thread Jeremy Banks
Jeremy Banks <[EMAIL PROTECTED]> added the comment: Sorry, allowing for conversion to int/float is probably a more sensible solution. This idea was brought to my mind when I was making a very very simple script for a friend to display how far through a time range we currently are. For e

[issue4291] Allow Division of datetime.timedelta Objects

2008-11-09 Thread Jeremy Banks
New submission from Jeremy Banks <[EMAIL PROTECTED]>: It would be convenient if it were possible to divide one datetime.timedelta object by another to determine their relative durations. Were the datetime module pure Python a crude solution would just be to add two methods lik