STINNER Victor added the comment:
asyncio has a new asyncio.subprocess module which implements my feature request.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20400
New submission from R. David Murray:
This was part of the design of the new stuff added in 3.4, so it is a bug that
it doesn't work...somehow I missed implementing this detail. The full
implementation should make this a policy setting, so that a custom policy could
specify its own factory.
Changes by Yury Selivanov yselivanov...@gmail.com:
Added file: http://bugs.python.org/file33849/sig_cython_02.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17159
___
New submission from R. David Murray:
Here are the examples I promised to write in issue 18891.
--
assignee: docs@python
components: Documentation, email
files: contentmanager-examples.patch
keywords: patch
messages: 209922
nosy: barry, docs@python, r.david.murray
priority: normal
Nick Coghlan added the comment:
Those are C level descriptors, so we'd have to add new fields to the structs,
and that's not going to happen at this stage of the release cycle.
However, there's also the fact that tp_new and tp_init are required to have the
*same* signature, and those override
Ronny Pfannschmidt added the comment:
http://hg.python.org/releasing/3.4/file/447c758cdc26/Modules/_sqlite/cursor.c#l789
also i dont see the isolation level being taking into account in other parts of
the code
--
___
Python tracker
R. David Murray added the comment:
Opened issue 20477 with the proposed examples.
--
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18891
Nick Coghlan added the comment:
For additional context, Guido's patch in issue 19306 changed Traceback to
Stack and added the (most recent call first) to some places where it was
missing.
Given the technical arguments in favour of keeping this code as simple as
possible, agreed this is a
Nick Coghlan added the comment:
Peter, could you take a look at this one? The status quo seems reasonable to me
(and I assume to you since the stdlib ipaddress matches the way ipaddr handles
this case), but there are details to Michiel's proposal that I'm not able to
adequately assess.
John Malmberg added the comment:
Encompasserve.org is now back up. It took a little longer than expected.
Should be no issues now in getting free hobby license keys for VMS on VAX,
Alpha, and Itanium by using the web forms.
--
___
Python tracker
pmoody added the comment:
Ack. My first impression is that #1 is probably the right way to do this. I'm
arguing with hg about the right way to stash a change, but I'll get this fixed.
--
assignee: - pmoody
___
Python tracker rep...@bugs.python.org
New submission from Nick Coghlan:
As per the python-ideas thread at
https://mail.python.org/pipermail/python-ideas/2014-February/025226.html the
statistics.mode() function currently passes its argument directly to the
collections.Counter() constructor. This results in Counter() objects being
Nick Coghlan added the comment:
Issue 20479 covers providing tools for efficiently working with
weight/frequency mappings in 3.5 (and presumably the statslib PyPI module)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20478
New submission from Leon Weber:
I was missing a method to compute the reverse DNS name for an IP address, and I
felt this is something that would belong in the ipaddress module; so here’s a
patch for the ipaddress module adding a reverse_name property to IPv?Address.
This is an example:
Changes by Nick Coghlan ncogh...@gmail.com:
--
dependencies: +Avoid inadvertently special casing Counter in statistics module
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20479
New submission from Nick Coghlan:
Issue 20478 suggests ensuring that even weight/frequency mappings like
collections.Counter are consistently handled as iterables in the current
statistics module API.
However, it likely makes sense to provide public APIs that support efficiently
working with
New submission from Nick Coghlan:
I haven't completely following the type coercion discussion on python-ideas.
but the statistics module at least needs a docs clarification (to explain that
the current behaviour when mixing input types is not fully defined, especially
when Decimal is
Eric V. Smith added the comment:
I think the functionality is reasonable for this module.
When I originally read the bug title, I was concerned that it was actually
doing a reverse DNS lookup, which would not be appropriate. But now I realize
it's just computing the name that would be used
Nick Coghlan added the comment:
Heh, my initial reaction based on the issue title was the same as Eric's, but
yes, I agree the pure text manipulation proposed in the patch is actually a
good fit.
Rather than reverse_name (which I feel is ambiguous about whether or not it
does the DNS lookup
Antoine Pitrou added the comment:
Thanks for the patch, Leon. Is the trailing dot actually desired?
ipaddress.ip_address(127.0.0.1).reverse_name
'1.0.0.127.in-addr.arpa.'
Also, to accept your contribution, we will need you to fill a contributor's
agreement. See
Leon Weber added the comment:
Thanks for the feedback, I agree reverse_pointer is a better, less ambiguous
name for the property. I’ve amended the patch to reflect this suggestion.
Regarding the trailing dot, I felt it more appropriate to have it that to leave
it out, but I don’t have a
Nick Coghlan added the comment:
Gah, we still haven't fixed the contributor license docs on the main
CLA page (hopefully we'll finally have that sorted later this month).
In the meantime, if you go directly to
http://www.python.org/psf/contrib/contrib-form/ it should give you the
option to sign
Yury Selivanov added the comment:
Please review the attached patch (sig_builtins_01.patch).
Some details:
- All parsing code from Signature.from_builtin was moved
in a separate helper '_signature_fromstr'
- Signature.from_builtin calls '_signature_fromstr'. All
its validation logic is
Leon Weber added the comment:
Oh nice, then fewer trees have to die. I’ve now signed the contributor’s
agreement.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20480
___
Nikolaus Rath added the comment:
Wow, I didn't realize that programming Python using the C interface was that
tedious and verbose. I have attached a work-in-progress patch. It is not
complete yet, but maybe somebody could already take a look to make sure that
I'm not heading completely in the
Changes by Yury Selivanov yselivanov...@gmail.com:
Added file: http://bugs.python.org/file33854/sig_cython_03.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17159
___
New submission from yegle:
Currently the `msg` argument of `smtplib.SMTP.sendmail` accept a `str` in Py3k
if every characters in this `str` is in ASCII range, or a `bytes`.
This is confusing for new comer because:
1. When you send your mail using only ASCII characters, everything is fine (no
Yury Selivanov added the comment:
Well, I guess we can replace
from time import clock
with something like
try:
from time import monotonic as clock
except ImportError:
from time import time as clock
Victor, what do you think?
--
nosy: +yselivanov
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20482
___
___
Python-bugs-list
Changes by Yury Selivanov yselivanov...@gmail.com:
--
nosy: +fdrake
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20475
___
___
Python-bugs-list
Terry J. Reedy added the comment:
One could argue that The guarantee applies only to the token type and token
string as the spacing between tokens (column positions) may change. covers
merging of lines, but total elimination of needed whitespace is definitely a
bug.
--
nosy:
Terry J. Reedy added the comment:
Whitespace equivalence is explicitly disclaimed. The guarantee applies only to
the token type and token string as the spacing between tokens (column
positions) may change. The assert is not a valid test. I think you should
close this. (Note that there are
New submission from Nick Coghlan:
These two tests appear to rely on DNS lookups or other network access that
isn't guarded by the network resource (my internet dropped out and these two
tests failed, but they work correctly now the internet connection is back up).
--
components: Tests
Nick Coghlan added the comment:
Revised patch that avoids doing multiple lookups of the same codec name while
creating the stream.
Absent any comments, I'll commit this version with appropriate NEWS and What's
New updates tomorrow.
--
Added file:
Changes by Nikolaus Rath nikol...@rath.org:
Added file: http://bugs.python.org/file33857/set_encoding-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15216
___
Nick Coghlan added the comment:
Ah, just noticed the test case is still using the overly specific check for the
exception wording. I'll fix that, too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20404
Changes by Kurt B. Kaiser k...@shore.net:
--
nosy: +kbk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18823
___
___
Python-bugs-list mailing list
Changes by Kurt B. Kaiser k...@shore.net:
--
nosy: +kbk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16123
___
___
Python-bugs-list mailing list
Changes by Kurt B. Kaiser k...@shore.net:
--
nosy: +kbk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15663
___
___
Python-bugs-list mailing list
Changes by Yury Selivanov yselivanov...@gmail.com:
Added file: http://bugs.python.org/file33858/sig_builtincls_02.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20473
___
New submission from Ned Deily:
With the pydoc.synopsis() for 'binary' modules changes (d6c3fb8d5f84) to
pydoc and test_pydoc for Issue20123, running test_pydoc can leave the regrtest
environment altered and cause subsequent tests to fail in strange ways. I ran
into this issue running
Yury Selivanov added the comment:
Second patch attached: sig_builtincls_02.patch, with a fix, that Nick
suggested. Larry, I'd like you to take a quick look at it as well, before I
commit it.
--
___
Python tracker rep...@bugs.python.org
Saimadhav Heblikar added the comment:
i have tried a workaround for this issue by explicitly escaping args so that
same result is produced on all platforms.this patch does NOT change the
behavior on non-NT platforms.
If this patch is accepted,i also recommend to specify on the help pages,that
Nick Coghlan added the comment:
Larry, if this version looks good to you, I'd like to commit it.
- id() is now back to being a properly generated AC function (since AC can now
preserve the old C level signature)
- sorted() is partially converted and has a __text_signature__ compatible
Changes by Nick Coghlan ncogh...@gmail.com:
Added file:
http://bugs.python.org/file33861/issue20184_builtin_conversion_v5.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20184
___
Stefan Behnel added the comment:
I tried the third patch and it works, but when I write this into a docstring:
def func(x, *, y=None):
sig=(a,b)
then it fails to extract the signature again and returns (a,b) instead.
I also tried putting in some math term as (non-signature)
Stefan Behnel added the comment:
I tried this in Cython and ISTM that the C level parser is a bit too forgiving:
def sig(a, b):
sig=(a*b)
return a * b
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20326
Wolfgang Maier added the comment:
Thanks Nick for filing this!
I've been working on modifications to statistics._sum and
statistics._coerce_types that together make the module's behaviour independent
of the order of input types (by making the decision based on the set of input
types) and,
101 - 148 of 148 matches
Mail list logo