[issue30388] ndbm can't iterate through values on OS X

2020-11-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached a C program that demonstrates the problem, and have filed an issue with Apple about this: FB8919203 It is not clear to me what we can do about this, other than not building the ndbm binding on macOS. The manpages for the ndbm APIs do not

[issue30388] ndbm can't iterate through values on OS X

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: See also #33074 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30388] ndbm can't iterate through values on OS X

2017-06-09 Thread Forest Gregg
Forest Gregg added the comment: A different user: otool -L $(python3.6 -c 'import _dbm;print(_dbm.file)') /usr/local/var/pyenv/versions/3.6.1/lib/python3.6/lib-dynload/_dbm.cpython-36m-darwin.so: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.50.2) --

[issue30388] ndbm can't iterate through values on OS X

2017-06-06 Thread Forest Gregg
Forest Gregg added the comment: >From one user who had problems under both 3.5 and 3.6 otool -L $(python3.5 -c 'import _dbm;print(_dbm.__file__)') /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload/_dbm.cpython-35m-darwin.so: /usr/lib/libSystem.B.dylib (compatibility

[issue30388] ndbm can't iterate through values on OS X

2017-06-05 Thread Ned Deily
Ned Deily added the comment: It would be helpful if you could provide the output of this command: otool -L $(python3.6 -c 'import _dbm;print(_dbm.__file__)') if necessary, substituting whatever command name(s) you are using to invoke python when failing. --

[issue30388] ndbm can't iterate through values on OS X

2017-06-05 Thread Forest Gregg
Forest Gregg added the comment: I have been trying to make a small reproducible example, but haven't been able to isolate it. Running this script [1] csv_example on mac os x under either py27 or py3 does seem *often* cause this problem [2], [3]: [1]

[issue30388] ndbm can't iterate through values on OS X

2017-05-21 Thread Emily Morehouse
Changes by Emily Morehouse : -- nosy: +emilyemorehouse ___ Python tracker ___ ___

[issue30388] ndbm can't iterate through values on OS X

2017-05-20 Thread Ned Deily
Ned Deily added the comment: Can you provide a complete example of how to reproduce the behavior you are seeing? Ideally, it would include producing the shelve object. Also, please provide the output of this command: otool -L $(python3.6 -c 'import _dbm;print(_dbm.__file__)') --

[issue30388] ndbm can't iterate through values on OS X

2017-05-19 Thread Forest Gregg
Forest Gregg added the comment: Very sorry for the ambiguity. The bug appears for both python 3.5 and python 3.6.1 on OS X. I have not tried other versions of python on OS X. -- ___ Python tracker

[issue30388] ndbm can't iterate through values on OS X

2017-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Do you mean that on OSX, you code works with 3.6.1 and fails with 3.5.3? -- components: +macOS nosy: +ned.deily, ronaldoussoren, terry.reedy ___ Python tracker

[issue30388] ndbm can't iterate through values on OS X

2017-05-18 Thread Forest Gregg
Forest Gregg added the comment: The ndbm db's two files (in the attachment) have the following size tmp___otctx 0 bytes tmp___otctx.db 12857344 bytes -- ___ Python tracker

[issue30388] ndbm can't iterate through values on OS X

2017-05-17 Thread Forest Gregg
Changes by Forest Gregg : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue30388] ndbm can't iterate through values on OS X

2017-05-17 Thread Forest Gregg
ines. I've attached a zip file of the ndbm files that python created. -- components: Library (Lib) files: ndbm.zip messages: 293858 nosy: Forest Gregg priority: normal severity: normal status: open title: ndbm can't iterate through values on OS X versions: Python 3.5 Added file: http://bugs

[issue9733] Can't iterate over multiprocessing.managers.DictProxy

2010-11-02 Thread Ask Solem
Changes by Ask Solem a...@opera.com: -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9733 ___ ___

[issue9733] Can't iterate over multiprocessing.managers.DictProxy

2010-09-09 Thread Ask Solem
Ask Solem a...@opera.com added the comment: I expected I could iterate over a DictProxy as I do over a regular dict. DictProxy doesn't support iterkeys(), itervalues(), or iteritems() either. So while iter(d) could do iter(d.keys()) behind the scenes, it would mask the fact that

[issue9733] Can't iterate over multiprocessing.managers.DictProxy

2010-09-05 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +asksol ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9733 ___ ___ Python-bugs-list

[issue9733] Can't iterate over multiprocessing.managers.DictProxy

2010-09-01 Thread Juan José Conti
: normal status: open title: Can't iterate over multiprocessing.managers.DictProxy versions: Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9733

[issue9733] Can't iterate over multiprocessing.managers.DictProxy

2010-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - jnoller nosy: +jnoller stage: - needs patch type: - behavior versions: +Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9733

Can't Iterate

2009-12-16 Thread Victor Subervi
Hi; I have this line of code: for store in ourStores(): which is called from the statement: from particulars import ourStores The latter file has the following: def ourStores(): return ['prescriptions', 'products'] Yet, the above iteration only iterates the last of these items

Re: Can't Iterate

2009-12-16 Thread Chris Rebert
On Wed, Dec 16, 2009 at 11:26 PM, Victor Subervi victorsube...@gmail.com wrote: Hi; I have this line of code: for store in ourStores(): which is called from the statement: from particulars import ourStores The latter file has the following: def ourStores():   return ['prescriptions',