Jason Madden

Results 44 issues of Jason Madden

With the current state of gevent on 3.12b3 (gevent 23.7.0, greenlet 3.0a1), `test__util.py` crashes the interpreter while executing pure-Python code that calls `traceback.format_stack()`. This test exercises the `format_run_info` function, which...

Type: Bug
PyVer: python3
Platform: POSIX
Level: help wanted

Consider: ```python from BTrees import family64 class WithEq(object): def __eq__(self, other): return NotImplemented s = family64.OO.TreeSet() s.add(WithEq()) ``` The `WithEq` class has default comparison: it doesn't define any sorting methods....

We have a corrupt BTree in a ZODB. I don't know exactly how we got here, but it just happened recently with the most recent releases of BTree and it's...

bug

This occasionally shows up in the ZODB tests of multiple threads under PyPy: ```python Error in test check7ZODBThreads (ZODB.tests.testMVCCMappingStorage.MVCCMappingStorageTests) Traceback (most recent call last): File "/opt/python/pypy2.7-7.1.1/lib-python/2.7/unittest/case.py", line 329, in run...

bug

There's [some](https://github.com/zopefoundation/BTrees/blob/d49ff39eb4b884eecd324ca0e106f46365fa12bb/BTrees/_base.py#L54-L91) gnarly [code](https://github.com/zopefoundation/BTrees/blob/d49ff39eb4b884eecd324ca0e106f46365fa12bb/BTrees/_base.py#L1521-L1560) that works to ensure that C and Python versions of objects can be pickled and unpickled the same, especially so that unpickling a BTree always uses...

enhancement

This was requested on the BTrees mailing list: > On Mar 14, 2019, at 13:16, Tres Seaver wrote: >> On 3/14/19 10:28 AM, Qiwen Chen wrote: >>Is there an easy...

enhancement

Suppose we have a custom bucket type, and a BTree that uses it. For the sake of example, we'll have the custom bucket refuse to resolve conflicts: ```python import BTrees...

bug
enhancement

Given this class: ```python class Bad(object): def __eq__(self, other): return False ``` Under Python 2.7, you can use instances of this class as a key in any size C BTree....

Example: ``` python Python 3.4.5 (default, Jun 27 2016, 04:57:21) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import...

As reported in https://github.com/zopefoundation/Zope/pull/392 , among others. This has caused some pain for the Zope2/4 and Plone folks. It would seem the obvious cause is that we look for `_p_repr`...