Changes by Ned Deily n...@acm.org:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23051
___
___
Python-bugs-list mailing list
binbjz added the comment:
I have added code to disable global verification on phsphere. It works well.
thanks.
--
resolution: not a bug -
type: behavior - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23052
Saimadhav Heblikar added the comment:
Need some clarification on this issue. I tried changing the cfgBindings for
FormatParagraph. It creates a new key-set and writes the changes to user
config-keys.cfg in ~/.idlerc(the keybindings). Any changes made to
FormatParagraph in extension dialog(the
Roundup Robot added the comment:
New changeset f972583c7c4f by Serhiy Storchaka in branch '2.7':
Issue #23015: Improved testing of the uuid module.
https://hg.python.org/cpython/rev/f972583c7c4f
New changeset 3551dc8af54e by Serhiy Storchaka in branch '3.4':
Issue #23015: Improved testing of
Roundup Robot added the comment:
New changeset 9927781e457f by Serhiy Storchaka in branch '2.7':
Issue #22777: Test pickling with all protocols.
https://hg.python.org/cpython/rev/9927781e457f
New changeset 04c9fffde184 by Serhiy Storchaka in branch '3.4':
Issue #22777: Test pickling with all
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23015
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
resolution: - fixed
stage: patch review - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22777
___
Serhiy Storchaka added the comment:
I there are no objections I'm going to commit the patch soon.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22818
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22826
___
___
Serhiy Storchaka added the comment:
Ping.
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19858
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Ping.
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18473
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Ping.
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22783
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Ping.
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15513
___
___
Python-bugs-list
John Posner added the comment:
Kindly ignore message #2 on the Rietveld page (sorry for the channel noise).
Here's my suggested revision:
Return a copy of the string *str* in which each character has been mapped
through the given translation *table*. The table must be a subscriptable
object,
New submission from jan matejek:
The pep 476 commit to Python 2.7 [1] adds unconditional import ssl to
test_urllib2_localnet.py. This causes the test to fail with an ImportError if
ssl module is not built.
Note that like 5 lines later, ssl is imported conditionally, and all the
relevant
New submission from Joe Cabrera:
ConnectionError: ('Connection aborted.', BadStatusLine())
This error can also occur on Linux and Windows, a more descriptive error
messages would be useful for people trying to debug their code.
--
assignee: docs@python
components: Documentation
Roundup Robot added the comment:
New changeset ebe8917189a3 by Benjamin Peterson in branch '2.7':
remove extra ssl imports (closes #23053)
https://hg.python.org/cpython/rev/ebe8917189a3
New changeset 1da9e9eaeae8 by Benjamin Peterson in branch '3.4':
remove extra ssl imports (closes #23053)
R. David Murray added the comment:
I think you made a mistake in your copy and paste or retyping of that line,
since it is not valid python syntax.
What is not explicit about it? It is telling you there was a bad status line,
and what the bad status line contents was. (Used to be you
R. David Murray added the comment:
Perhaps part of your problem is that you are not getting the string
representation of the error message. Is that because of your code, or is this
representation something the stdlib is generating?
--
___
Python
STINNER Victor added the comment:
These character encodings are legacy, but are still used.
Do you have an idea of how many users still have documents stored or exchanged
using these encodings? The patch is not trivial, the legacy japanese codecs are
complex and so error prone :-/
For
STINNER Victor added the comment:
Thanks Martin for your change, I commited it.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22875
___
STINNER Victor added the comment:
Oops, I forgot to mention the issue number in my commit.
changeset: 93893:a59fed8c710b
branch: 3.4
parent: 93891:1da9e9eaeae8
user:Victor Stinner victor.stin...@gmail.com
date:Mon Dec 15 17:50:55 2014 +0100
files:
Demian Brecht added the comment:
+ loewis as he's listed as the xmlrpc expert
If you're worried about the number of lines, turn the function into a lambda:
proxy = ServerProxy('http://example.com/gateway/', transport=Transport(
connection_factory=lambda h: HTTPConnection(h,
STINNER Victor added the comment:
FYI I added a new test to the aiotest project (test suite for asyncio), for
this issue:
https://bitbucket.org/haypo/aiotest/commits/17dd11fc2f4bafad623f940b1a33a3b8b0d39ccd
--
___
Python tracker
New submission from Guido van Rossum:
Fix as reported by Guido Vranken on secur...@python.org, with minimal test by
me.
Needs:
- review
- port to 3.2--3.5
Questions:
- Does my test case cover all changed code?
--
assignee: gvanrossum
files: vranken.diff
keywords: needs review,
Tetsuya Morimoto added the comment:
These character encodings are legacy, but are still used.
Do you have an idea of how many users still have documents stored or
exchanged using these encodings?
Hmm, I guess iso-2022-jp codec is still default charset of MUA (Mail
User Agent) on Japanese
New submission from Gregory P. Smith:
$ cat test.py EOF
import tarfile
import sys
with tarfile.open(sys.argv[1], mode=r|*) as f:
while True:
info = f.next()
if not info:
break
EOF
$ tar cf test.tar -T /dev/null
$ python2.7 test.py test.tar
Traceback (most recent call last):
Samwyse added the comment:
Yes, it's based on a real-world need. I work for a Fortune 500 company and we
have an internal tool that exports CSV files using what I've described as the
QUOTE_NOTNULL rules. I need to create similar files for re-importation. Right
now, I have to post-process
Skip Montanaro added the comment:
If I understand correctly, your software needs to distinguish between
# wrote [foo, , 42, None] with quote_all in effect
foo,,42,
and
# wrote [foo, None, 42, ] with quote_nonnull in effect
foo,,42,
so you in effect want to transmit some type information
New submission from Andrew Svetlov:
See
http://stackoverflow.com/questions/27480967/why-does-the-asyncios-event-loop-suppress-the-keyboardinterrupt-on-windows
for details
--
components: asyncio
messages: 232678
nosy: asvetlov, gvanrossum, haypo, yselivanov
priority: normal
severity:
New submission from Rémi Rampin:
This works correctly on Python 3.4.
On Python 2.7, argparse seems to completely and silently ignore arguments in
some conditions, for instance this setup will cause --verbose to be ignored on
the main parser:
options =
New submission from Samwyse:
I've discovered that do_help method of cmd.Cmd prints the documented and
undocumented commands in sorted order, but does not sort the miscellaneous
topics. This would be an easy fix, just change
self.print_topics(self.misc_header, help.keys(),15,80) to use
Samwyse added the comment:
Skip, I don't have any visibility into how the Java program I'm feeding data
into works, I'm just trying to replicate the csv files that it exports as
accurately as possible. It has several other quirks, but I can replicate all
of them using Dialects; this is the
Rémi Rampin added the comment:
Interestingly, this worked before my upgrade 2.7.8 - 2.7.9.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23058
___
Berker Peksag added the comment:
The second patch raises RuntimeError: maximum recursion depth exceeded if the
target file is exist.
File /home/berker/projects/cpython/default/Tools/freeze/bkfile.py, line
18, in close
f.close()
RuntimeError: maximum recursion depth exceeded
STINNER Victor added the comment:
I refactored some parts of CJK codecs for performances, after the PEP 393
was implemented. A blocker point was that these codecs have very few tests.
Not for valid data but for invalid data. It may be a little bit better. I
tried to write a test for each path in
Martin v. Löwis added the comment:
Another traditional issue with Japanese codecs is that people have different
opinions on what the encoding should do. It may be that when we release the
codec, somebody comes up and says that the codec is incorrect, and it should do
something different for
Serhiy Storchaka added the comment:
Some examples (with issue19858 for protocol 4 optimization).
Unpatched:
len(pickle.dumps([P(12, 34) for i in range(1000)], 3))
17258
len(pickletools.optimize(pickle.dumps([P(12, 34) for i in range(1000)], 3)))
8018
len(pickle.dumps([P(i, -i) for i in
Serhiy Storchaka added the comment:
Good catch Berker. Updated patch fixes recursion issue.
--
Added file: http://bugs.python.org/file37456/bkfile3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22826
Roundup Robot added the comment:
New changeset 12ef799a9a51 by Zachary Ware in branch 'default':
Issue #21740: Fix module name in NEWS entry.
https://hg.python.org/cpython/rev/12ef799a9a51
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I have added a couple of comments. Here is a patch which fixes found bugs.
3.4+ is not affected by this bug. 3.2 looks same as 2.7 and is affected, 3.3
uses different code but at first glance looks affected too. Is it worth to fix
this bug in 3.2 and 3.3?
Guido van Rossum added the comment:
Thank you for digging into this! I'd say go ahead and update 3.2 and 3.3 too --
these are in security-fix-only mode meaning that we only fix security issues
and don't do actual releases. But we still do security bugfixes: for 3.2 until
February 2016 (PEP
Guido Vranken added the comment:
Serhiy Storchaka: good call on changing my 'n += (width + precision) 20 ? 20
: (width + precision);' into 'if (width precision) width = precision;', I
didn't realize that sprintf's space requirement entails using the largest of
the two instead of adding the
Guido Vranken added the comment:
I'd also like to add that, although I agree with Guido van Rossum that the
likelihood of even triggering this bug in a general programming context is low,
there are two buffer overflows at play here (one stack-based and one
heap-based), and given an
Aaron Hill added the comment:
I've fixed the issues you pointed out.
Is there a better way than uploading a new patch file to make changes?
--
Added file:
http://bugs.python.org/file37458/mock-open-allow-binary-without-coerce-fixup.patch
___
Python
Guido van Rossum added the comment:
I'd be much worried about attack scenarios if this function was part of the
standard library. But it's not -- the stdlib's % operator uses completely
different code. The most common use case is probably to generate error messages
from extension modules --
Martin Panter added the comment:
I’m largely happy with any of these revisions. If I end up doing another patch
I would omit the *str* (it is a class name, not a parameter). Also I would omit
the range(2^20) claim. Unless people think it is important; why is it different
to sys.maxunicode + 1
Martin Panter added the comment:
There could be potential for breaking compatibility if people are intentionally
sending values with folded lines (obsoleted by the new HTTP RFC).
Perhaps the same error should be raised for values that cannot be encoded in
Latin-1? Also, maybe most control
New submission from Steve Dower:
Currently, the implementation of __setstate__ at Lib/multiprocessing/heap.py:54
looks like this:
def __setstate__(self, state):
self.size, self.name = self._state = state
self.buffer = mmap.mmap(-1, self.size, tagname=self.name)
assert
Steve Dower added the comment:
A buildbot failure due to this can be seen here:
http://buildbot.python.org/all/builders/AMD64%20Windows8%203.x/builds/183/steps/test/logs/stdio
--
___
Python tracker rep...@bugs.python.org
Changes by Samwyse samw...@gmail.com:
--
title: sort misc help topics in cmd - cmd module should sort misc help topics
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23059
___
Eric Snow added the comment:
Thanks for bringing this up, Brett. The goal and approach seem good to me.
Did you bring this up during the PEP 451 discussions? If so, sorry I missed
it. You've made a good point. And hopefully this will encourage people to
subclass Loader more. :)
Eric Snow added the comment:
At some point should we make create_module (and exec_module) always required?
In other words, when should would drop the legacy loader support? I expect the
answer is Python 4. :)
--
___
Python tracker
Eric Snow added the comment:
Same here.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19698
___
___
Python-bugs-list mailing list
Unsubscribe:
Tetsuya Morimoto added the comment:
By error prone, it mean that it's easy to introduce a bug or a regression,
since the code is complex and almost nobody maintains it.
Indeed. Actually, I encountered some faults when I migrated original
patch. The character encoding is a kind of specialty
Ben Finney added the comment:
Is there room for a better resolution: fix the API so that Unicode objects are
accepted in the ‘fromlist’ items?
--
nosy: +bignose
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21720
Changes by Ben Finney ben+pyt...@benfinney.id.au:
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21720
___
___
Python-bugs-list mailing list
Unsubscribe:
Demian Brecht added the comment:
Thanks for the updated patch, looks good to me. If you haven't already read it,
the patch workflow is here: https://docs.python.org/devguide/patch.html and is
the only workflow currently available.
--
___
Python
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23004
___
___
Andrej A Antonov added the comment:
@demian.brecht , socket.setdefaulttimeout([timeout]) -- it is bad practice,
because setting this global varible we may spoil other cases. example TCP
keepalive [ s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, true) ]
and global variables is bad
Tetsuya Morimoto added the comment:
Another traditional issue with Japanese codecs is that people have different
opinions on what the encoding should do. It may be that when we release the
codec, somebody comes up and says that the codec is incorrect, and it should
do something different
Steve Dower added the comment:
This patch also resolves this test issue:
[ 68/390/2] test_ttk_textonly
test test_ttk_textonly crashed -- Traceback (most recent call last):
File D:\...\lib\test\regrtest.py, line 1280, in runtest_inner
test_runner()
File
New submission from Ian Lee:
Minor update pep8 to specify explicitly that Imports at top of file refers
specifically to module level imports, per input from Nick Coghlan @
https://github.com/jcrocholl/pep8/pull/304#issuecomment-66939162
--
assignee: docs@python
components:
Andrej A Antonov added the comment:
ok, let's go to other side of this problem:
question: why default transport (xmlrpc.client.Transport()) is not setting
value of timeout?``
answer: because *unknown* which value need to using by default.
in various cases programmer need various timeout.
Roundup Robot added the comment:
New changeset f70c16189876 by Steve Dower in branch 'default':
#22980 Adds platform and version tags to .pyd files
https://hg.python.org/cpython/rev/f70c16189876
--
nosy: +python-dev
___
Python tracker
Steve Dower added the comment:
Nobody seemed too bothered by it, so I committed a slightly simpler change that
only includes the most specific tag (that is, .cp35-win32.pyd or .pyd). We
can always add another tag easily enough if it seems useful, or roll this
change back if it was a mistake.
New submission from Martin Panter:
In Lib/test/test_argparse.py:
class TestHelpVersionOptional(HelpTestCase):
Test that the --version argument can be suppressed help messages
Assuming that the docstring means something like “. . . can be suppressed _in_
help messages”, the test is wrong,
Zachary Ware added the comment:
I don't know near enough to comment on this one. If you feel confident in it,
I'd say go ahead.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22733
___
Berker Peksag added the comment:
I think that your analysis is correct. Also, looks like the original test is
problematic:
https://code.google.com/p/argparse/source/browse/test/test_argparse.py#3710
Here is a patch to fix the test.
--
keywords: +patch
nosy: +berker.peksag, bethard,
Martin Panter added the comment:
Here is much larger patch in the spirit of Ryan’s, that fixes the
documentation, adjusts the tests, and some of the internal comments and
variable names in the source code as well. However if some changes are too
controversial, I am happy to simplify it to
Ned Deily added the comment:
Thanks, eryksun. Any objections to closing this issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22945
___
Changes by Ned Deily n...@acm.org:
--
nosy: +orsenthil -ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22912
___
___
Python-bugs-list
Changes by Ned Deily n...@acm.org:
--
nosy: -ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22672
___
___
Python-bugs-list mailing list
Terry J. Reedy added the comment:
When I alter an *extension* key binding (in the keys page of idle pref dialog),
the change shows up in .idlerc/config-extensions.cfg, not config-keys.cfg. For
instance,
[ZoomHeight_cfgBindings]
zoom-height = Control-Alt-Key-space
If I also disable
Demian Brecht added the comment:
socket.setdefaulttimeout([timeout]) -- it is bad practice
I'm not really arguing this. It solves the problem, but definitely not in the
best of ways. My point in referencing setdefaulttimeout is that if /all/ you
care about is the timeout and you're horribly
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +larry, lars.gustaebel, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23056
___
Andrej A Antonov added the comment:
if you NOT point timeout in RPC-client -- you program will freeze or will
maked resource leak (with small probability).
Assuming a lack of concurrency, your program will indeed freeze until the
system timeout has been reached. I'm not sure about a leak.
New submission from Marc Abramowitz:
`python setup.py check --restructuredtext --strict --metadata` fails with:
warning: check: Could not finish the parsing.
if the RST document uses `code` or `code-block` directives.
This is annoying because the document is valid, but it appears to be
78 matches
Mail list logo