[ python-Bugs-1757057 ] IDLE + BeautifulSoup = Error

2007-08-23 Thread SourceForge.net
Bugs item #1757057, was opened at 2007-07-19 20:17 Message generated for change (Comment added) made by altherac You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1757057group_id=5470 Please note that this message will contain a full copy of the comment

[ python-Bugs-1757062 ] Pickle fails on BeautifulSoup's navigableString instances

2007-08-23 Thread SourceForge.net
Bugs item #1757062, was opened at 2007-07-19 20:23 Message generated for change (Comment added) made by altherac You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=105470aid=1757062group_id=5470 Please note that this message will contain a full copy of the comment

[issue1624674] webbrowser.open_new() suggestion

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: webbrowser uses the default GNOME browser if a GNOME session is running and kfmclient if a KDE session is running. Closing as works for me. -- resolution: - works for me status: open - closed _ Tracker [EMAIL

[issue1753371] Open always create new tab or new browser

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: With Firefox, that's probably because you have set the default behavior to open a new tab, so there's nothing webbrowser.py can do about that. In Windows, os.startfile() is used, which doesn't allow remote settings like new window etc., so there's nothing

[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9

2007-08-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: Why does you patch test for -mno-fused-madd? If it isn't actually needed for something I'd rather not have that logic in the configure file, determining which bits of that file are actually needed for supported OS-es is hard enough as it is.

[issue1776696] tempfile.TemporaryFile differs between platforms

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: I agree with tiran. TemporaryFile(...) returns a file-like object, the details are implementation specific. -- nosy: +gbrandl resolution: - invalid status: open - closed _ Tracker [EMAIL PROTECTED]

[issue1742889] Pickling of exceptions broken

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Closing in favor of #1692335. -- status: open - closed superseder: - Move initial args assignment to BaseException.__new__ _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1742889

[issue1744398] Improve exception pickling support

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Closing in favor of #1692335. -- nosy: +gbrandl status: open - closed superseder: - Move initial args assignment to BaseException.__new__ _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1744398

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Raising priority. -- priority: normal - urgent severity: normal - major title: Move initial args assignment to BaseException.__new__ - Fix exception pickling: Move initial args assignment to BaseException.__new__ versions: +Python 2.6

[issue1768121] Byte code WITH_CLEANUP missing, MAKE_CLOSURE wrong

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Fixed in rev. 57324, thanks for the report. -- assignee: - gbrandl nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1768121

[issue1766421] poll() returns status code, not return code

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the report, fixed in rev. 57326, 57327. -- assignee: - gbrandl nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1766421

[issue469773] Write 'Using Python on Platform X' documents

2007-08-23 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr.: -- assignee: fdrake - Tracker [EMAIL PROTECTED] http://bugs.python.org/issue469773 ___ Python-bugs-list mailing list Unsubscribe:

[issue870479] Scripts need platform-dependent handling

2007-08-23 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Removing the assignment to me, since I'm not going to resolve the fundamental disagreements about what the right thing is. Someone else can argue with the wrong-headed. -- assignee: fdrake - Tracker [EMAIL

[issue1752175] fixing 2.5.1 build with unicode and dynamic loading disabled

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Okay, fixed both and backported in rev. 57328, 57330. -- assignee: - gbrandl nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1752175

[issue1757118] utilize 2.5 try/except/finally in contextlib

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Committed in rev. 57331. -- assignee: - gbrandl nosy: +gbrandl resolution: - accepted status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1757118 _

[issue1756389] reference count discrepancy, PyErr_Print vs. PyErr_Clear

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Closing as invalid. -- nosy: +gbrandl resolution: - invalid status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1756389 _

[issue1209562] add single html files

2007-08-23 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Might be nice, but it's obvious I've not gotten to this, so removing myself from the issue. -- assignee: fdrake - _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1209562

[issue1757072] Zipfile robustness

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Alan? -- assignee: - aimacintyre nosy: +gbrandl _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1757072 _ ___ Python-bugs-list

[issue1749583] expanduser(~) on Windows looks for HOME first

2007-08-23 Thread Ralf Schmitt
Ralf Schmitt added the comment: As a user of msys I would expect that python returns the value of HOME. If I didn't start python from msys, HOME would either not be set, or I had set in some windows dialog (and then I would expect python to also use that). -- nosy: +schmir

[issue1764044] copy 2

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Which time is that? Windows three timestamps, IIRC: creation, modification, access. -- nosy: +gbrandl _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1764044 _

[issue1753395] struni: assertion in Windows debug build

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Attaching a patch, should fix this. -- nosy: +gbrandl _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1753395 _Index: Objects/typeobject.c

[issue1757072] Zipfile robustness

2007-08-23 Thread Georg Brandl
Changes by Georg Brandl: -- assignee: aimacintyre - _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1757072 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1752703] chown() does not handle UID INT_MAX

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Closing, superseder has more information and same patch. -- nosy: +gbrandl resolution: - duplicate status: open - closed superseder: - chown broken on 64bit _ Tracker [EMAIL PROTECTED]

[issue1771381] bsddb can't use unicode keys

2007-08-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Unassigning since I don't know the details of bsddb. -- assignee: lemburg - _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1771381 _

[issue457493] include SQL interface module

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: With DB API and sqlite3 in the stdlib, I think this can be closed. -- nosy: +gbrandl status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue457493

[issue514532] Add eu# parser marker

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: I guess this can be closed in the light of Py3k. -- nosy: +gbrandl status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue514532

[issue714469] Easy tutorial printing should be possible

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Assigning to me to remind myself about writing a PDF-producing Sphinx builder. -- assignee: - gbrandl nosy: +gbrandl resolution: invalid - Tracker [EMAIL PROTECTED] http://bugs.python.org/issue714469

[issue447143] exception item from mapped function

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Closing, see PEP 3134. -- nosy: +gbrandl status: open - closed title: exception item from mapped function - exception item from mapped function Tracker [EMAIL PROTECTED] http://bugs.python.org/issue447143

[issue223599] Need user-centered info for Windows users.

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: issue469773 subsumes this. -- nosy: +gbrandl -nobody resolution: - duplicate status: open - closed superseder: - Write 'Using Python on Platform X' documents Tracker [EMAIL PROTECTED]

[issue1000] Patch to rename *Server modules to lower-case

2007-08-23 Thread Jason Prado
New submission from Jason Prado: Here's a patcher for the 2to3 fixer. After I add this ticket I'll try to add another file for the py3k/Lib directory. -- components: Library (Lib) files: fixer-server-imports.patch messages: 55188 nosy: jasonpjason severity: normal status: open title:

[issue225476] Codec naming scheme and aliasing support

2007-08-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Closing this request as the encodings package search function should not be used import external codecs (this poses a security risk). -- status: open - closed Tracker [EMAIL PROTECTED]

[issue880951] ez format code for ParseTuple()

2007-08-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Closing. There doesn't seem to be much interest in this. -- status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue880951

[issue1001895] Adding missing ISO 8859 codecs, especially Thai

2007-08-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Not sure why this is still open. The patches were checked in a long time ago. -- status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1001895 _

[issue547537] cStringIO should provide a binary option

2007-08-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Unassigning: I've never had a need for this in the past years. -- assignee: lemburg - Tracker [EMAIL PROTECTED] http://bugs.python.org/issue547537

[issue698900] Provide plucker format docs.

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Plucker seems to be dead for at least two years, so closing. -- nosy: +gbrandl resolution: - out of date status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue698900

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-08-23 Thread Adrian Holovaty
Changes by Adrian Holovaty: -- components: Demos and Tools severity: normal status: open title: 2to3 crashes on input files with no trailing newlines type: crash __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1001

[issue1675334] Draft implementation for PEP 364

2007-08-23 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +py3k _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1675334 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-08-23 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +py3k __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1001 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1086642] Compile of _socket fails on IRIX with 2.4

