Changes by Andrej A Antonov :
--
nosy: +polymorphm
___
Python tracker
<http://bugs.python.org/issue24755>
___
___
Python-bugs-list mailing list
Unsubscribe:
> varies among platforms.
tzname is set when the module is being loaded and not updated
afterwards (unless you call tzset()). I can't really see why you
would expect a module global in Python to follow the semantics
of a C global, unless this is explicitly documented.
Note: The fact tha
Barry A. Warsaw added the comment:
I'm not expecting a change either, I was also just documenting observed
breakages. Given that I've ported a *ton* of code to 3.5 and only seen a
handful of failures related to this issue, I agree that it's better just to
provide information a
Changes by A. Jesse Jiryu Davis :
--
nosy: +emptysquare
___
Python tracker
<http://bugs.python.org/issue25222>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
I have a patch which will at least improve the error message when `python3 -m
venv` fails because python3-venv isn't installed on Debian/Ubuntu. I will work
with Doko on this.
--
___
Python tracker
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue25159>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +doko
___
Python tracker
<http://bugs.python.org/issue25154>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
I'm sympathetic, given that in Debian/Ubuntu (and maybe other distros) where we
have both Python 3.4 and 3.5, we have to install /usr/bin/pyvenv-3.4 and
pyvenv-3.5, and then use symlinks to provide the default ve
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue25154>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue25061>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Sep 09, 2015, at 11:57 PM, Eric V. Smith wrote:
>There's one nit where I accept 'f' and 'F', but the PEP just says 'f'. I'm
>not sure if we should accept the upper case version. I'd think not, but all
>
Barry A. Warsaw added the comment:
On Sep 07, 2015, at 02:26 PM, STINNER Victor wrote:
>Can we modify the issue title to "Rewrite smtpd with asyncio"?
Sure, although I'm currently thinking it's best to go third party until the
API and imp
Barry A. Warsaw added the comment:
On Sep 04, 2015, at 08:55 PM, STINNER Victor wrote:
>Maybe it can be fun to rewrite the module using asyncio, but I'm not
>convinced that a SMTP server in the Python stdlib is super useful.
As I mentioned in issue25008, removing smtpd would be a h
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue25014>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Removing smtpd would definitely be a hardship for me right now, probably for
obvious reasons. I use it in testing frameworks, and even wrote a library
called lazr.smtptest that is built around smtpd. In Mailman, we have an LMTP
server built on smtpd that
New submission from A Kaptur:
mock.call_args can be both equal to and not equal to another object:
>>> m = Mock()
>>> m(1,2)
>>> m.call_args
call(1, 2)
>>> m.call_args == call(1,2)
True
>>> m.call_args != call(1,2)
True
This appears to be a recen
A Kaptur added the comment:
Here's a simple patch + test for the original bug. I'll file the __ne__
question separately.
--
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file40348/issue24857.patch
_
A Kaptur added the comment:
It looks like there's a related bug in call_args around __ne__:
>>> m = Mock()
>>> m(1,2)
>>> m.call_args
call(1, 2)
>>> m.call_args == call(1,2)
True
>>> m.call_args != call(1,2)
True
Any reason not to define __ne
Barry A. Warsaw added the comment:
On Sep 01, 2015, at 07:15 PM, Glyph Lefkowitz wrote:
>There are other advantages to following the XDG spec. If we follow it
>correctly (and not, like Barry suggested, start adding random other
>directories like ~/.python)
I was really just suggestin
Barry A. Warsaw added the comment:
I'm of mixed opinion. I personally don't like cluttering up my $HOME with a
jillion dotfiles so I appreciate the organization XDG_CONFIG_HOME offers. But
that also makes things less discoverable. Looking in XDG_CONFIG_HOME first
with a fallbac
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue24965>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue24941>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by A. Jesse Jiryu Davis :
--
nosy: +emptysquare
___
Python tracker
<http://bugs.python.org/issue24383>
___
___
Python-bugs-list mailing list
Unsubscribe:
On 15.08.2015 22:41, Steve Dower wrote:
>
> Marc-Andre: there are a few concerns with including DLLs that aren't new with
> any of the 3.5 changes.
>
> * depending on another CRT version is fine *if* it is available (users may
> have to be told/helped to install the red
Gustavo J. A. M. Carneiro added the comment:
I am not using hg anymore, since asyncio migrated to git.
Here's a github PR, does that help?
https://github.com/python/asyncio/pull/260
--
___
Python tracker
<http://bugs.python.org/is
Gustavo J. A. M. Carneiro added the comment:
I was wrong, there still needs to be some cleanup in cancellation, even with
the new approach. But it does solve the out-of-order problem.
I don't know if it should be applied to rc1. I wish I had more time to test.
Up to you
Gustavo J. A. M. Carneiro added the comment:
Sure, just give me a couple of days.
--
___
Python tracker
<http://bugs.python.org/issue23812>
___
___
Python-bug
Gustavo J. A. M. Carneiro added the comment:
I don't think the order for multiple concurrent getters matters that much.
With analogy with the threading case, if multiple threads are blocked get()ing
an item from the same queue, I would not presume to expect anything about the
ordering
Gustavo J. A. M. Carneiro added the comment:
Don't know if it helps, but I made a github pull request for this:
https://github.com/python/asyncio/pull/256
--
___
Python tracker
<http://bugs.python.org/is
Changes by Barry A. Warsaw :
--
assignee: -> barry
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue15014>
___
___
Python-bugs-list
Barry A. Warsaw added the comment:
Thanks!
--
___
Python tracker
<http://bugs.python.org/issue15014>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On Jul 07, 2015, at 05:59 PM, R. David Murray wrote:
>I don't see any need to add the is_initial_auth_ok flag. Either the auth
>method returns something that is not None (initial auth is OK), or it doesn't
>(initial auth is not OK).
I
Barry A. Warsaw added the comment:
Attached patch includes test, documentation, and implementation. While this is
technically a new feature, it fixes a regression in Python 3.5 w.r.t. 3.4.
I'll email python-dev with a request for beta exemption.
--
Added file: http://bugs.pytho
Barry A. Warsaw added the comment:
I have a patch to support initial-response, which I'll be posting here after a
bit of clean up and a full (local) test run, with documentation. I ended up
adding a keyword argument `initial_response_ok=True` to .login() and .auth().
The reason for th
On 01.07.2015 00:16, Min RK wrote:
>
>> Just because a feature can be misused doesn't make it a bad feature.
>
> That's fair. I'm just not aware of any uses of this feature that aren't
> misuses, hence the patch.
I don't remember the details of why t
Barry A. Warsaw added the comment:
When I ported Mailman 3 to Python 3.5 I had to remove the check on
email.__version__ :)
--
___
Python tracker
<http://bugs.python.org/issue22
Barry A. Warsaw added the comment:
FWIW, this broke the zope.testing doctests:
https://bugs.launchpad.net/zope.testing/+bug/1467644
I submitted a patch, which was reasonable given the normalization that
zope.testing does for doctest output, but people should be aware that this can
break
Barry A. Warsaw added the comment:
Martin says: "I cannot see any particular circumstances where unencrypted
passwords for smtpd would be acceptable, given that there are perfectly
established technologies. So I remain -1 on this patch."
Here's a use case: a testing SMTP
Barry A. Warsaw added the comment:
On Jun 22, 2015, at 10:00 PM, R. David Murray wrote:
>We change the authobj signature to challenge=None, then the first thing we do
>in auth is 'initial_response = authobj()'. The return value can be the empty
>string or a real initial val
Barry A. Warsaw added the comment:
Also, smtpd is not compatible with auth challenges because found_terminator()
doesn't know that the response its getting isn't a command but instead a
challenge response. So really we need another bug to track fixes to smtpd.py
to handle challenge
Barry A. Warsaw added the comment:
Here's a rough thought for a fix. Some auth_*() methods require a challenge,
but some don't, e.g. auth_plain(). Let's allow authobject() to be called with
challenge=None. If they allow an initial-response, then they can just return
the resp
Barry A. Warsaw added the comment:
I believe this change broke RFC 4954's AUTH command when the optional
initial-response is expected. $4 "The AUTH Command" says:
AUTH mechanism [initial-response]
...
initial-response: An optional initial client response. If present,
Barry A. Warsaw added the comment:
Fix:
>>> '%.32x' % uuid4().int
--
___
Python tracker
<http://bugs.python.org/issue19995>
___
___
Pyth
Barry A. Warsaw added the comment:
Found my first 3.5 breakage which I think is due to this.
>>> from uuid import uuid4
>>> '%.32x' % uuid4()
--
nosy: +barry
___
Python tracker
<ht
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue24454>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue24351>
___
___
Python-bugs-list
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue24412>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Rather than change the code, which strives to keep the "Simple" in PEP 292's
title, I'd rather just update the documentation to define what "identifier"
means here. E.g.
"
* ``$identifier`` names a substitution pl
Barry A. Warsaw added the comment:
If you need a test case, try https://gitlab.com/warsaw/flufl.lock
--
___
Python tracker
<http://bugs.python.org/issue24
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue24168>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19699>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
I don't know what problems I might have run into previously, but it's working
now and seems fine to me. +1
--
nosy: +barry
___
Python tracker
<http://bugs.python.o
Barry A. Warsaw added the comment:
So yeah, we don't want to deprecate string.Template. It has a very specific
use case that's used a lot, i.e. making strings dead simple to translate.
%(foo)s was very problematic. {foo} is a little better, but looks too weird
for most translat
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue24305>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
On May 19, 2015, at 07:23 AM, Serhiy Storchaka wrote:
>Now there is a question. Is it worth to use base16 (hexadecimal) to compact
>message id to 34 characters or base32 to compact it to 27 characters? Using
>base16 is pretty easy: just replace %
Barry A. Warsaw added the comment:
An increase of 13 characters doesn't seem so bad.
--
___
Python tracker
<http://bugs.python.org/issue6598>
___
___
Pytho
Barry A. Warsaw added the comment:
@rhettinger: OTOH, a macro can provide uniformity and correctness. If (as
appears evident from the patch) those "10 lines of boilerplate" are actually
implemented subtly differently each time, bugs can be easily introduced. So a
well written and
Changes by A. Jesse Jiryu Davis :
--
nosy: +emptysquare
___
Python tracker
<http://bugs.python.org/issue10544>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue24077>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
> Wouldn't it be safer all around if the subparsers took different arguments,
> or at least different namespace 'dest', than the main parser?
IMHO, yes. I agree that the semantics of what the original code is trying to
do is quite
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue23058>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue23699>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue24029>
___
___
Python-bugs-list
Barry A. Warsaw added the comment:
Cool, thanks! I'll commit it and we can always clean it up/add to it later if
needed.
--
___
Python tracker
<http://bugs.python.org/is
Barry A. Warsaw added the comment:
Here's some new text for the Language Reference.
--
Added file: http://bugs.python.org/file39175/issue24029-1.txt
___
Python tracker
<http://bugs.python.org/is
Barry A. Warsaw added the comment:
More rationale from the thread:
> The surprising part is that it also happens for explicit relative
> imports. I'm guessing that part was unintentional and simply not
> noticed when PEP 328 was implemented.
>
No, that must also have
Barry A. Warsaw added the comment:
>From Guido:
It's definitely intentional, and it's fundamental to the package import
design. We've had many implementations of package import (remember "ni.py"?
last seen as "knee.py") and it was always there, because this
New submission from Barry A. Warsaw:
As described here:
http://news.gmane.org/find-root.php?message_id=20150422115959.1ff2ee58%40limelight.wooz.org
Importing a submodule binds the submodule's name in the parent module's
namespace. This is surprising, but it seems intentional and i
Barry A. Warsaw added the comment:
@rdm: I'm pretty sure you're right about nobody noticing. :) Make it so!
--
___
Python tracker
<http://bugs.python.o
A. Jesse Jiryu Davis added the comment:
Attached patch adds "and N keyword-only argument(s)" to the TypeError message
if a function takes keyword-only arguments and the wrong number of positional
arguments is provided.
--
keywords: +patch
nosy: +emptysquare
Added
A. Jesse Jiryu Davis added the comment:
I've had a very hard time adding to the doc in a way that elucidates rather
than further obfuscating; see if you like this patch.
--
keywords: +patch
nosy: +emptysquare
Added file: http://bugs.python.org/file38916/issue23915.
Changes by A. Jesse Jiryu Davis :
--
keywords: +patch
Added file: http://bugs.python.org/file38906/issue23464.diff
___
Python tracker
<http://bugs.python.org/issue23
Travis A. Everett added the comment:
Thanks, Martin--I should've thought to check to see if it'd just been pushed
back in the list. I was just focusing on a workaround for another problem and
did a double-take when the traceback value didn't match what was set.
This resolutio
New submission from Travis A. Everett:
When BaseException.with_traceback(tb) is used, the __traceback__ property is
properly set, but the property gets overwritten when the exception is raised.
The attached file demonstrates the issue by raising exception a, which doesn't
use with_trac
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue23910>
___
___
Python-bugs-list mailing list
Unsubscribe:
On 05.04.2015 22:49, Donald Stufft wrote:
>
> Donald Stufft added the comment:
>
>> I don't consider monkey patching a proper way to configure a Python
>> installation.
>
> The point is that that TLS validation on/off isn't conceptually a Python level
>
FWIW: I just ran into a situation where the new approach resulted
in pip, setuptools and zc.buildout not working anymore.
This was on an AIX system which did come with CA root certificates
at all.
Now, I knew how to fix this, but the solution was not
an obvious one. I had to use truss to figure
Barry A. Warsaw added the comment:
+1 for keyed by site
There have been a number of issues over the years for which a configuration
file (or files) would have been useful. I think a discussion over on
python-ideas is the right way to move forward on this point
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue23842>
___
___
Python-bugs-list mailing list
Unsubscribe:
Gustavo J. A. M. Carneiro added the comment:
So I uploaded a new patch version fixing a similar problem in put().
--
___
Python tracker
<http://bugs.python.org/issue23
Gustavo J. A. M. Carneiro added the comment:
> - Are there other places where a cancellation can have a similar effect?
> Maybe the same logic in put()?
Hm.. I didn't look, but yes, it does look like it might be affected by the same
issue. I'll try to create a test for
Gustavo J. A. M. Carneiro added the comment:
I created a codereview issue: https://codereview.appspot.com/222930043
--
___
Python tracker
<http://bugs.python.org/issue23
Changes by Gustavo J. A. M. Carneiro :
Added file: http://bugs.python.org/file38741/Issue23812.diff
___
Python tracker
<http://bugs.python.org/issue23812>
___
___
Pytho
New submission from Gustavo J. A. M. Carneiro:
I have a pattern where I read from a queue with a timeout, generally like this:
while True:
reader = asyncio.async(wait_for(queue.get(), 0.1))
try:
item = (yield from reader)
except asyncio.TimeoutError:
reader.cancel()
continue
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue23731>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
Poor performance could fall under the category of bug fixes, so for an
in-maintenance mode release, a fix that does not in any way change user visible
behavior could be acceptable. It would probably be fine for 3.4 but I'm just
+0 on it. Larry
A. Skrobov added the comment:
That's right; and working around this issue, by taming the daemon threads a
bit, wasn't too difficult.
Still, if the daemon threads are part of the language, they shouldn't crash the
interpreter pro
New submission from A. Skrobov:
I'm observing that this line of code:
https://hg.python.org/cpython/file/ec9bffc35cad/Python/ceval.c#l3010
-- causes a SIGSEGV on interpreter shutdown, after running some really
convoluted Python code with daemon threads running wild.
At the time of the
Barry A. Warsaw added the comment:
Ha! Apparently this bug broke coverage for the Mailman 3 source code:
https://bitbucket.org/ned/coveragepy/issue/360/html-reports-get-confused-by-l-in-the-code
--
___
Python tracker
<http://bugs.python.
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue19035>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Barry A. Warsaw :
--
resolution: -> wont fix
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue12782>
___
___
Python-bugs-
Barry A. Warsaw added the comment:
Let's just Won't Fix this. Use a contextlib.ExitStack.
--
___
Python tracker
<http://bugs.python.org/issue12782>
___
___
New submission from A. Jesse Jiryu Davis:
asyncio.JoinableQueue was once a distinct subclass of asyncio.Queue, now it's
just a deprecated alias. Once this is merged into CPython:
https://code.google.com/p/tulip/issues/detail?id=220
...then remove or deprecate JoinableQueue in asyncio-syn
Changes by Barry A. Warsaw :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue23399>
___
___
Python-bugs-list
New submission from Barry A. Warsaw:
There is a subtle behavior difference between virtualenv and pyvenv. When you
create a venv with virtualenv, the symbolic links files /bin are
relative, while they are absolute with pyvenv. This means that virtual
environments created with virtualenv can
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue23342>
___
___
Python-bugs-list mailing list
Unsubscribe:
te(self, object):
+self.stream.write(self._encoder.encode(object))
+
+def reset(self):
+self.stream.write(self._encoder.encode(final=True))
+
Note that the doc-string mentions a non-existing attribute and there
are doc-string missing for the other methods.
The purpose appears to be a Strea
Adding a note to the documentation is fine.
The .reset() method doesn't have anything to do with the underlying
stream. It's only meant to work at the codec level and needed for
codecs that keep internal state.
--
Marc-Andre Lemburg
Changes by Barry A. Warsaw :
--
nosy: +barry
___
Python tracker
<http://bugs.python.org/issue23228>
___
___
Python-bugs-list mailing list
Unsubscribe:
Barry A. Warsaw added the comment:
That's a backward compatibility break since existing code may be expecting
None. At least it needs to be carefully considered, and should have no
possibility of be applied to anything before Python 3.5.
--
nosy: +barry
versions: -Python 2.7, P
1001 - 1100 of 2582 matches
Mail list logo