Wilfredo Sanchez added the comment:
I get this on Python 2.6, not 2.5.
And it seems to be limited to 64-bit.
--
___
Python tracker
<http://bugs.python.org/issue8
Wilfredo Sanchez added the comment:
Given that the current Mac OS is 10.7, and 10.8 was just announced, it seems
reasonable to limit support to 10.6, if going back any further is more than a
little bit of additional work.
IIRC, 10.6 is also the last release to support PowerPC, so going back
New submission from Wilfredo Sanchez:
Add a path attribute to NamedTemporaryFile which provides a pathlib.Path object
pointing to the file on disk.
--
components: Library (Lib)
messages: 299884
nosy: wsanchez
priority: normal
severity: normal
status: open
title: Add a path attribute to
New submission from Wilfredo Sanchez:
Or, better, any object which conforms to the file system path protocol
(__fspath__).
--
components: Library (Lib)
messages: 299886
nosy: wsanchez
priority: normal
severity: normal
status: open
title: dir argument NamedTemporaryFile should accept a
Wilfredo Sanchez added the comment:
Huh… my apologies. I must have been fiddling with an older interpreter REPL
without noticing when I ran into this.
Never mind me. :-)
--
stage: -> resolved
status: pending -> closed
___
Python tracker
New submission from Wilfredo Sanchez :
The sqlite3.Row class has mapping-like behavior but does not implement the
get() method, so providing default values in code requires a bit of boilerplate
that is not necessary with dictionaries.
--
components: Library (Lib)
messages: 317719
nosy
Wilfredo Sanchez added the comment:
Please consider using RFC 7464 (JSON Text Sequences).
This allows detection of truncated JSON events without losing the following
event. It allows newlines in the JSON data.
All this involves is adding an RS between events.
--
nosy: +wsanchez
Wilfredo Sanchez added the comment:
Well, sequence and mapping are not mutually exclusive, and sqlite3.Row does
allow mapping-style indexing, which is why I expected .get() to work.
But I hear Raymond's point about all field being known, and I think that's a
good point… and I agr
Changes by Wilfredo Sanchez :
--
nosy: +wsanchez
___
Python tracker
<http://bugs.python.org/issue4111>
___
___
Python-bugs-list mailing list
Unsubscribe: