Barry A. Warsaw added the comment:
On Nov 27, 2017, at 16:21, Ned Deily wrote:
>
> The latest checkin seems to have broken several buildbots:
>
> http://buildbot.python.org/all/#builders/47/builds/243
> http://buildbot.python.org/all/#builders/88/builds/248
> http://build
Barry A. Warsaw added the comment:
On Nov 27, 2017, at 18:38, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> The commit 9522a218f7dff95c490ff359cc60e8c2af35f5c8 broke multiple buildbots.
> Since I don't how to fix it, I reverted it, to get more time to
Change by Barry A. Warsaw :
--
pull_requests: +4520
___
Python tracker
<https://bugs.python.org/issue32107>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Barry A. Warsaw :
--
title: test_uuid uses the incorrect bitmask -> Improve MAC address calculation
and fix test_uuid.py
___
Python tracker
<https://bugs.python.org/issu
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue32158>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
New changeset 23df2d1304ece169d7e0dfc843dfb8026b413d9f by Barry Warsaw in
branch 'master':
bpo-32107 - Improve MAC address calculation and fix test_uuid.py (#4600)
https://github.com/python/cpython/commit/23df2d1304ece169d7e0dfc843dfb8
Barry A. Warsaw added the comment:
New changeset 56e444f8df34cd502d6e3b110c90aed086883a72 by Barry Warsaw in
branch '2.7':
[2.7] bpo-32107 - Backport bitmask check fix (GH-4576) (#4590)
https://github.com/python/cpython/commit/56e444f8df34cd502d6e3b110c90ae
Barry A. Warsaw added the comment:
New changeset 23cc8c0f9ece32f1f96133b9db2cb30c64f23a0e by Barry Warsaw in
branch '3.6':
[3.6] bpo-32107 - Backport bitmask check fix (GH-4576) (#4591)
https://github.com/python/cpython/commit/23cc8c0f9ece32f1f96133b9db2cb3
Change by Barry A. Warsaw :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue32192>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
> Sorry, but I can't understand how 23df2d1304ece169d7e0dfc843dfb8026b413d9f
> could break getnode() on Android and how your changes can fix this. The only
> effect of this change is that an error in _random_getnode() no longer
> silenced
Barry A. Warsaw added the comment:
I missed it too. Serhiy, do you want to add that fix to your already open PR
4677?
--
___
Python tracker
<https://bugs.python.org/issue32
Barry A. Warsaw added the comment:
Over in the PR I suggested:
Here's another thought: what if you just added another getter that calls ip
link list and placed that after one that calls ip link. Wouldn't that
accomplish both goals? Then if ip link fails, we fall back to the old beh
Barry A. Warsaw added the comment:
On Dec 5, 2017, at 16:28, Xavier de Gaye wrote:
>
> The result of various 'ip' commands on Android, the last 'ip link list'
> command is run as root and succeeds (did not think about trying that before):
>
> generic_x86_
Barry A. Warsaw added the comment:
On Dec 6, 2017, at 02:06, Xavier de Gaye wrote:
>
> Whatever the change made to fix this issue, it is not possible to add a test
> case for this change.
Even with say, exception raising mocks for the getters?
> So following the suggestion made
Barry A. Warsaw added the comment:
> Maybe we should just close this issue as 'wont fix' then.
I would be okay with any of these resolutions:
* Close as `wont fix`
* Just call `ip link` (without list)
* Add a new getter such that both `ip link` and `ip link list` are called.
Barry A. Warsaw added the comment:
Yes, I think this is a good idea. Would you like to submit a PR for it?
FWIW, we have this code in Mailman 3:
class Mailbox(MMDF):
"""A mailbox that interoperates with the 'with' statement."""
def __enter__(s
Barry A. Warsaw added the comment:
LGTM, and thanks!
--
___
Python tracker
<https://bugs.python.org/issue32199>
___
___
Python-bugs-list mailing list
Unsub
New submission from Barry A. Warsaw :
We intend to port importlib_resources to Python 3.7 as importlib.resources,
with a provisional API. There's also a ResourceReader ABC to include, along
with documentation and tests.
Nosying Brett and assigning to myself, but if Brett *wants* to d
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue32263>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Dec 10, 2017, at 14:36, Raymond Hettinger wrote:
>
> Raymond Hettinger added the comment:
>
> We can remove the word "normal" but otherwise the docs read fairly well.
+1
> FWIW, when there docs were written, the {} new-style
Barry A. Warsaw added the comment:
It's possible that the Mailman example can just assume that the mailbox will be
flushed and unlocked on __exit__(), so it could just call .close(). Then the
question is whether entering the CM should lock the mailbox. The two cases are:
1. It doesn&
Barry A. Warsaw added the comment:
I wasn't even aware that pop_all() tries to create the concrete subtype. I
wonder how common subclassing ExitStack is in practice. (Of course, the answer
is that we'll never know.)
For 3.7, we should probably delegate instance creation to
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue31554>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue21762>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Barry A. Warsaw :
Let's say I have a namespace package:
>>> importlib_resources.tests.data03.namespace
This package has a non-None __loader__ but a None __spec__.loader:
>>> importlib_resources.tests.data03.namespace.__loader__
<_frozen_importlib
New submission from Barry A. Warsaw :
Along the lines of Issue32303 there's another inconsistency in namespace
package metadata. Let's say I have a namespace package:
>>> importlib_resources.tests.data03.namespace
The package has no __file__ attribute, and it has a
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue32333>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue20891>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
I have the tests and code ported, but there are still a few things to do, but
here's a question:
We're using type annotations in importlib_resources, which of course is the
right decision. But I think we still have a moratorium on typing in t
Change by Barry A. Warsaw :
--
pull_requests: +4805
___
Python tracker
<https://bugs.python.org/issue32248>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
PR 4911 implements the importlib.resources API, along with tests and
documentation.
@brett.cannon - I'm thinking we should do the native ResourceReader
implementations for the built-in loaders as a separate b
Barry A. Warsaw added the comment:
On Dec 25, 2017, at 18:51, Nick Coghlan wrote:
>
> 3. A for-subclasses-only "self._clone()" API could work as follows:
>
>def _clone(self, new_instance=None):
>if new_instance is None:
>new_instance = t
Barry A. Warsaw added the comment:
On Dec 26, 2017, at 18:17, Antoine Pitrou wrote:
>
> I'd really like it if we could get rid of the Setup/Setup.dist thing. It's a
> distraction to have to type `cp -f Modules/Setup.dist Modules/Setup` from
> time to time... ev
On 27.12.2017 00:24, Antoine Pitrou wrote:
>
> Antoine Pitrou added the comment:
>
>> +1 - do you have any thoughts on that?
>
> I think the current scheme may have been useful at a time where DVCS didn't
> exist. You would maintain an unversioned copy of Modul
Barry A. Warsaw added the comment:
On Dec 29, 2017, at 08:40, Nick Coghlan wrote:
>
> I'm not clear on what you mean about allowing arbitrary names for the
> instance creation function -
What I meant was that I don’t see `def _make_instance()` defined in your
example, so I
New submission from Barry A. Warsaw :
Currently get_data() only accepts a string. It should also accept a os.PathLike
--
messages: 309178
nosy: barry, brett.cannon
priority: normal
severity: normal
status: open
title: ResourceLoader.get_data() should accept a PathLike
versions: Python
Barry A. Warsaw added the comment:
@yselivanov - thanks for adding this, it's a huge win.
I think the feature is significant enough for a What's New entry.
--
___
Python tracker
<https://bugs.python.o
Barry A. Warsaw added the comment:
New changeset deae6b451fefd5fd3143dd65051e1d341e5a5f84 by Barry Warsaw in
branch 'master':
bpo-32248 - Implement importlib.resources (#4911)
https://github.com/python/cpython/commit/deae6b451fefd5fd3143dd65051e1d
Barry A. Warsaw added the comment:
Next up - implementing the ResourceReader ABC.
--
___
Python tracker
<https://bugs.python.org/issue32248>
___
___
Python-bug
Barry A. Warsaw added the comment:
On Jan 6, 2018, at 11:26, Andres Petralli wrote:
>
> Traceback (most recent call last):
> File "/Users/andy/Desktop/test.py", line 3, in
>str(uuid.uuid1())
> File
> "/usr/local/Cellar/python3/3.6.4_2/Frameworks/
Barry A. Warsaw added the comment:
On Jan 6, 2018, at 13:33, Zachary Ware wrote:
>
> I notice that my 'Installed' builder
> (http://buildbot.python.org/all/#/builders/103) has been broken since PR4911
> landed. My suspicion is that it's just another director
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue32522>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
The .replace(microseconds=0) hack annoys me too, but I'd be happier with a
simpler solution: make datetime.now() accept a microseconds parameter, so
datetime.now(microseconds=0) would be equivalent to
datetime.now().replace(microseco
Barry A. Warsaw added the comment:
On Jan 9, 2018, at 08:33, Paul Ganssle wrote:
> @Barry I don't think it's a good idea to duplicate the `replace`
> functionality in `datetime` like that. I think the main problem isn't the
> `.replace`, it's the fact that you
Barry A. Warsaw added the comment:
smtpd.py is deprecated so there's really almost zero chance we'll be doing any
development on it. Please check out
http://aiosmtpd.readthedocs.io/en/latest/
for a third party replacement (maybe pulled into the stdlib for 3.8?)
--
Barry A. Warsaw added the comment:
I'm going to close this as won't fix since smtpd.py is deprecated, and there's
little chance that folks are still interested in working on it. See aiosmtpd
as a much better third party replacement.
--
resolution: -> wont fix
s
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and likely won't see
any fixes. Please take a look at aiosmtpd as a much better third party
replacement.
--
resolution: -> wont fix
stage: -> resolved
s
Barry A. Warsaw added the comment:
I'm closing this as won't fix simce smtpd.py is deprecated and likely won't see
any future improvements. Please take a look at aiosmtpd as a much better third
party replacement.
--
resolution: -> wont fix
stage: -> resolved
s
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and likely won't see
much future improvements. Please take a look at aiosmtpd as a much better
third party replacement.
--
resolution: -> wont fix
stage: needs patch
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
resolution: -> wont fix
stage: -> resolved
status
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
nosy: +barry
resolution: -> wont fix
stage: -> resol
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
resolution: -> wont fix
stage: patch review -> resol
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
nosy: +barry
resolution: -> wont fix
stage: patch review ->
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
nosy: +barry
resolution: -> wont fix
stage: patch review ->
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
nosy: +barry
resolution: -> wont fix
stage: -> resol
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
resolution: -> wont fix
stage: test needed -> resol
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
nosy: +barry
resolution: -> wont fix
stage: test needed ->
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
nosy: +barry
resolution: -> wont fix
stage: needs patch ->
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
resolution: -> wont fix
stage: -> resolved
status
Barry A. Warsaw added the comment:
I'm closing this as won't fix since smtpd.py is deprecated and will likely not
get any future development. Please see aiosmtpd as a much better third party
replacement.
--
resolution: -> wont fix
stage: test needed -> resol
Barry A. Warsaw added the comment:
@bbayles: I don't think PR 5149 is related to this issue.
--
___
Python tracker
<https://bugs.python.org/issue32248>
___
___
Change by Barry A. Warsaw :
--
pull_requests: -5006
___
Python tracker
<https://bugs.python.org/issue32248>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Barry A. Warsaw :
In reading over the new dataclasses documentation, I'm unsure what the `init`
flag is used for, given that:
* If you already have a __init__(), then dataclasses won't add one
* If you don't have a __init__(), why wouldn't you want da
Barry A. Warsaw added the comment:
Make that `return super().__init__()` of course. I can haz (editable) GitHub
issues!
--
___
Python tracker
<https://bugs.python.org/issue33
Barry A. Warsaw added the comment:
On May 16, 2018, at 12:02, Eric V. Smith wrote:
>
> It's a little late in the 3.7 release cycle to remove it, so maybe we can
> decide to deprecate it in 3.8? Although if there's clearly no reason for it
> to exist, I could be talked
Barry A. Warsaw added the comment:
+ned.deily for the 3.7 exemption.
--
nosy: +ned.deily
___
Python tracker
<https://bugs.python.org/issue33539>
___
___
Pytho
Change by Barry A. Warsaw :
--
priority: normal -> release blocker
___
Python tracker
<https://bugs.python.org/issue33539>
___
___
Python-bugs-list mai
New submission from Barry A. Warsaw :
Building the documentation in the master (3.8) branch is currently broken:
% make html
make html
mkdir -p build
Building NEWS from Misc/NEWS.d with blurb
PATH=./venv/bin:$PATH sphinx-build -b html -d build/doctrees -D
latex_elements.papersize= . build
Barry A. Warsaw added the comment:
I've got a branch that cleans up and updates the dataclasses documentation, so
I'm reopening this issue and piggybacking my PR on it.
--
status: closed -> open
___
Python tracker
<https:/
Barry A. Warsaw added the comment:
...although I unfortunately cannot build it because of Issue33543
--
___
Python tracker
<https://bugs.python.org/issue32
Change by Barry A. Warsaw :
--
pull_requests: +6581
stage: resolved -> patch review
___
Python tracker
<https://bugs.python.org/issue32216>
___
___
Python-
Barry A. Warsaw added the comment:
On May 16, 2018, at 13:34, Ned Deily wrote:
>
> Or just "make venv html".
Shouldn’t the html target depend on venv then?
--
___
Python tracker
<https://bugs.py
Barry A. Warsaw added the comment:
New changeset 713a9367366c88662c39ed20dd6bce22399299f1 by Barry Warsaw in
branch 'master':
bpo-32216: Update dataclasses documentation (#6913)
https://github.com/python/cpython/commit/713a9367366c88662c39ed20dd6bce
Change by Barry A. Warsaw :
--
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue32216>
___
___
Pyth
Barry A. Warsaw added the comment:
Really? Why doesn't this work in the derived dataclass?
def __init__(self, *args, **kws):
super().__init__(*args, **kws)
--
___
Python tracker
<https://bugs.python.org/is
Barry A. Warsaw added the comment:
Thanks, I will add an __all__
_zipimport_get_resource_reader gets called from C and it's the way we
trampoline from the inscrutable zipimport.c into something we can more
reasonably implement the ResourceReader API. There's a com
Change by Barry A. Warsaw :
--
assignee: -> barry
___
Python tracker
<https://bugs.python.org/issue33537>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Barry A. Warsaw :
--
pull_requests: +6589
___
Python tracker
<https://bugs.python.org/issue33537>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
New changeset 0c62e09774e445a185fd192524454ce697ca123b by Barry Warsaw (Miss
Islington (bot)) in branch '3.7':
bpo-32216: Update dataclasses documentation (GH-6913) (#6918)
https://github.com/python/cpython/commit/0c62e09774e445a185fd192524454c
Barry A. Warsaw added the comment:
On May 16, 2018, at 16:09, Eric V. Smith wrote:
>
> I think the concern is:
>
> from dataclasses import *
>
> class B:
> def __init__(self, a, b, c):
> # do something with a, b, c, and maybe use fields(self) to figure ou
Barry A. Warsaw added the comment:
On May 16, 2018, at 16:48, Eric V. Smith wrote:
> Do you really want to add a __init__ to each of the 500 classes?
Well, of course *I* do, but I’m weird like that.
> That is, the base class could legitimately being doing something with the
> deri
Barry A. Warsaw added the comment:
On May 15, 2018, at 22:58, Carl Meyer wrote:
> Our use case includes a webserver process that embeds Python; I'm not sure if
> we could pass a CLI arg to it or not.
I think you pretty much have to have an environment variable, as there are jus
Barry A. Warsaw added the comment:
On May 17, 2018, at 08:14, Nick Coghlan wrote:
>
> If we did add an option, then a named -X option would probably make the most
> sense.
+1
--
___
Python tracker
<https://bugs.python.or
Barry A. Warsaw added the comment:
New changeset 0ed66df5242138fc599b4735749e55f953d9a1e4 by Barry Warsaw in
branch 'master':
bpo-33537: Add an __all__ to importlib.resources (#6920)
https://github.com/python/cpython/commit/0ed66df5242138fc599b4735749e55
Barry A. Warsaw added the comment:
Honestly, I don't think there's a strong argument for a CLI option. I'm
perfectly happy with just an environment variable.
--
___
Python tracker
<https://bugs.pyt
Barry A. Warsaw added the comment:
New changeset 6417d33633a3979d996015e52e4ff6c7a88e93e5 by Barry Warsaw (Miss
Islington (bot)) in branch '3.7':
bpo-33537: Add an __all__ to importlib.resources (GH-6920) (#6941)
https://github.com/python/cpyt
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue33619>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
I'm reopening this bug even though it's been long closed and even though the
attached patch is no longer relevant.
We recently found a degenerative performance problem with entrypoints and
threads. As the number of threads increases,
Barry A. Warsaw added the comment:
> Did you try to use regex which has this feature? For short strings and simple
> patterns there may be no benefit.
In my use case, it’s not possible, since the problematic API is glob.iglob()
through multiple levels of
Change by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<https://bugs.python.org/issue33649>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
+1 - I'm actually surprise it's still there. ;) Given that the docs have a big
red warning to avoid these in Python 3, let's start the process of removal.
Don't forget to also deprecate ldgettext(), lngettext(), and ldngettext()
https
Change by Barry A. Warsaw :
--
assignee: -> barry
___
Python tracker
<https://bugs.python.org/issue33755>
___
___
Python-bugs-list mailing list
Unsubscrib
Barry A. Warsaw added the comment:
I can take a look at this tomorrow.
--
___
Python tracker
<https://bugs.python.org/issue33755>
___
___
Python-bugs-list mailin
Barry A. Warsaw added the comment:
Looks like a sys.modules leak. I'm working on a branch.
--
___
Python tracker
<https://bugs.python.org/issue33755>
___
___
Barry A. Warsaw added the comment:
It's too late for 3.7, but something like this could be an interesting
enhancement for 3.8. I'm not so sure about the name of the suggested parameter
since it seems more about recording successful deliveries in addition to the
normally failed
Change by Barry A. Warsaw :
--
keywords: +patch
pull_requests: +7037
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33755>
___
___
Py
Barry A. Warsaw added the comment:
New changeset ac1ee1badade69d5cd6d8b9112281f121183e7c0 by Barry Warsaw in
branch 'master':
bpo-33755: Fix importlib.resources isolation tests (#7412)
https://github.com/python/cpython/commit/ac1ee1badade69d5cd6d8b9112281f
Barry A. Warsaw added the comment:
New changeset e135032ffa08ad66caea8205488e037da85d2bf8 by Barry Warsaw (Miss
Islington (bot)) in branch '3.7':
bpo-33755: Fix importlib.resources isolation tests (GH-7412) (#7434)
https://github.com/python/cpyt
Change by Barry A. Warsaw :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
1401 - 1500 of 2560 matches
Mail list logo