2007-08-23 Thread Georg Brandl
Changes by Georg Brandl: -- title: Compile of _socket fails on 2.4 - Compile of _socket fails on IRIX with 2.4 _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1086642 _

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-08-23 Thread Adrian Holovaty
New submission from Adrian Holovaty: The 2to3 Python 3k migration utility crashes with the following traceback on any input file that does *not* have a trailing newline. It doesn't seem to matter whether the input file needs modifications or not. RefactoringTool: Can't parse

[issue765228] Subclassing from Modules

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: In 2.5, the message says module.__init__() takes at most 2 arguments (3 given), which is at least a bit more specific. You get similar errors when deriving from other arbitrary objects, so I don't know if a special case makes sense here. -- nosy:

[issue1001] 2to3 crashes on input files with no trailing newlines

2007-08-23 Thread Adrian Holovaty
Adrian Holovaty added the comment: (Sorry, the previous error snippet isn't a traceback as I had said. It's the error text.) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1001 __

[issue924771] work around to compile \r\n file

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: The offending open() call in trace.py is fixed, so closing this. -- nosy: +gbrandl resolution: - out of date status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue924771

[issue1002] Patch to rename HTMLParser module to lower_case

2007-08-23 Thread Paul Smith
New submission from Paul Smith: HTMLParser is renamed to html_parser. -- components: Library (Lib) files: rename-html-parser.diff messages: 55200 nosy: paulsmith severity: normal status: open title: Patch to rename HTMLParser module to lower_case versions: Python 2.6

