R. David Murray <rdmur...@bitdance.com> added the comment:
In the python3 docs it is given as 'f'. In the python2 docs, it is not. I
suppose a doc backport was missed.
--
nosy: +r.david.murray
versions: -Python 3.5
___
Python tracke
Change by R. David Murray <rdmur...@bitdance.com>:
--
nosy: +mark.dickinson
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
We have a strong backward compatibility policy, especially for distutils, so
even though you can't imagine a use case I think we should keep the default the
same.
You could try lobbying the folks at pypa and see if they di
R. David Murray <rdmur...@bitdance.com> added the comment:
That's the right thing in your opinion[*], but probably not in the opinion of
others, thus the need for an option. There is also backward compatibility to
be considered.
--
nosy: +r.david.
R. David Murray <rdmur...@bitdance.com> added the comment:
"I thought the case when args is a string and shell=False is deprecated."
IMO it ought to be :) See issue 7839 for background.
--
nosy: +r.david.murray
___
Pyt
R. David Murray <rdmur...@bitdance.com> added the comment:
This is a common pattern in our documentation. It is done because ":mod:`xxx`"
means that xxx should be formatted as a module name, rather than anything else.
While it is true that the formatting for most such referen
Change by R. David Murray <rdmur...@bitdance.com>:
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
David CARLIER <devne...@gmail.com> added the comment:
Probably. Seems workable under Apple otherwise.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
Change by R. David Murray <rdmur...@bitdance.com>:
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
Change by R. David Murray <rdmur...@bitdance.com>:
--
nosy: +christian.heimes
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
If you want to be precise you could say "The last class in every __mro__ list."
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.python.org>
<https://b
R. David Murray <rdmur...@bitdance.com> added the comment:
I too wondered if pasv was the correct solution to the problem.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
I'd like confirmation from someone involved in maintaining the ftplib package
that this is in fact the correct solution.
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.p
R. David Murray <rdmur...@bitdance.com> added the comment:
Thanks, Stéphane.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: -Python 3.4, Python 3.5
___
Python tracker <rep...@bugs.
R. David Murray <rdmur...@bitdance.com> added the comment:
New changeset 85a92d00bd278022cc00fda6b124c06f614c5ebb by R. David Murray (Miss
Islington (bot)) in branch '3.6':
bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and
to_addrs (GH-5451) (#5455)
R. David Murray <rdmur...@bitdance.com> added the comment:
New changeset 8d83e4ba7823827bcbc119db887004d5c3a63dc6 by R. David Murray
(Stéphane Wirtel) in branch 'master':
bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and
to_addrs (#5451)
https://github.com/
R. David Murray <rdmur...@bitdance.com> added the comment:
We need a test that will fail without your fix.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
The current test suite had better work fine without your new test, otherwise
your fix broke something :) I will take a look.
--
___
Python tracker <rep...@bugs.python.or
R. David Murray <rdmur...@bitdance.com> added the comment:
FWIW, we just ran in to the need for this on our project, and used 'Time' from
the contexttimer package on pypi. In our use case we want the number so we can
log it, and what we care about is the actual elapsed time, not a p
R. David Murray <rdmur...@bitdance.com> added the comment:
Yes, you'll have to write a test. Add a test after
test_send_unicode_without_SMTPUTF8, but put the unicode in the name field of
the 'from' address and test that it is accepted. You should be able to figure
out how to
R. David Murray <rdmur...@bitdance.com> added the comment:
Yes, that looks like a bug. Should be a one line bug fix, plus tests and news
item if someone wants to make a PR...
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.p
R. David Murray <rdmur...@bitdance.com> added the comment:
Requested a small additional change to the new tests, and then this will be
ready to go in.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
New changeset aa218d1649690d1c1ba86a9972f7fae646bf1a8f by R. David Murray
(jayyyin) in branch 'master':
bpo-27931: Fix email address header parsing error (#5329)
https://github.com/python/cpython/
R. David Murray <rdmur...@bitdance.com> added the comment:
Yep, that's the way Python works. You are modifying the same object through
different names. Remember that in Python it is the objects that matter (which
are identified in CPython via their memory address, but
Change by R. David Murray <rdmur...@bitdance.com>:
--
stage: -> resolved
status: open -> closed
title: The replys additional (Re.) is ok. -> spam?
___
Python tracker <rep...@bugs.python.org>
<https://bu
R. David Murray <rdmur...@bitdance.com> added the comment:
What we need for this issue is someone volunteering to writing the code. Given
how long it has already been, I don't think anyone already on the core team is
going to pick
David Beazley <d...@dabeaz.com> added the comment:
Some context: I noticed this while discussing (in a course) a programming
trick involving instance initialization and locals() that I'd encountered in
the past:
def _init(locs):
self = locs.pop('self')
for nam
R. David Murray <rdmur...@bitdance.com> added the comment:
Yes.
There's this thing called Postel's Law that says you should be generous in what
you accept and careful in what you emit. So most MTAs and MUAs try very hard
to guess what a non-RFC-compliant email is trying to say,
R. David Murray <rdmur...@bitdance.com> added the comment:
See also issue 26923, but I think this problem is different.
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
I don't think this is a bug. There are many ways to lie in Python. If your
object lies, it is on your head when things break :) On the flip side, the
ability to lie is very handy in many circumstances, and is often a case o
Change by R. David Murray <rdmur...@bitdance.com>:
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<https://bu
R. David Murray <rdmur...@bitdance.com> added the comment:
It's probably enough to fix it. I fear that if we also change them in sendmail
we'll break someone's code, but maybe we should do that anyway, for 3.7 only.
--
versions: -Python 2.7, Python 3.4, Python 3.5, Pyth
R. David Murray <rdmur...@bitdance.com> added the comment:
I think this requires a discussion on the python-ideas mailing list, since API
changes to Future need consideration in the asyncio context as well.
--
components: +Library (Lib) -Interpreter Core
nosy: +r.david.murra
R. David Murray <rdmur...@bitdance.com> added the comment:
On Thu, 25 Jan 2018 15:18:01 +, Steven D'Aprano <rep...@bugs.python.org>
wrote:
> On Thu, Jan 25, 2018 at 02:28:17PM +, R. David Murray wrote:
> The docstring for send_message does say
>
>
R. David Murray <rdmur...@bitdance.com> added the comment:
Yep, this one might get closed as "as designed", too ;) cgitb has to cope with
something going wrong with trying to print out values, because there are a
number of ways to break that in Python, not just the one
R. David Murray <rdmur...@bitdance.com> added the comment:
Chason: that does look like a bug.
Mutable defaults are best to avoid, but if they are used read-only and not
passed down further it isn't a problem. send_message was modeled on sendmail,
and so copied it's use of defaults
New submission from David Albert Torpey <dt...@users.sourceforge.net>:
$ python3.5
Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 08:49:46)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "lice
R. David Murray <rdmur...@bitdance.com> added the comment:
That isn't a bug. Python doesn't protect you from doing the wrong thing, in
general. On the other hand, it might be a worthwhile improvement to make it
read-only in this case. Especially since, as you point out, other see
R. David Murray <rdmur...@bitdance.com> added the comment:
Yes, it is.
--
stage: patch review -> resolved
status: open -> closed
type: crash -> behavior
___
Python tracker <rep...@bugs.python.org>
<https://bu
R. David Murray <rdmur...@bitdance.com> added the comment:
Note: I reviewed this a while ago but the review comments haven't been
addressed.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
Could WindowsPath (as opposed to PureWindowsPath) call samefile as part of the
equality test? (I'm not familiar enough with pathlib to know if that is a
nonsense question.)
--
___
R. David Murray <rdmur...@bitdance.com> added the comment:
Maybe we could at least mention the issue (and perhaps link to samefile) in the
"General Properties" section?
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs
David CARLIER <devne...@gmail.com> added the comment:
In OpenBSD it s even "worse", the version for each call is random (not a
surprise when looking at the source). The question is, do we go back to support
only AIX or do we accept someh
R. David Murray <rdmur...@bitdance.com> added the comment:
Ah, yes. When I said "this has been discussed previously", that's the issue I
was thinking of but couldn't find.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -
R. David Murray <rdmur...@bitdance.com> added the comment:
@guido: in roundup, by default anyone can change the issue title. I imagine he
is a new user who just didn't understand that he was doing so. (And indeed,
the account was created o
Change by R. David Murray <rdmur...@bitdance.com>:
--
nosy: +pitrou
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32601>
___
_
R. David Murray <rdmur...@bitdance.com> added the comment:
I believe you are correct that it is too late to modify the existing behavior.
Too many programs depend on it. As far as documenting, my point is that it is
*not specified* what the name attribute contains. It can contain lit
R. David Murray <rdmur...@bitdance.com> added the comment:
This has been discussed previously. The nature of the 'name' attribute for
file objects is not really specified, so I'm not even sure what we would
document. Maybe just that it is unspecified.
--
nosy: +r.david.
R. David Murray <rdmur...@bitdance.com> added the comment:
I'm not clear why we want a bug tracker issue for something that is still only
an idea. We generally *send* people to python-ideas when they propose
half-baked ideas here :) (Not actually saying your idea is half
David CARLIER <devne...@gmail.com> added the comment:
Gives same outcome but maybe someone else can confir,
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
David CARLIER <devne...@gmail.com> added the comment:
uuid_create only I think.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
I'll defer to Lukasz, but I don't believe this is a bug. An empty value and a
value of "" are equivalent in config.ini syntax, as far as I know.
--
nosy: +lukasz.langa
__
R. David Murray <rdmur...@bitdance.com> added the comment:
Please provide a way to reproduce the problem you are observing. There is
insufficient information here so far to understand the problem.
--
nosy: +r.david.murray
___
Python tracke
R. David Murray <rdmur...@bitdance.com> added the comment:
Ah, I was just going to ask about that. I guess I'm -0 on the backport as
well. The other reproducible build stuff is only going to land in 3.7.
However, this is in a more general category than the pyc stuff, so I c
R. David Murray <rdmur...@bitdance.com> added the comment:
Given the reproducible builds angle, I'd say this was worth doing.
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
This is sounds like a variation on issue 30811.
--
nosy: +r.david.murray
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
New submission from David CARLIER <devne...@gmail.com>:
Spotted to UUID unit tests https://bugs.python.org/issue32493
--
components: Library (Lib)
messages: 310154
nosy: David CARLIER2
priority: normal
pull_requests: 5068
severity: normal
status: open
title: UUID module fix,
David CARLIER <devne...@gmail.com> added the comment:
Might comes from uuid1 function itself ... e.g. line 704 not setting version
"field".
------
nosy: +David CARLIER2
___
Python tracker <rep...@bugs.python.org>
<https://b
David Chin <david.w.h.c...@gmail.com> added the comment:
I would like to state strong support if is.get_usable_cpu_count()
I administer a typical HPC cluster which may have multiple jobs scheduled on
the same physical server. The fact that multiprocessing ignores cgroups leads
R. David Murray <rdmur...@bitdance.com> added the comment:
A better question might be: is there something in the embedding framework that
should initialize argv to the empty list? embedding framework here could have
two meanings: either the third party code, or the code that we p
David Carlier <dcarl...@afilias.info> added the comment:
No worries If I saw first it was an extra project I would not have try to
submit in Cpython. Apologies. I ll see what I can do in blake2 side :-)
--
___
Python tracker <rep...@bugs.p
David Carlier <dcarl...@afilias.info> added the comment:
Since the PR had been closed.
--
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<https://bu
Change by David Carlier <dcarl...@afilias.info>:
--
components: Library (Lib)
nosy: David Carlier
priority: normal
pull_requests: 5056
severity: normal
status: open
title: Blake2 module, memory clearance update
type: enhancement
versions: Pyth
New submission from David Carlier <dcarl...@afilias.info>:
Might brings a bit of "controversy" but some oses have already unoptimizable
memset like functions from their libc was thinking to just use them instead.
--
___
Pyt
R. David Murray <rdmur...@bitdance.com> added the comment:
I believe so. For python3 I think it should only apply to the legacy API docs
(you would use set_content (directly or indirectly) in python3, not
set_payload). I've updated the versions.
--
versions: +Python 3.6, Pyth
David Carlier <dcarl...@afilias.info> added the comment:
I guessed that :-) I trusted it worked just fine for you. To be honest I know
nearly nothing about AIX specificities :-)
--
___
Python tracker <rep...@bugs.python.org>
<https://
R. David Murray <rdmur...@bitdance.com> added the comment:
Well, it does support a persistent connection, but that connection lasts until
it is shut down from the other side. Documentation improvement suggestions are
welcome.
--
___
Python t
R. David Murray <rdmur...@bitdance.com> added the comment:
In particular, if we don't already have an example of using the threading mixin
we should, so a doc RFE to add that would be nice.
--
___
Python tracker <rep...@bugs.python.or
R. David Murray <rdmur...@bitdance.com> added the comment:
Yes, I would say it is.
Note that this isn't going to get "fixed" in 2.7, because 2.7 doesn't get new
features, and the proposed change to the CLI is a new feature. As noted in
that issue discussion we aren't
David Carlier <dcarl...@afilias.info> added the comment:
Perfect. That solves in the process OpenBSD uuid module build too.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
I think Nick was the last one who touched the byte/string issues in urllib, so
I've nosied him. We'll see what he thinks (but this tracker accepts
enhancement proposals as long as they are smallish ones).
--
nosy: +nc
R. David Murray <rdmur...@bitdance.com> added the comment:
We generally don't do type checking (see discussions of "duck typing"). We
generally do just let the implementation detail bubble up. I don't think the
encoding suggestion works, since we can't know what encoding
R. David Murray <rdmur...@bitdance.com> added the comment:
Ah, I see my answer crossed with your post :)
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
What happens if you print a placeholder line first, before your test output?
I'm not sure it will work, I seem to remember something about an ellipses
starting a line just not being supported, but it was a long time ago.
R. David Murray <rdmur...@bitdance.com> added the comment:
I'm not sure, but the discussion I remember was that it would require changes
to an awful lot of places in the docs that would make the docs harder to read.
It is very seldom in normal Python coding that an object has a
R. David Murray <rdmur...@bitdance.com> added the comment:
This is a general property of dunder methods in python3, and I think we have
chosen not to change the wording when this has come up in other contexts. I'm
not sure, though.
--
nosy: +r.david.
R. David Murray <rdmur...@bitdance.com> added the comment:
If you read the traceback the message is "correct" for some definition of
correct: the right hand side controls the type of the expression, so it is
objecting to trying to look for the string '%' in a bytes object.
Th
David Edelsohn <dje@gmail.com> added the comment:
The AIX buildbots has been exhibiting testsuite failures, but not build
(compile) failures. The buildbots do not visibly distinguish between the two
cases in a strong manner.
We can disable / expect failure for the few, addi
R. David Murray <rdmur...@bitdance.com> added the comment:
Just warnings, no docs. We've done this before for other helper functions, but
it is always a judgement call whether it is worth the churn. I defer to those
people who have actually done work on the module for the
David Bolen <db3l@gmail.com> added the comment:
Apologies if this is obvious and already in progress, but the issue with
Windows and this change appears to be that the "utf-8.file" file is being
treated as text rather than binary.
So the line ending is expanding to CRLF.
New submission from David Carlier <dcarl...@afilias.info>:
UUID module build fails on FreeBSD since it supports uuid_create function.
--
components: FreeBSD
messages: 309479
nosy: David Carlier, koobs
priority: normal
pull_requests: 4970
severity: normal
status: open
title: UUID
R. David Murray <rdmur...@bitdance.com> added the comment:
I think adding an __all__ in 3.7 would be reasonable. You are right that we
can't simply rename them for backward compatibility reasons. We could rename
them, and leave a stub function (that calls the renamed function) but
R. David Murray <rdmur...@bitdance.com> added the comment:
This reduces to the following:
>>> from binascii import a2b_base64 as f
>>> f(b'MTIzND\nU2Nzg5\n')
b'123456789'
>>> f(b'MTIzND\n')
Traceback (most recent call last):
File "", li
David Vitek <dvi...@grammatech.com> added the comment:
It doesn't look like the fix for issue #16133 fixed this problem, or perhaps it
only fixed it for asynchat but not asyncore.
I have attached a patch (against python 2, since this is where I needed it
fixed). The patch treats WSA f
Change by R. David Murray <rdmur...@bitdance.com>:
--
components: +macOS
nosy: +ned.deily, ronaldoussoren
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
This has been proposed and rejected before, for example in issue 28135. If you
want to pursue it you'll need to start a thread on python-ideas.
--
nosy: +r.david.murray
resolution: -> duplicate
stage: needs patch -&
David Edelsohn <dje@gmail.com> added the comment:
_ALL_SOURCE is overkill. It probably is too big a club for this regression.
However, the AIX header definition of fsid compatible with the current Python
posixmodule.c code is bracketed by _ALL_SOURCE.
AFAICT, the change to posixmo
R. David Murray <rdmur...@bitdance.com> added the comment:
Thanks, Mariatta. I did click on the details link, so either the restart link
isn't obvious or I don't have the correct permissions to do a restart :)
And thanks Emily for doing the PR.
--
resolution: -> fixed
sta
R. David Murray <rdmur...@bitdance.com> added the comment:
New changeset 0e0d1017a4c8ad6f77ee42d7b640463058037f62 by R. David Murray (Miss
Islington (bot)) in branch '2.7':
bpo-32452: clarify term 'brackets' in generator tutorial (GH-5079) (#5082)
https://github.com/python/cpython/
Change by David Edelsohn <dje@gmail.com>:
--
nosy: +David.Edelsohn
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue27435>
___
Change by David Edelsohn <dje@gmail.com>:
--
nosy: +David.Edelsohn
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue10656>
___
Change by David Edelsohn <dje@gmail.com>:
--
nosy: +David.Edelsohn
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue28009>
___
David Edelsohn <dje@gmail.com> added the comment:
/* typedef for the File System Identifier (fsid). This must correspond
* to the "struct fsid" structure in _ALL_SOURCE below.
*/
typedef struct fsid_t {
#ifdef __64BIT_KERNEL
unsigned long val[2];
#else /
David Edelsohn <dje@gmail.com> added the comment:
struct statvfs {
ulong_tf_bsize; /* preferred file system block size */
ulong_tf_frsize;/* fundamental file system block size*/
fsblkcnt_t f_blocks;/* total # of blocks of f_
Change by David Edelsohn <dje@gmail.com>:
--
nosy: +David.Edelsohn
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue28290>
___
Change by David Edelsohn <dje@gmail.com>:
--
nosy: +David.Edelsohn
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue27643>
___
R. David Murray <rdmur...@bitdance.com> added the comment:
It looks like the docs job hung on the 2.7 backport, but I don't see how to
restart it.
--
___
Python tracker <rep...@bugs.python.org>
<https://bugs.python
R. David Murray <rdmur...@bitdance.com> added the comment:
New changeset f24c1857a8a1ba3efb3f957d43371bc9499e3c86 by R. David Murray (Miss
Islington (bot)) in branch '3.6':
bpo-32452: clarify term 'brackets' in generator tutorial (GH-5079) (#5081)
https://github.com/python/cpython/
R. David Murray <rdmur...@bitdance.com> added the comment:
New changeset f190eb59e60e2ae7a7cbd396458389a7a076e0d3 by R. David Murray
(Emily Morehouse) in branch 'master':
bpo-32452: clarify term 'brackets' in generator tutorial (#5079)
https://github.com/python/cpython/
R. David Murray <rdmur...@bitdance.com> added the comment:
Agreed. I don't think there is sufficient motivation for doing this, and there
are downsides as Eric has pointed out. Rejecting.
--
resolution: -> rejected
stage: patch review -> resolved
status: op
901 - 1000 of 12771 matches
Mail list logo