Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Added file: http://bugs.python.org/file37988/issue6634_py35.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
___
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Removed file: http://bugs.python.org/file37986/issue6634_py35.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
___
STINNER Victor added the comment:
I'm using Fedora 21 with gdb 7.8.2-38.fc21 on x86_64. With the development 2.7
branch, test_gdb pass here. How did you get Python 2.7.9? What is your gdb
version?
--
nosy: +haypo
___
Python tracker
Stefan Krah added the comment:
Ah yes, it seems to originate from #3139.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23376
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
versions: +Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5945
___
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Removed file: http://bugs.python.org/file19006/thread_sys_exit_test.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
___
Stefan Krah added the comment:
Well, here's a patch with tests.
Victor, I think you added the contiguity test in 9d49b744078c. Do you
remember why?
--
Added file: http://bugs.python.org/file37987/issue23376-2.diff
___
Python tracker
Jan-Philip Gehrcke added the comment:
For Python 3.5, I have attached a patch that
- adds relevant test cases to test_threading.py which probe
the interpreter's stderr output for compliance with what
the docs state.
- makes sys.exit(msg) write msg to stderr, even if called
Antoine Pitrou added the comment:
PEP is now updated.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23285
___
___
Python-bugs-list mailing list
Changes by Charles-François Natali cf.nat...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23351
___
___
STINNER Victor added the comment:
Victor, I think you added the contiguity test in 9d49b744078c. Do you
remember why?
I don't understand the change like that. The call to
PyBuffer_IsContiguous(view, 'C') was older than this changeset.
--
___
Raúl Cumplido added the comment:
From your question, yes I have completed the form.
I've added a new patch just with the documentation change and changing the
output from the help command as it was wrong. If it doesn't make sense do let
me know. I've done it from 3.4
--
Added file:
Joshua Landau added the comment:
I don't know the etiquette rules for the issue tracker, but I'd really
appreciate having something to debug -- it's working for me, you see.
--
___
Python tracker rep...@bugs.python.org
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Removed file: http://bugs.python.org/file37988/issue6634_py35.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
___
Thomas Kluyver added the comment:
Third version of the patch (subprocess_run3):
- Simplifies the documentation of the trio (call, check_call, check_output) to
describe them in terms of the equivalent run() call.
- Remove a warning about using PIPE with check_output - I believe this was
Ethan Furman added the comment:
Thanks, Terry! I'll do that next time -- after I make sure and re-compile. :/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Removed file: http://bugs.python.org/file37983/issue6634_py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
___
Vinson Lee added the comment:
I downloaded Python 2.7.9 release tarball from
https://www.python.org/downloads/release/python-279.
$ gdb --version
GNU gdb (GDB) Fedora 7.8.2-38.fc21
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
Armin Rigo added the comment:
Converted the test into an official test, which fails; and wrote the patch for
CPython 3.trunk and for CPython 2.7. Please review and commit.
--
keywords: +needs review -patch
stage: needs patch - patch review
___
Ethan Furman added the comment:
Argh -- I applied the patch, but didn't recompile. Doing that now...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
Roundup Robot added the comment:
New changeset 5c730d30ffbc by Benjamin Peterson in branch '3.3':
reduce memory usage of test (closes #23369)
https://hg.python.org/cpython/rev/5c730d30ffbc
--
status: open - closed
___
Python tracker
Benjamin Peterson added the comment:
lgtm
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23366
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 356ed025dbae by Serhiy Storchaka in branch '3.3':
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
https://hg.python.org/cpython/rev/356ed025dbae
New changeset 98c720c3e061 by Serhiy Storchaka in branch '3.4':
Issues #23363,
New submission from Vinson Lee:
Python 2.7.9+ test_gdb regressed on Ubuntu 10.04.
063d966b78f0c0b7cf4c937991bf883c563f574e is the first bad commit
commit 063d966b78f0c0b7cf4c937991bf883c563f574e
Author: Serhiy Storchaka storch...@gmail.com
Date: Sat Jan 31 11:48:36 2015 +0200
Issue
Martin Panter added the comment:
New patches look fine. BTW SystemExit.code is also documented at
https://docs.python.org/dev/library/exceptions.html#SystemExit.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
Jan-Philip Gehrcke added the comment:
Regarding the documentation patch: I like to start sentences
with a capital letter. Perhaps change it to start
“Calling :func:`exit` only terminates . . .”.
Thanks for feedback. Have now used Invocation of to not repeat call*
in the sentence,
Terry J. Reedy added the comment:
Upload a .txt file if there is really too much for a message.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2292
___
Vinson Lee added the comment:
Python 2.7.9+ test_gdb passes on Fedora 21 with the latest 2.7 branch.
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23380
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Added file: http://bugs.python.org/file37990/issue6634_py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6634
___
Changes by Armin Rigo ar...@users.sourceforge.net:
Added file: http://bugs.python.org/file37993/fix-weakvaluedict-2.7.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19542
___
Changes by Armin Rigo ar...@users.sourceforge.net:
--
keywords: +patch
Added file: http://bugs.python.org/file37992/fix-weakvaluedict.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19542
Roundup Robot added the comment:
New changeset 1da9630e9b7f by Serhiy Storchaka in branch '3.4':
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
https://hg.python.org/cpython/rev/1da9630e9b7f
New changeset 2e684ce772de by Serhiy Storchaka in branch 'default':
Issue
Roundup Robot added the comment:
New changeset e62d54128bd3 by Serhiy Storchaka in branch '3.4':
Issue #23099: Closing io.BytesIO with exported buffer is rejected now to
https://hg.python.org/cpython/rev/e62d54128bd3
--
nosy: +python-dev
___
Python
Roundup Robot added the comment:
New changeset 356ed025dbae by Serhiy Storchaka in branch '3.3':
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
https://hg.python.org/cpython/rev/356ed025dbae
New changeset 98c720c3e061 by Serhiy Storchaka in branch '3.4':
Issues #23363,
Roundup Robot added the comment:
New changeset 356ed025dbae by Serhiy Storchaka in branch '3.3':
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
https://hg.python.org/cpython/rev/356ed025dbae
New changeset 98c720c3e061 by Serhiy Storchaka in branch '3.4':
Issues #23363,
Roundup Robot added the comment:
New changeset 356ed025dbae by Serhiy Storchaka in branch '3.3':
Issues #23363, #23364, #23365, #23366: Fixed itertools overflow tests.
https://hg.python.org/cpython/rev/356ed025dbae
New changeset 98c720c3e061 by Serhiy Storchaka in branch '3.4':
Issues #23363,
STINNER Victor added the comment:
Do you have unit test with non contiguous buffers? If not, it would help to
have such buffer in _testcapi.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23376
Stefan Krah added the comment:
Yes, _testbuffer.ndarray can create any buffer.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23376
___
___
STINNER Victor added the comment:
Yes, _testbuffer.ndarray can create any buffer.
Cool. So could you please add non regression tests to test_w_star() of
test_getargs2?
Other formats expect a contiguous buffer: 'y*', 's*', 'z*'.
Formats which convert a buffer: 'y', 's#', 'z#.
--
Stefan Krah added the comment:
A unit test would not be so helpful. The potential problem is that
third party extensions with broken getbufferprocs would suffer.
But at some point we have to streamline PEP-3118 code, or it
will remain inscrutable forever. Extension writers often copy
code
Serhiy Storchaka added the comment:
In any case we need a hack in 3.4. Let open new issue for adding
PyMemoryView_FromObjectEx() or like.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22896
STINNER Victor added the comment:
Added tests (hope is what you expect) and changed some bits on the test file
to be pep8 comliant.
Nooo, please don't change two things in same patch: open a new issue for your
PEP 8 changes.
--
___
Python
New submission from Stefan Krah:
The call to PyBuffer_IsContiguous() (see patch) is redundant:
PyBUF_WRITABLE is a flag that can be added to any buffer request.
The real request here is (PyBUF_SIMPLE|PyBUF_WRITABLE), which is
equal to PyBUF_WRITABLE since PyBUF_SIMPLE==0.
PyBUF_SIMPLE implies
Martin Panter added the comment:
Looking at test_io.BufferedReaderTest.test_read_non_blocking(), at
Lib/test/test_io.py:1037, there are explicit tests for ‘peek(1) == b ’ and
‘read() is None’. The peek() test was added in revision 3049ac17e256, in 2009
(large merge of “io” implementation in
Serhiy Storchaka added the comment:
I think memoryview(bytearray)[::2] provides non contiguous buffers. But I'm not
sure this is tested.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23376
New submission from the mulhern:
As well as the append action it would be convenient for there to be an extend
action.
This is kind of useful to allow something like:
parser.add_argument(--foo, action=extend, nargs=+, type=str)
given
parser.parse_args(--foo f1 --foo f2 f3 f4.split())
to
Changes by koobs koobs.free...@gmail.com:
--
nosy: +koobs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10910
___
___
Python-bugs-list mailing
Serhiy Storchaka added the comment:
\u*((2**32)//6 + 1) is calculated at compile time. This requires much
memory and can cause swapping. May be this was a cause of failing tests on some
buildbots:
Stefan Krah added the comment:
Thanks. No, I don't think there's an official way to accomplish that,
but let's create one. How about a new function that takes the buffer
request flags:
PyMemoryView_FromObjectEx(exporter, PyBUF_SIMPLE|PyBUF_WRITABLE)
If we can spare a new format code,
STINNER Victor added the comment:
A unit test would not be so helpful. The potential problem is that
third party extensions with broken getbufferprocs would suffer.
I don't understand the link between third party extensions and
test_getargs2. test_getargs2 is a unit test for non-regression of
New submission from Martin Panter:
This is the same issue raised at https://bugs.python.org/issue4879#msg91597.
Currently, every time a new response is to be received, HTTPConnection passes
its raw socket object to HTTPResponse, which calls sock.makefile(rb) and
creates a BufferedReader. The
Martin Panter added the comment:
Opened Issue 23377 for the problem of dropping extra buffered data at the end
of a response.
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4879
Jan-Philip Gehrcke added the comment:
Windows is the only Python-supported platform where utime did not work for
directories, ages ago, right?
If that is the case, I support Larry Hastings' approach of removing the entire
sentence:
Whether a directory can be given for path depends on whether
Vinay Sajip added the comment:
I will add to the documentation, and leave this issue open till I've done that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23357
___
Raúl Cumplido added the comment:
thanks for the comments.
@haypo I'll add a new one for the pep8 fixes, sorry.
@vinay.sajip I would like to help and try to do the change myself, if this is
ok with you
--
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23321
___
STINNER Victor added the comment:
I closed the issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23321
___
___
Python-bugs-list mailing list
Mark Shannon added the comment:
This is caused by https://hg.python.org/cpython/rev/7c5c678e4164/
which is a supposed fix for http://bugs.python.org/issue16795
which claims to make some changes to AST to make it more useful for static
language analysis, seemingly by breaking all existing static
Martin Panter added the comment:
You’re welcome to merge my test patch into yours if you want to. Or I could
open a separate issue for it, I don’t mind.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23255
Changes by Stefan Krah ste...@bytereef.org:
--
nosy: skrah
priority: normal
severity: normal
status: open
title: getargs.c: redundant C-contiguity check
type: performance
versions: Python 3.5
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
Before doing more study on the other variants, I would like to get the second
transformation done (avoiding the mask computation in the case where there is
no wrap-around). Attaching a patch for just that step.
--
Added file:
Larry Hastings added the comment:
I'm not sure we support 2.7 supports any versions of Windows earlier than XP.
If so, we could drop the provision entirely.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
STINNER Victor added the comment:
I reopen the issue, so the question of porting the change to Python 2.7 can be
replied.
--
nosy: +steve.dower
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
Mark Shannon added the comment:
It is now very hard to determine accurate locations for an expression such as
(x+y).attr as the column offset of leftmost subexpression of the expression is
not the same as the column offset of the location.
--
___
Robert Collins added the comment:
I wonder if you could add this to the new code in
http://bugs.python.org/issue17911 which I'm hoping to commit this week.
--
nosy: +rbcollins
___
Python tracker rep...@bugs.python.org
Josh Rosenberg added the comment:
The thread and dummy_thread modules have a leading underscore in Py3.4, but the
same naming issue is present there as well.
--
nosy: +josh.r
___
Python tracker rep...@bugs.python.org
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file37979/issue20709_py27.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
Serhiy Storchaka added the comment:
There are few levels of this issue:
1) pydoc doesn't escape characters according to output encoding. It escapes
characters uneencodable with sys.getfilesystemencoding(), but this encoding can
differ from the encoding of sys.stdout or default encoding.
2)
Benjamin Peterson added the comment:
People pointed out in #21295 that this made some things that were possible
before impossible, so the lineno and col_offset changes of this have been
reverted.
--
___
Python tracker rep...@bugs.python.org
Mark Shannon added the comment:
This also breaks the col_offset for subscripts like x[y] and, of course any
statement with one of these expressions as its leftmost sub-expression.
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 7d1c32ddc432 by Benjamin Peterson in branch '3.4':
revert lineno and col_offset changes from #16795 (closes #21295)
https://hg.python.org/cpython/rev/7d1c32ddc432
New changeset 8ab6b404248c by Benjamin Peterson in branch 'default':
merge 3.4
Roundup Robot added the comment:
New changeset 7d1c32ddc432 by Benjamin Peterson in branch '3.4':
revert lineno and col_offset changes from #16795 (closes #21295)
https://hg.python.org/cpython/rev/7d1c32ddc432
--
___
Python tracker
Tim Golden added the comment:
Fine by me
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jan-Philip Gehrcke jgehr...@gmail.com:
Added file: http://bugs.python.org/file37980/issue20709_tip.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
___
Jan-Philip Gehrcke added the comment:
I have added patches for the documentation, where I removed the sentence in
question and re-wrapped the paragraph.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20709
Serhiy Storchaka added the comment:
Agree, applying simple steps one by one would be more robust. How large the
benefit, do you have any timing results?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23359
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: Run python with restricted rights - [IDLE/Windows] Run python with
restricted rights
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23337
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23365
___
___
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2786
___
___
Python-bugs-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23364
___
___
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/issue23099
___
Roundup Robot added the comment:
New changeset b9d4c013b09a by Serhiy Storchaka in branch 'default':
Issue #23099: Closing io.BytesIO with exported buffer is rejected now to
https://hg.python.org/cpython/rev/b9d4c013b09a
--
___
Python tracker
Serhiy Storchaka added the comment:
Thanks Antoine and Stefan for your reviews.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22896
Martin Panter added the comment:
I’m adding nonblock-none.patch, which changes all the simple buffered read
methods to return None when there is no non-blocking data available. I’d be
interested to see if other people thought this was a sensible change.
* Documented existing behaviour of C
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/issue23366
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23363
___
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23254
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
And this means that this test (and other tests with the bigaddrspacetest
decorator) is not executed on any of our buildbots. It skipped on 64-bit
builders and 32-bit builders ran tests without the -M2G option.
--
Serhiy Storchaka added the comment:
And with this patch an OverflowError in tests should be replaced with
(OverflowError, MemoryError). Updated patch also fixes other bugs in itertools
tests.
--
resolution: fixed -
stage: resolved - patch review
Added file:
Roundup Robot added the comment:
New changeset 0b3bc51341aa by Raymond Hettinger in branch 'default':
Issue 23359: Tighten inner search loop for sets (don't and-mask every entry
lookup).
https://hg.python.org/cpython/rev/0b3bc51341aa
--
nosy: +python-dev
Serhiy Storchaka added the comment:
Oh, and actually the test is wrong. It fails on 32-bit with -M2G. Should be:
-with self.assertRaises(OverflowError):
-product([a]*(2**16), repeat=2**16)
+with self.assertRaises((OverflowError, MemoryError)):
+
Serhiy Storchaka added the comment:
I can't reproduce the failure on Linux.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23375
___
___
Jan-Philip Gehrcke added the comment:
For Python 2.7, we will not change behavior, even if unexpected. Instead, the
sys.exit-docs should be adjusted and
- warn about the fact that nothing is written to stderr
if sys.exit(msg) gets called from a non-primary thread, and
- note
Ethan Furman added the comment:
Tried running tests, tests that failed with patch:
test_ast
test_collections
test_extcall
test_grammar
test_importlib
test_parser
test_syntax
test_unpack_ex
test_zipfile
Running Ubuntu 13.04 (GNU/Linux 3.8.0-22-generic
Martin Panter added the comment:
Regarding the documentation patch: I like to start sentences with a capital
letter. Perhaps change it to start “Calling :func:`exit` only terminates . . .”.
With the code change patch, it might be neater to use the SystemExit.code
attribute rather than
Changes by Stefan Krah ste...@bytereef.org:
--
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23352
___
Stefan Krah added the comment:
Nice patch. I've found one issue (see Rietveld). I'm not sure
about 3.4 (the patch contains minor refactorings), but otherwise
I'd say go ahead with it.
--
___
Python tracker rep...@bugs.python.org
Steve Dower added the comment:
Looks like a test ordering issue. When test_imageop runs before test_py3kwarn,
the warning has presumably already been shown once and so isn't triggered when
the test is looking for it (compare build 3092 linked above with 3093, which
passed).
I haven't looked
Roundup Robot added the comment:
New changeset 2cd6621a9fbc by Victor Stinner in branch '3.4':
Issue #23353, asyncio: Workaround CPython bug #23353
https://hg.python.org/cpython/rev/2cd6621a9fbc
--
___
Python tracker rep...@bugs.python.org
New submission from Jonathan Sharpe:
For example, the link to PEP-340 in PEP-343 points to
https://www.python.org/dev/peps/pep-0343/pep-0340.html rather than
https://www.python.org/dev/peps/pep-0340/ and the link to PEP-288 from PEP-340
points to
1 - 100 of 110 matches
Mail list logo