[issue881765] configure warning / sys/un.h: present but cannot be compiled

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: No followup for 3 years, so this can probably be closed. -- nosy: +gbrandl status: open - closed Tracker [EMAIL PROTECTED] http://bugs.python.org/issue881765

[issue1002] Patch to rename HTMLParser module to lower_case

2007-08-23 Thread Paul Smith
Paul Smith added the comment: Patch to 2to3 fix_imports. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1002 __ rename-html-parser-fix-imports.diff Description: Binary data ___

[issue547537] cStringIO should provide a binary option

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: I think this can be closed, cStringIO won't change and Py3k won't have StringIO unicode problems anyway. -- nosy: +gbrandl resolution: - wont fix status: open - closed Tracker [EMAIL PROTECTED]

[issue1293790] python.sty: [EMAIL PROTECTED] correction

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Obsolete now that we're using reST sources. -- nosy: +gbrandl resolution: - out of date status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1293790 _

[issue1573854] sqlite3 documentation on rowcount is contradictory

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Fixed now in rev. 57345. -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1573854 _

[issue1779871] Make python build with gcc-4.2 on OS X 10.4.9

2007-08-23 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: In http://gcc.gnu.org/ml/gcc/2005-12/msg00368.html, Mike Stump [EMAIL PROTECTED] said This flag [-no-cpp-precomp] should be removed from the compile, it hasn't been needed in a long while (since gcc-3.1). which was released in 2002. I'm happy to remove

[issue1003] zipfile password fails validation

2007-08-23 Thread David W
New submission from David W: This is in python2.5: zipfile.py SVN rev-56308 When testing a zipfile.Zipfile().read() with a password protected zip file, I would continually get exceptions. So I tracked this down to line 796-797: if ord(h[11]) != ((zinfo.CRC24)255): raise RuntimeError,

[issue1095328] Add 'update FAQ' to release checklist

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Updated FAQ once again; there is an item in PEP 101 already. -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1095328

[issue1119439] Python Programming FAQ should be updated for Python 2.4

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Fixed in my pydotorg tree, will commit as soon as I find out how :) -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1119439

[issue1635217] Add example of distutils setup() with requires argument

2007-08-23 Thread Georg Brandl
Changes by Georg Brandl: -- title: Little mistake in docs - Add example of distutils setup() with requires argument _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1635217 _

[issue1752332] getaddrinfo no longer used in httplib

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Fixed in rev. 57351. -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1752332 _

[issue1734111] struct.Struct.size is not documented

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Fixed in rev. 57352. -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1734111 _

[issue1708326] imp.find_module doc ambiguity

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: IMO it is your responsibility to make sure that the module name you pass is a valid Python module name. -- nosy: +gbrandl status: open - pending _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1708326

[issue1699759] pickle example contains errors

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: The example is already fixed; also, a note is in the docs that you must use binary mode for protocols = 1. -- nosy: +gbrandl resolution: - out of date status: open - closed _ Tracker [EMAIL PROTECTED]

[issue1688564] os.path.join.__doc__ should mention absolute paths

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Fixed in rev. 57353. -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1688564 _

[issue1625381] re module documentation on search/match is unclear

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Clarified in rev. 57354. -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1625381 _

[issue1758696] Documentation of descriptors needs more detail

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Added a footnote in rev. 57355. -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1758696 _

[issue1742164] Incorrect docs for optparse OptionParser add_help_option

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: This is finally fixed with the new sources and toolset. -- nosy: +gbrandl resolution: - fixed status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1742164 _

[issue1743846] Examples dropped from PDF version of SQLite docs

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Obsolete now, the toolset that generated these PDFs is no longer used for new versions. -- nosy: +gbrandl resolution: - out of date status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1743846

[issue780725] Compile error messages and PEP-263

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: #1031213 contains a patch, marking as superseder. -- nosy: +gbrandl resolution: - duplicate status: open - closed superseder: - Patch for bug #780725 Tracker [EMAIL PROTECTED] http://bugs.python.org/issue780725

[issue1031213] Use correct encoding for printing SyntaxErrors

2007-08-23 Thread Georg Brandl
Changes by Georg Brandl: -- title: Patch for bug #780725 - Use correct encoding for printing SyntaxErrors _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1031213 _

[issue1779550] Remove redundancies inside class logging.Logger

2007-08-23 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied as rev. 57357. -- assignee: - gbrandl nosy: +gbrandl resolution: - accepted status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1779550 _

[issue1766304] improve xrange.__contains__

2007-08-23 Thread Georg Brandl
Changes by Georg Brandl: -- keywords: +py3k _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1766304 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue1005] Patches to rename Queue module to queue

