Sam Ezeh added the comment:
It's quite weird, the documentation says set_start_method "should not be used
more than once in the program" twice.
The source code also contains the following line
```
# Type of default context -- underlying context can be set at most once
`
Change by Sam Ezeh :
--
keywords: +patch
nosy: +sam_ezeh
nosy_count: 2.0 -> 3.0
pull_requests: +30395
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32339
___
Python tracker
<https://bugs.python.org/i
Sam Ezeh added the comment:
I don't know what the best course of action would be but if preserving
permissions needs to be back-ported, could the default permission preservation
flag in 3.11+ be the one to preserve safe permissions and then make it so that
the previous versions (
Change by Sam Ezeh :
--
pull_requests: -30352
___
Python tracker
<https://bugs.python.org/issue30964>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam Ezeh :
--
pull_requests: +30353
pull_request: https://github.com/python/cpython/pull/32291
___
Python tracker
<https://bugs.python.org/issue39
Change by Sam Ezeh :
--
nosy: +sam_ezeh
nosy_count: 3.0 -> 4.0
pull_requests: +30352
pull_request: https://github.com/python/cpython/pull/32291
___
Python tracker
<https://bugs.python.org/issu
Sam Ezeh added the comment:
Yes, of course.
--
___
Python tracker
<https://bugs.python.org/issue39064>
___
___
Python-bugs-list mailing list
Unsubscribe:
Sam Ezeh added the comment:
One way of doing this is by making the central directory offset negative by
first taking the zip file containing just an EOCD record and then listing the
total size of the central directory records as positive.
```
Python 3.11.0a4+ (heads/bpo-39064:eb1935dacf
Change by Sam Ezeh :
--
nosy: +sam_ezeh
___
Python tracker
<https://bugs.python.org/issue39064>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam Ezeh :
--
pull_requests: +30350
pull_request: https://github.com/python/cpython/pull/32289
___
Python tracker
<https://bugs.python.org/issue15
Change by Sam Ezeh :
--
nosy: +sam_ezeh
___
Python tracker
<https://bugs.python.org/issue15795>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Sam Ezeh :
--
pull_requests: +30323
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32252
___
Python tracker
<https://bugs.python.org/issu
New submission from Sam Ezeh :
Initially, I was looking at bpo-18262 and saw the following Stack Overflow
thread that was linked.
https://stackoverflow.com/questions/434641/how-do-i-set-permissions-attributes-on-a-file-in-a-zip-file-using-pythons-zip/6297838
I've attached a patch that
Change by Sam Ezeh :
--
pull_requests: +30313
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32242
___
Python tracker
<https://bugs.python.org/issu
Sam Ezeh added the comment:
This is what functionality looks like when supplying incorrect attribute names
with the patch.
Python 3.11.0a6+ (heads/bpo-47135-dirty:d4bb38f82b, Apr 1 2022, 20:01:56) [GCC
11.1.0] on linux
Type "help", "copyright", "credits" or
Sam Ezeh added the comment:
I've uploaded a patch and it seems to work, which I'm very proud of.
I'll create some tests, amend documentation and create a news entry. After
that, I'll create a pull request on GitHub.
--
keywords: +patch
Added file: https://bugs.
Sam Ezeh added the comment:
I'm looking into adding this
> Seems reasonable to me, but I think a full implementation would want to throw
> an error for keyword args that don't already exist as context attributes
> (otherwise typos would fail silently)
For _pydecimal,
Change by Sam Ezeh :
--
pull_requests: +30300
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/32225
___
Python tracker
<https://bugs.python.org/issu
Change by Sam Ezeh :
Added file: https://bugs.python.org/file50711/sam_ezeh.patch
___
Python tracker
<https://bugs.python.org/issue32547>
___
___
Python-bugs-list mailin
Change by Sam Ezeh :
Removed file: https://bugs.python.org/file50710/sam_ezeh.patch
___
Python tracker
<https://bugs.python.org/issue32547>
___
___
Python-bugs-list m
Change by Sam Ezeh :
Added file: https://bugs.python.org/file50710/sam_ezeh.patch
___
Python tracker
<https://bugs.python.org/issue32547>
___
___
Python-bugs-list mailin
Change by Sam Ezeh :
Removed file: https://bugs.python.org/file50709/sam_ezeh.patch
___
Python tracker
<https://bugs.python.org/issue32547>
___
___
Python-bugs-list m
Sam Ezeh added the comment:
I've submitted a patch that introduces code that raises TypeError at
construction if `fieldnames` is not a sequence
--
keywords: +patch
nosy: +sam_ezeh
Added file: https://bugs.python.org/file50709/sam_ezeh.
Sam Ezeh added the comment:
I've submitted the above patch. I created the ZipFile.mkdir function, created
the necessary tests and wrote the documentation.
I think it is ready for review.
--
Added file: https://bugs.python.org/file50705/sam_ezeh.
Change by Sam Ezeh :
--
keywords: +patch
pull_requests: +30238
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/32160
___
Python tracker
<https://bugs.python.org/iss
Sam Ezeh added the comment:
I'm looking into adding ZipFile.mkdir
--
___
Python tracker
<https://bugs.python.org/issue4833>
___
___
Python-bugs-list m
Change by Sam Ezeh :
--
nosy: +sam_ezeh
___
Python tracker
<https://bugs.python.org/issue4833>
___
___
Python-bugs-list mailing list
Unsubscribe:
Sam Ezeh added the comment:
The provided patch wasn't entirely compatible with the current upstream code. I
used the patch file to apply the changes to `Lib/unittest/case.py`, resolved
the remaining conflicts with the patches to the test files and amended existing
tests for the librar
Change by Sam Ezeh :
--
keywords: +patch
pull_requests: +30218
pull_request: https://github.com/python/cpython/pull/32138
___
Python tracker
<https://bugs.python.org/issue14
Change by Sam Ezeh :
--
nosy: +dignissimus
___
Python tracker
<https://bugs.python.org/issue14265>
___
___
Python-bugs-list mailing list
Unsubscribe:
30 matches
Mail list logo