Roundup Robot added the comment:
New changeset 36d5e04b6cfa by Larry Hastings in branch 'default':
Issue #24000: Improved Argument Clinic's mapping of converters to legacy
https://hg.python.org/cpython/rev/36d5e04b6cfa
--
nosy: +python-dev
___
Python
Larry Hastings added the comment:
I think this is a definite improvement, so I've checked it in so I can move on.
If you guys still want to talk about it, we can still change it before we hit
beta.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
paul added the comment:
ping
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24098
___
___
Python-bugs-list mailing list
Unsubscribe:
Marc-Andre Lemburg added the comment:
Thanks, Berker, your patch looks fine.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1322
___
___
Nick Coghlan added the comment:
A couple of minor comments:
* self.fail with an appropriate error message is a clearer way to
indicate an incorrect logic path has been hit in a test case
* the details of the exception chaining don't quite look right, as I
believe raise X from Y sets both the
Marc-Andre Lemburg added the comment:
Here's a patch which I have tested on Linux, FreeBSD and Mac OS X.
It solves the problem with compiling in Windows calls on non-Windows platforms
and resynchronizes the ffi_raw_call() function with the ffi_call()
implementation. Both functions had the
Serhiy Storchaka added the comment:
May be just emit a warning in -3 mode?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7267
___
New submission from Larry Hastings:
ast.literal_eval() supports all Python operators, yes? No. It doesn't support
if/else, Python's ternary operator.
Is there a reason it does not? I think it probably should.
--
messages: 242760
nosy: benjamin.peterson, georg.brandl, larry
Brett Cannon added the comment:
https://www.python.org/dev/peps/pep-0489/ is trying to come up with a redesign
of extension module loading and no one has submitted a patch for the
documentation (although Stefan has inlined proposed wording in a comment).
--
Benjamin Peterson added the comment:
I don't mind if you fix it in 2.7, too.
(Sorry, I get a lot of bug related emails...)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20274
___
Larry Hastings added the comment:
Checked in, with the filter function on a separate line, to 3.4. Also merged
into 3.5.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Right, this isn't a bug, it is that literal_eval is intended only to support
*literals*, not expressions. See also issue 22525.
--
nosy: +r.david.murray
resolution: - not a bug
stage: needs patch - resolved
status: open - closed
Changes by Larry Hastings la...@hastings.org:
--
assignee: ghaering - larry
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20274
Serhiy Storchaka added the comment:
Is 2.7 affected?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20274
___
___
Python-bugs-list mailing list
Yury Selivanov added the comment:
Nick, Berker,
Please see the updated patch.
--
Added file: http://bugs.python.org/file39323/pep0479.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
Roundup Robot added the comment:
New changeset bff966aed6a3 by Larry Hastings in branch '3.4':
Issue #21520: test_zipfile no longer fails if the word 'bad' appears
https://hg.python.org/cpython/rev/bff966aed6a3
--
nosy: +python-dev
___
Python tracker
Larry Hastings added the comment:
I'm gonna fix this now. (I'm cleaning up some old issues I filed on the bug
tracker this morning.)
For 3.4, I'm just removing the PyObject *kwargs for those three functions that
don't actually accept keyword arguments (METH_VARARGS) and aren't passed that
Roundup Robot added the comment:
New changeset 4c860369b6c2 by Larry Hastings in branch '3.4':
Issue #20274: Remove ignored and erroneous kwargs parameters from three
https://hg.python.org/cpython/rev/4c860369b6c2
New changeset 3e9f4f3c7fa7 by Larry Hastings in branch 'default':
Issue #20274:
R. David Murray added the comment:
Yes, the resolution of this issue will be to add documentation. Someone should
turn Stefan's comment into a patch.
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python, r.david.murray
stage: - needs patch
versions: +Python 3.5
Serhiy Storchaka added the comment:
No it doesn't support all Python operators.
ast.literal_eval('2*3')
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python3.4/ast.py, line 84, in literal_eval
return _convert(node_or_string)
File
Changes by Larry Hastings la...@hastings.org:
--
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20274
___
___
Larry Hastings added the comment:
Yes, all those bugs exist in 2.7. However, Benjamin hasn't responded to this
bug, so I assume he doesn't care and I should leave 2.7 alone.
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I think the bug should be fixed in 2.7 (but not in 3.3 unless we get a crasher).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20274
___
Larry Hastings added the comment:
Benjamin: I assume you want the extraneous (and undefined behavior) kwargs
parameters removed.
Do you also want pysqlite_connection_call() to start calling
_PyArg_NoKeywords()?
--
___
Python tracker
Benjamin Peterson added the comment:
On Fri, May 8, 2015, at 12:08, Larry Hastings wrote:
Larry Hastings added the comment:
Benjamin: I assume you want the extraneous (and undefined behavior)
kwargs parameters removed.
Do you also want pysqlite_connection_call() to start calling
Roundup Robot added the comment:
New changeset c91d135b0776 by Larry Hastings in branch '2.7':
Issue #20274: When calling a _sqlite.Connection, it now complains if passed
https://hg.python.org/cpython/rev/c91d135b0776
--
___
Python tracker
Changes by Larry Hastings la...@hastings.org:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20274
___
___
Demian Brecht added the comment:
LGTM, thanks for the patch!
--
nosy: +r.david.murray
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23888
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24078
___
___
Marc-Andre Lemburg added the comment:
Changing the title to reflect that the solution to how to configure Python is
still up in the air.
I also started a thread on python-dev to get some more feedback.
--
title: Make default HTTPS certificate verification setting configurable via
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24129
___
___
Maciej Szulik added the comment:
David, I've changed according to your suggestion, appreciate review.
--
Added file: http://bugs.python.org/file39324/issue21800.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21800
Yury Selivanov added the comment:
Another iteration:
- support of new syntax in lib2to3
- collections.abc.Awaitable
--
Added file: http://bugs.python.org/file39325/await_04.patch
___
Python tracker rep...@bugs.python.org
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23857
___
___
Raymond Hettinger added the comment:
To my eyes, the current set notation form more clearly expresses its intentions
than the |= notation. Readability counts.
I agree the |= is a startling syntax that looks weird enough to cause a mental
hiccup when reading it.
So, put me down for a -1.
Serhiy Storchaka added the comment:
For now str(accept={str, NoneType}) is used only 14 times in 6 files in 5
modules. The z format unit is used also in still not converted modules
_codecs (a lot of sites), _locale, mmap, _multiprocessing, and _socket. Current
syntax doesn't look so ugly for
Nick Coghlan added the comment:
Aye, it occurs to me now that introducing the implicit form trades a write
time lookup (where you have to override the converter defaults
explicitly), for a read time lookup (where you need to mentally add the
defaults to understand the modified accept clause)
As
Nick Coghlan added the comment:
Latest patch LGTM, although I believe the new chaining behaviour checks
would be clearer with the 3 try/except blocks merged into a single block
where all 3 behaviours are checked in the same except clause, and the else
clause complains that StopIteration was
Roundup Robot added the comment:
New changeset a04b3de18c4c by Benjamin Peterson in branch '3.4':
fix libffi compilation on FreeBSD (#23042)
https://hg.python.org/cpython/rev/a04b3de18c4c
New changeset 987b30a88653 by Benjamin Peterson in branch 'default':
merge 3.4 (#23042)
Changes by Davin Potts pyt...@discontinuity.net:
--
nosy: +davin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13044
___
___
Python-bugs-list
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23042
___
Christian Heimes added the comment:
Please let me join the party. :)
Like Antoine and Donald I'm against an option to disable certificate
validation. I truly believe it's the wrong approach for the problem.
Users don't *want* to disable security checks either. They disable the check
because
Christian Heimes added the comment:
PS: It's also super easy to trust self-signed certificates. All you have to do
is to grab the cert and set SSL_CERT_FILE env var:
$ openssl s_client -connect host:443 | openssl x509 /path/to/selfsigned.pem
$ SSL_CERT_FILE=/path/to/selfsigned.pem python
Marc-Andre Lemburg added the comment:
Those are nice ideas, but you are forgetting two important points:
* browsers are typically only being used by single users,
applications by potentially hundreds or thousands of users
* how should the poor sys admin who's task it is to keep Python
New submission from Larry Hastings:
Some format units provided by PyArg_ParseTuple() are exactly the same as
others, except that they also accept the value None. For example, s and z
are exactly the same, except z accepts None and s does not. The same goes
for s* and z*, or s# and z#.
To
Larry Hastings added the comment:
The final version of this has been implemented as part of 41fb7fd04b5d for
issue #24001.
However, I'll mention here for posterity's sakes: there's an additional
discussion on #24145. (Everyone on the nosy list has already been invited to
the party!)
Stefan Behnel added the comment:
We also need a Coroutine ABC. Both the GeneratorType and CO_COROUTINE
checks are too restrictive. Also see issue 24018, which this one should in fact
depend on.
--
___
Python tracker rep...@bugs.python.org
Stefan Behnel added the comment:
This is blocking issue 24017 (async/await syntax).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24018
___
___
Berker Peksag added the comment:
In Lib/__future__.py:
+generator_stop = _Feature((3, 5, 0, alpha, 1),
alpha needs to be changed to beta.
--
stage: test needed - commit review
___
Python tracker rep...@bugs.python.org
Guido van Rossum added the comment:
Ask Yury if he'll commit it for you. It's ready.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24018
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24018
___
Roundup Robot added the comment:
New changeset ba5d7041e2f5 by Raymond Hettinger in branch 'default':
Issue #24018: Add a collections.Generator abstract base class.
https://hg.python.org/cpython/rev/ba5d7041e2f5
--
nosy: +python-dev
___
Python
Stefan Behnel added the comment:
Thanks! Minor grouch: it should say collections.*abc*.Generator in the NEWS
entry.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24018
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: lukasz.langa - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24018
___
Omer Katz added the comment:
Is this issue resolved in any way?
Has there been a decision made on how to resolve it?
What's the status here?
--
nosy: +Omer.Katz
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16392
Nick Coghlan added the comment:
Right, the key here is to think like a system administrator, not a
developer. Most of those folks are downstream of redistributors (whether
commercial ones or community Linux distributions) and relying on one of two
things:
* tools using the system cert store for
Davin Potts added the comment:
The issue may already be addressed for the OP and without further information
we don't know what or if anything needs pursuing. If new information surfaces,
a new issue should be opened.
--
resolution: - out of date
status: pending - closed
New submission from Mik:
Python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2] on linux2
Type help, copyright, credits or license for more information.
import csv
class Mon(csv.Dialect):
... delimiter = ','
... quotechar = ''
... quoting = 0
... lineterminator = '\n'
...
Davin Potts added the comment:
It is no longer possible to reproduce the described issue. Changes to the
relevant libraries since this issue was originally opened appear to have
addressed the cause. Going ahead with closing this issue as there have been no
further reports from the OP or
Benjamin Peterson added the comment:
Let's see what the buildbots think.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23042
___
___
Roundup Robot added the comment:
New changeset 96a7b401d5e4 by Benjamin Peterson in branch '2.7':
fix libffi compilation on FreeBSD (#23042)
https://hg.python.org/cpython/rev/96a7b401d5e4
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
61 matches
Mail list logo