2007-08-23 Thread Paul Smith
New submission from Paul Smith: Renamed Lib/Queue.py to Lib/queue.py. -- components: Library (Lib) files: rename-queue.diff messages: 55230 nosy: paulsmith severity: normal status: open title: Patches to rename Queue module to queue versions: Python 2.6

[issue1005] Patches to rename Queue module to queue

2007-08-23 Thread Paul Smith
Paul Smith added the comment: Patches 2to3/fixes/fix_imports.py. Note that patch to Lib doesn't include `svn mv Lib/Queue.py Lib/queue.py` (issue reporter without commit privileges). __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1005

[issue1006] Refactor test_winreg.py to use unittest.

2007-08-23 Thread Atul Varma
New submission from Atul Varma : This patch refactors test_winreg.py to use unittest. When this patch is applied, Lib/test/output/test_winreg can be removed. I also made a few formatting changes to ensure that all lines

[issue1007] Fix dumbdbm, which fixes test_shelve (for me); instrument other tests so we catch this sooner (and more directly)

2007-08-23 Thread Larry Hastings
Larry Hastings added the comment: Whoops, copy paste error on the title, there. -- title: ix dumbdbm, which fixes test_shelve (for me); instrument other tests so we catch this sooner (and more directly) - Fix dumbdbm, which fixes test_shelve (for me); instrument other tests so we

[issue1007] [py3k] Fix dumbdbm, which fixes test_shelve (for me); instrument other tests so we catch this sooner (and more directly)

2007-08-23 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- title: Fix dumbdbm, which fixes test_shelve (for me); instrument other tests so we catch this sooner (and more directly) - [py3k] Fix dumbdbm, which fixes test_shelve (for me); instrument other tests so we catch this sooner (and more directly)

[issue1007] [py3k] Fix dumbdbm, which fixes test_shelve (for me); instrument other tests so we catch this sooner (and more directly)

2007-08-23 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- assignee: - greg __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1007 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1008] Refactor test_signal.py to use unittest.

2007-08-23 Thread Atul Varma
New submission from Atul Varma: This patch refactors test_signal.py to use unittest. When this patch is applied, Lib/test/output/test_signal can be removed. I tried to refactor out individual tests from the original script and place them in separate test cases. -- components: Tests

[issue1721890] IDLE hangs in popup method completion

2007-08-23 Thread Kurt B. Kaiser
Kurt B. Kaiser added the comment: fixed at 53042. -- priority: high - normal status: open - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1721890 _ ___

[issue1771381] bsddb can't use unicode keys

2007-08-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: The BerkeleyDB library operates on bytes only. Unicode doesn't make sense as a key without converting it to a particular encoding first. Use the unicode object's encode() method if you need to use it as a database key or create a wrapper object or subclass

[issue1725856] bsddb.btopen . del of record doesn't update index

2007-08-23 Thread Gregory P. Smith
Changes by Gregory P. Smith: -- assignee: - greg _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1725856 _ ___ Python-bugs-list mailing list Unsubscribe:

[issue533281] bsddb module needs iterators

2007-08-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: this was marked 'open' and 'fixed' at the same time. that should be an invalid state. it was indeed fixed eons ago. -- nosy: +greg status: open - closed Tracker [EMAIL PROTECTED]

[issue533281] bsddb module needs iterators

2007-08-23 Thread Martin v. Löwis
Martin v. Löwis added the comment: It had indeed the status Fixed/Open on SF. It was marked as Fixed and Closed by rhettinger, then reopened by rhettinger in response to my comment in msg53513. It does not refer to _bsddb.c, but bsddbmodule.c. Are you saying that bsddbmodule.c supports

[issue1009] Implementation of PEP 3101, Advanced String Formatting

2007-08-23 Thread Eric V. Smith
Changes by Eric V. Smith: -- versions: +Python 2.6 __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1009 __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1725856] bsddb.btopen . del of record doesn't update index

2007-08-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: This code deletes the item that the internal database cursor created by the db.first() call is pointing at. Then when db.first() is called again it tries to reuse the same cursor. Now to decide if thats the expected behavior or a real problem and how to fix

[issue1725856] bsddb.btopen . del of record doesn't update index

2007-08-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: My first description wasn't quite accurate. What was happening is that the __delitem__(i) call by del was closing the existing cursor and saving the key it was pointing to and the first() and last() methods were creating a new cursor and trying to restore the

[issue1725856] bsddb.btopen . del of record doesn't update index

2007-08-23 Thread Gregory P. Smith
Gregory P. Smith added the comment: Committed to HEAD as r57378 Committed to release25-maint as r57379 Committed to py3k as r57380 -- resolution: - fixed status: pending - closed _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1725856