Mark Dickinson added the comment:
I wonder if it would be better to reject Bool data in this context?
It's not uncommon (and quite useful) in NumPy world to compute basic statistics
on arrays of boolean dtype: the sum of such an array gives a count of the
`True`s, and the mean gives the
Mark Lawrence added the comment:
I couldn't see anything obvious in the devguide so I'm assuming that still
needs doing.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20357
Mark Lawrence added the comment:
Where do we stand on this as #10224 has been closed as out of date?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10965
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24092
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24091
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24095
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24094
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24093
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24096
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24097
___
Mark Lawrence added the comment:
If there is an agreed standard for security warnings I'll prepare a patch for
this.
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20749
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24098
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24100
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24099
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24101
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24103
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24102
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24104
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24105
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24056
___
New submission from aleb:
This is how I configure and build:
$ ./configure --prefix=/usr \
--with-threads \
--with-computed-gotos \
--enable-ipv6 \
--with-system-expat \
--with-dbmliborder=gdbm:ndbm \
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24115
___
Arfrever Frehtes Taifersar Arahesis added the comment:
Set CFLAGS when calling configure, not make.
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24116
___
New submission from Ma Lin:
Hi,
There is a small bug in GB18030 decoder.
For 4-byte sequence, the legal range is:
0x81-0xFE for the 1st byte
0x30-0x39 for the 2nd byte
0x81-0xFE for the 3rd byte
0x30-0x39 for the 4th byte
The current code forgets to check 0xFE of the 1st and 3rd byte.
Changes by Ma Lin wjss...@sohu.com:
--
type: - behavior
Added file: http://bugs.python.org/file39278/forpy3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24117
___
Changes by Ma Lin wjss...@sohu.com:
--
title: A small bug in GB18030 decoder. - Wrong range checking in GB18030
decoder.
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24117
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +lemburg, loewis, serhiy.storchaka
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24117
___
Berker Peksag added the comment:
Thanks for the report.
Users should either be permitted to set debug on via an optional __init__
parameter,
This is already possible via the debug attribute
(https://docs.python.org/3/library/shlex.html#shlex.shlex.debug), so I don't
think adding a debug
Steve Dower added the comment:
Sorry, wasn't watching the other issue. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20148
___
___
Larry Hastings added the comment:
Steve, please close this issue when you've confirmed it's now building
correctly on Windows.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20148
___
Larry Hastings added the comment:
Steve, please close this issue when you've confirmed it's now building
correctly on Windows.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20168
___
New submission from Jesse Bacon:
https://docs.python.org/2/tutorial/stdlib2.html
Section 11.6. Weak References
The example code below from the python tutorial suggests that the value of a is
no persistent when cast into a WeakValueDictionary as entry 'primary'
The value persisted in the
Jesse Bacon added the comment:
https://docs.python.org/2/tutorial/stdlib2.html
Section 11.6. Weak References
The example code below from the python tutorial suggests that the value of 'a'
is not persistent when cast into a WeakValueDictionary as entry 'primary'
The value persisted in the
Serhiy Storchaka added the comment:
Then the patch LGTM. It is easier to make these changes by hand than make a
review for moved code on Rietveld.
I'm not sure, but may be forward static declarations of arrays of unspecified
size is C99-ism?
--
Larry Hastings added the comment:
I agree. I looked it up in the C99 standard. 6.9.2.2 says:
If the declaration of an identifier for an object is a tentative definition
and has internal linkage, the declared type shall not be an incomplete type.
And if you'd hurry up and bless my patch for
Steve Dower added the comment:
It fails on VC10, 11, 12 and 14, so I doubt it's going to be changed. That
said, it looks like the non-static forward definition may be some sort of
extension, since it causes a redefinition error (mismatched storage class) on
all versions when using /Za to
Antoine Pitrou added the comment:
Le 03/05/2015 23:06, Larry Hastings a écrit :
Larry Hastings added the comment:
We discussed it in IRC a bit (and I got a little education).
Can we have a transcript somewhere?
--
___
Python tracker
Larry Hastings added the comment:
We discussed it in IRC a bit (and I got a little education). I can propose
three remedies:
A) back out the Clinic conversion in _ssl.c
B) support Clinic in 2.7 just for _ssl.c
C) do a one-time backport of the Clinic generated code for _ssl.c
IMO these are in
Andrew Barnert added the comment:
Presumably ESR thought that information was useful enough to send Guido a patch
to add it. But apparently nobody's missed it in the 15 years it's been checked
in but unreachable. If anyone needed to know the `instream` and `lineno` right
after initialization,
Steve Dower added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20168
___
___
Python-bugs-list mailing list
Unsubscribe:
Serhiy Storchaka added the comment:
Then it would be better to not convert wantobjects() to Argument Clinic. Using
-1 as a value for not passed argument is a hack (added in 1ab9978123be) and I
don't want to propagate it to the signature.
But I afraid that there are other functions that suffer
Larry Hastings added the comment:
Oh, this is only happening on the *beta* compiler? In that case, I genuinely
suggest you file a bug.
We can still check in the workaround, but I really do think MSVS's behavior is
wrong here. (Why is it only for forward static declarations of arrays of
Larry Hastings added the comment:
Attached. Glad you asked right away, it would have been a lot harder to get
later!
--
Added file:
http://bugs.python.org/file39283/irc.transcript.of._ssl.clinic.discussion.txt
___
Python tracker
Jesse Bacon added the comment:
https://docs.python.org/2/tutorial/stdlib2.html
Section 11.6. Weak References
The example code below from the python tutorial suggests that the value of 'a'
is not persistent when cast into a WeakValueDictionary as entry 'primary'
The value persisted in the
New submission from Raymond Hettinger:
Mutability is conferred by the presence of mutating methods. Deques are
documented to have append, pop, extend, appendleft, popleft, extendleft, and
rotate. Also the examples all show mutations.
--
nosy: +rhettinger
resolution: - not a bug
Larry Hastings added the comment:
If the argument currently uses a default value of -1, then I see no problem
with converting it to Argument Clinic using a default value of -1. If you
claim it's a hack then you should discuss that with the author of
1ab9978123be.
--
Larry Hastings added the comment:
Closing as wontfix. This is not a supported use of optional groups.
--
resolution: - wont fix
status: languishing - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24051
Steve Dower added the comment:
According to
http://compgroups.net/comp.std.c/why-does-the-standard-prohibit-static-int-a/2569729,
it's invalid in both C89 and C99, but some compilers accept it as an extension.
IMO we should avoid relying on compiler extensions, at least in the code files
Larry Hastings added the comment:
(sorry, 6.9.2.3)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20148
___
___
Python-bugs-list mailing list
Antoine Pitrou added the comment:
Thank you!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20179
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 7a76c462c7f6 by Larry Hastings in branch 'default':
Fix Windows build breakage from checkins on Issues #20148 and #20168.
https://hg.python.org/cpython/rev/7a76c462c7f6
--
___
Python tracker
Roundup Robot added the comment:
New changeset 7a76c462c7f6 by Larry Hastings in branch 'default':
Fix Windows build breakage from checkins on Issues #20148 and #20168.
https://hg.python.org/cpython/rev/7a76c462c7f6
--
___
Python tracker
R. David Murray added the comment:
Here is an updated patch based on Milan's work, including docs. I've tweaked
the API slightly: no dedicated method for doing the enable (instead it is
inlined in authenticate), I added 'enable' to the exposed API (with a doc
caveat about not using it for
R. David Murray added the comment:
If I run the example code you pasted using 2.7, I get a KeyError. So the
example looks correct to me.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24123
Jesse Bacon added the comment:
Thank you for the second eyes.
I just verified that it works using the standard python shell. It looks like
the bug is in IPython. I’ll post it there.
In [7]: class A:
...: def __init__(self, value):
...: self.value = value
...: def
Mariano Reingart added the comment:
Just for the record, I've presented a CPython Internationalization proposal
for this year Google Summer of Code program:
http://www.google-melange.com/gsoc/proposal/public/google/gsoc2015/reingart/5634387206995968
Indeed, that was my third attempt to move
Nick Coghlan added the comment:
After further consideration, I realised there's an important difference between
this case and the hash randomisation case: having the -E switch imply hash
randomisation was OK, but having it imply HTTPS certificate verification after
the system administrator
Steven D'Aprano added the comment:
For what it's worth, there are at least two localised versions of Python:
Teuton and ChinesePython. As far as I know, ChinesePython is still in active
development. Both translate the keywords and builtins, to German and Chinese
respectively. I don't have a
Jesse Bacon added the comment:
After further testing it appears that the bug is in IPython not Python 2.7.
The bug has been moved to the Python list at
https://github.com/ipython/ipython/issues/8403#issuecomment-98565759
--
resolution: - third party
status: open - closed
Stefan Behnel added the comment:
I'm actually not sure how it relates to the minimum. The more runs you have,
the higher the chance of hitting the actual minimum at least once. And if none
of the runs hits the real minimum, you're simply out of luck.
However, it should tend to give a much
Serhiy Storchaka added the comment:
May be just drop 5% of largest values to avoid the impact of outliers?
See also issue23552.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22881
___
Antoine Pitrou added the comment:
May be just drop 5% of largest values to avoid the impact of outliers?
In fast mode (option -f), there may not be enough samples for that.
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Added new comments. issue20182.signalmodule.patch LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20182
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9517
___
Marc-Andre Lemburg added the comment:
Adding Hye-Shik who wrote the codec.
--
nosy: +hyeshik.chang
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24117
___
Stefan Behnel added the comment:
Well, we can apply a kludge, or apply statistics.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22881
___
___
Antoine Pitrou added the comment:
I have no opinion on whether this is a good thing or not. Security backports
should be few and far between, so I don't think it's a big problem if they are
a bit more difficult.
--
___
Python tracker
Antoine Pitrou added the comment:
Then let's just replace the average with the median? I don't think it makes
sense to add more statistical information to the output (IMHO, there is already
too much of it :-)).
--
___
Python tracker
Serhiy Storchaka added the comment:
wantobjects() was not converted due to a bug in Argument Clinic (issue24051).
--
dependencies: -Argument Clinic no longer works with single optional argument
resolution: - fixed
stage: patch review - resolved
status: open - closed
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20148
___
Antoine Pitrou added the comment:
Have you found the median to be more stable than the minimum here?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22881
___
Serhiy Storchaka added the comment:
Thank you for your contribution Dmitry.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22619
R. David Murray added the comment:
Sounds like this is a duplicate of issue 9189? (--with-pydebug certainly works
for me).
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24116
Christian Heimes added the comment:
I'm with Alex. The move to argument clinic is going to make it very hard to
port patches to older versions of Python, especially Python 2.7.
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Here is a disadvantage of opening several issues for similar bugs.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24105
___
New submission from Steven D'Aprano:
The example code for http.client shows www.python.org/parrot.spam return a 404:
https://docs.python.org/3/library/http.client.html#examples
# Example of an invalid request
conn.request(GET, /parrot.spam)
r2 = conn.getresponse()
print(r2.status,
Roundup Robot added the comment:
New changeset ffc1f9d1c8b3 by Benjamin Peterson in branch '3.3':
be more robust against the filters list changing under us (closes #24096)
https://hg.python.org/cpython/rev/ffc1f9d1c8b3
New changeset 47f4c3a5d86a by Benjamin Peterson in branch '3.4':
merge 3.3
aleb added the comment:
It's confusing that the CFLAGS specified when running make are passed further
sometimes but not always. So I guess that's a workaround? Or CFLAGS should
never be specified to make directly?
--
___
Python tracker
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23330
___
Serhiy Storchaka added the comment:
Sorry. Should I rollback 1eaaf27b3956?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20179
___
___
Brett Cannon added the comment:
The issue is still valid and waiting for someone to submit a patch to the
devguide.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10965
___
Roundup Robot added the comment:
New changeset eb6052605fd8 by Serhiy Storchaka in branch 'default':
Issue #22619: Added negative limit support in the traceback module.
https://hg.python.org/cpython/rev/eb6052605fd8
--
nosy: +python-dev
___
Python
Stefan Behnel added the comment:
for the even number case, I think you shouldn't do // 2, but / 2.
Right. I updated the patch.
--
Added file: http://bugs.python.org/file39279/show_median.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset b32ca610c9e6 by Serhiy Storchaka in branch '2.7':
Issue #23330: h2py now supports arbitrary filenames in #include.
https://hg.python.org/cpython/rev/b32ca610c9e6
New changeset 0079465a9425 by Serhiy Storchaka in branch '3.4':
Issue #23330: h2py now
Roundup Robot added the comment:
New changeset 1eaaf27b3956 by Serhiy Storchaka in branch 'default':
Issue #20179: Converted the _ssl module to Argument Clinic.
https://hg.python.org/cpython/rev/1eaaf27b3956
--
___
Python tracker
Roundup Robot added the comment:
New changeset b22ced894d51 by Serhiy Storchaka in branch 'default':
Issue #20168: Converted the _tkinter module to Argument Clinic.
https://hg.python.org/cpython/rev/b22ced894d51
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset d5f78a855355 by Serhiy Storchaka in branch 'default':
Issue #20148: Converted the _sre module to Argument Clinic.
https://hg.python.org/cpython/rev/d5f78a855355
--
nosy: +python-dev
___
Python tracker
Serhiy Storchaka added the comment:
For now almost all generated code are written in separate file, so it doesn't
attract attention (if you believe Argument Clinic).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20180
Larry Hastings added the comment:
How often are patches backported to 2.7? While I understand the sentiment, I'd
like to understand the scale of the objection being raised. I suspect it's
infrequent, making the objection a minor one.
--
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1182143
___
Serhiy Storchaka added the comment:
I don't see the v2 patch for the signal module.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20182
___
___
Serhiy Storchaka added the comment:
Thanks Peter for the fix. Applied by Christian in 743c54a2830f.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20175
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - duplicate
status: open - closed
superseder: - Use after free during json encoding (PyType_IsSubtype)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24095
Benjamin Peterson added the comment:
I applied a very similar patch for #24094.
--
nosy: +benjamin.peterson
resolution: - duplicate
status: open - closed
superseder: - Use after free during json encoding (PyType_IsSubtype)
___
Python tracker
New submission from Brett Cannon:
One thing about https://www.python.org/dev/peps/pep-0484/ is that it makes
comments potentially semantically meaningful. Unfortunately the AST doesn't
carry comments with it in any way, making it difficult to build a tool to
implement a linter for PEP 484
Tal Einat added the comment:
Do you mean the v2.patch file, or the one before it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20182
___
___
Christian Heimes added the comment:
You are right, patches are seldomly backported to Python 2.7. Features are
never backported. Well, except for one exception: the ssl module. :)
--
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Yes, it moves the type declaration to the bottom of the file, and adds forward
static declarations for the types to the top of the file.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20148
Mark Shannon added the comment:
Comments don't belong on the AST. Where would you attach them?
The tokenizer module provides all information about comments. Tools can get the
information quite easily if they need it.
--
nosy: +Mark.Shannon
___
Changes by lf thereallucasf...@gmail.com:
--
assignee: docs@python
components: Documentation
nosy: docs@python, lf
priority: normal
severity: normal
status: open
title: collections page doesn't
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
1 - 100 of 123 matches
Mail list logo