<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/zope-security.git, branch master</title>
<subtitle>github.com: zopefoundation/zope.security.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/'/>
<entry>
<title>Hide dev release from change log.</title>
<updated>2023-04-20T06:21:23+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2023-04-20T06:21:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=e446c143ccfc4bc4153bd9dec84a6c376b5d5150'/>
<id>e446c143ccfc4bc4153bd9dec84a6c376b5d5150</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Back to development: 6.2</title>
<updated>2023-04-20T06:21:00+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2023-04-20T06:21:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=82fa19e00276b27e5667ec4088a8c631af11d539'/>
<id>82fa19e00276b27e5667ec4088a8c631af11d539</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Preparing release 6.2a1.dev0</title>
<updated>2023-04-20T06:20:36+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2023-04-20T06:20:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=8f6173d294d1e5c1c2e5b8cdccea2fafb891a747'/>
<id>8f6173d294d1e5c1c2e5b8cdccea2fafb891a747</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Garden change log.</title>
<updated>2023-04-20T06:19:15+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2023-04-20T06:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=9f2b8e2987a9fc82e1f03acf6f290bc960ba8c3f'/>
<id>9f2b8e2987a9fc82e1f03acf6f290bc960ba8c3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop using `setup_requires`. (#98)</title>
<updated>2023-04-20T06:17:17+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2023-04-20T06:17:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=869deee11838b8617998969d98e65b0f868c8629'/>
<id>869deee11838b8617998969d98e65b0f868c8629</id>
<content type='text'>
* Drop using ``setup_requires`` due to constant problems on GHA.

* Add preliminary support for Python 3.12a7</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Drop using ``setup_requires`` due to constant problems on GHA.

* Add preliminary support for Python 3.12a7</pre>
</div>
</content>
</entry>
<entry>
<title>Add preliminary support for Python 3.12 as of 3.12a5. (#96)</title>
<updated>2023-03-06T06:56:41+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2023-03-06T06:56:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=7c9340441401198b3eae0b76517afde6ff1d1719'/>
<id>7c9340441401198b3eae0b76517afde6ff1d1719</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #95 from cjwatson/pep-3114</title>
<updated>2023-03-02T13:43:00+00:00</updated>
<author>
<name>Colin Watson</name>
<email>cjwatson@canonical.com</email>
</author>
<published>2023-03-02T13:43:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=27ee700bdd906c130daf17cbeb53ca028f870319'/>
<id>27ee700bdd906c130daf17cbeb53ca028f870319</id>
<content type='text'>
Use PEP 3114 __next__ methods</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use PEP 3114 __next__ methods</pre>
</div>
</content>
</entry>
<entry>
<title>Use PEP 3114 __next__ methods</title>
<updated>2023-02-28T21:05:59+00:00</updated>
<author>
<name>Colin Watson</name>
<email>cjwatson@canonical.com</email>
</author>
<published>2023-02-28T21:05:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=66d0c3d72b7066783762218c7e6b4c933d275a30'/>
<id>66d0c3d72b7066783762218c7e6b4c933d275a30</id>
<content type='text'>
I got very confused recently when I had a security-proxied iterator
using this sort of pattern:

    class Foo:
        def __iter__(self):
            return self

        def __next__(self):
            ...

The value returned from `__iter__` is wrapped in a security proxy, and I
found that unless I used `PURE_PYTHON=1` I got a `ForbiddenAttribute`
exception trying to get the Python-2-style `next` method.

This probably ought to have been noticed and fixed before we dropped
support for Python 2, in which case a transition period of supporting
both method names would have made sense.  Now that we only support
Python 3, I expect that any proxied objects that actually work as
iterators will have a `__next__` method (and perhaps a vestigial `next`
alias for compatibility), so I think we can just jump straight to only
supporting `__next__` for both the C case and the pure-Python case.

The C case is not actually being tested properly at the moment due to an
oversight around the exact handling of the `PURE_PYTHON` environment
variable, but fixing that will require coordinated changes to both
`zope.security` and `zope.proxy`.  I'll deal with that separately.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I got very confused recently when I had a security-proxied iterator
using this sort of pattern:

    class Foo:
        def __iter__(self):
            return self

        def __next__(self):
            ...

The value returned from `__iter__` is wrapped in a security proxy, and I
found that unless I used `PURE_PYTHON=1` I got a `ForbiddenAttribute`
exception trying to get the Python-2-style `next` method.

This probably ought to have been noticed and fixed before we dropped
support for Python 2, in which case a transition period of supporting
both method names would have made sense.  Now that we only support
Python 3, I expect that any proxied objects that actually work as
iterators will have a `__next__` method (and perhaps a vestigial `next`
alias for compatibility), so I think we can just jump straight to only
supporting `__next__` for both the C case and the pure-Python case.

The C case is not actually being tested properly at the moment due to an
oversight around the exact handling of the `PURE_PYTHON` environment
variable, but fixing that will require coordinated changes to both
`zope.security` and `zope.proxy`.  I'll deal with that separately.
</pre>
</div>
</content>
</entry>
<entry>
<title>- vb [ci skip]</title>
<updated>2023-01-18T07:49:21+00:00</updated>
<author>
<name>Jens Vagelpohl</name>
<email>jens@plyp.com</email>
</author>
<published>2023-01-18T07:49:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=e34cc5bcf73493d63ff62b1ef681b9bc4305428f'/>
<id>e34cc5bcf73493d63ff62b1ef681b9bc4305428f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- prepare release 6.1</title>
<updated>2023-01-18T07:36:28+00:00</updated>
<author>
<name>Jens Vagelpohl</name>
<email>jens@plyp.com</email>
</author>
<published>2023-01-18T07:36:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-security.git/commit/?id=41b4bc771b55bbe0db36e6835d3b5aca899bbe44'/>
<id>41b4bc771b55bbe0db36e6835d3b5aca899bbe44</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
