[issue19065] sqlite3 timestamp adapter chokes on timezones

2021-10-07 Thread Ian Fisher
Change by Ian Fisher : -- nosy: +iafisher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19065] sqlite3 timestamp adapter chokes on timezones

2016-03-27 Thread Berker Peksag
Berker Peksag added the comment: > Do you know what would be the correct step to propose a deprecation in the > sqlite3 module of Python proper? I've opened issue 26651 (patch included) to deprecate them. -- nosy: +berker.peksag resolution: -> rejected stage: needs patch -> resolved s

[issue19065] sqlite3 timestamp adapter chokes on timezones

2015-11-07 Thread R. David Murray
R. David Murray added the comment: Just open an issue to propose the deprecation, if they aren't part of the DBAPI. We wouldn't actually remove them, though, until after 2.7 goes out of maintenance (if then...we still haven't quite decided what we're going to do about removals post 2.7). ---

[issue19065] sqlite3 timestamp adapter chokes on timezones

2015-08-23 Thread Gerhard Häring
Gerhard Häring added the comment: I'm -1 because I believe that ultimately, adapters and converters were a mistake to add to pysqlite. That's why I deprecated them in pysqlite 2.8.0. Do you know what would be the correct step to propose a deprecation in the sqlite3 module of Python proper? Is

[issue19065] sqlite3 timestamp adapter chokes on timezones

2015-08-19 Thread R. David Murray
R. David Murray added the comment: Can you expand on why you are -1, Gerhard? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue19065] sqlite3 timestamp adapter chokes on timezones

2015-08-19 Thread Gerhard Häring
Gerhard Häring added the comment: I'm -1 on adding timezone to the adapters. -- assignee: -> ghaering ___ Python tracker ___ ___ Pyth

[issue19065] sqlite3 timestamp adapter chokes on timezones

2015-06-25 Thread Jacques-D. Piguet
Jacques-D. Piguet added the comment: I just hit the problem in Python 2.7. The patch given here is not applicable due to missing class "datetime.timezone" in Python before 3.2. Question 1: when will the patch be applied in Python 3? Question 2: any chance to get a solution in Python 2? ---

[issue19065] sqlite3 timestamp adapter chokes on timezones

2013-10-20 Thread Vajrasky Kok
Vajrasky Kok added the comment: Added patch to add timezone support for sqlite3 datetime adapter. -- keywords: +patch nosy: +vajrasky Added file: http://bugs.python.org/file32253/add_timezone_support_for_sqlite3_datetime_adapter.patch ___ Python trac

[issue19065] sqlite3 timestamp adapter chokes on timezones

2013-09-22 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Sounds like a reasonable request, but the proposed code does not seem to work for the Eastern hemisphere (negative tz offsets.) I am not very familiar with sqlite module. What timestamp format does it use? Isn't it some varian of ISO 3339? See issue 1

[issue19065] sqlite3 timestamp adapter chokes on timezones

2013-09-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: This would be an useful improvement. Do you want to post a patch? See guidelines at http://docs.python.org/devguide/ -- nosy: +belopolsky, ghaering, lemburg, pitrou stage: -> needs patch type: -> enhancement versions: +Python 3.4 -Python 3.3

[issue19065] sqlite3 timestamp adapter chokes on timezones

2013-09-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue19065] sqlite3 timestamp adapter chokes on timezones

2013-09-21 Thread Chris Adams
New submission from Chris Adams: If you use detect_types=sqlite3.PARSE_DECLTYPES with sqlite3 and insert a timezone-aware datetime instance, you will get a ValueError if you attempt to read it back out: File "/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/pytho