paul j3 added the comment:
'sample3.py' contains a '_handle_conflict_parent' function.
With the help of a change in '_add_container_actions' it determines whether a
conflicting action occurs in multiple parsers (and argument_groups). If it
does, it deletes it from the correct group, without
R. David Murray added the comment:
I don't think we are going to support a timezone list like that without PEP 431.
You should attach your patch to a new issue. When I said this should the doc
issue, that is because only a doc fix is acceptable for 3.4. Adding more
timezones to recognize
Senthil Kumaran added the comment:
Reviewed the patch. Looks good to go.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22420
___
New submission from Jack O'Connor:
The following test script prints a KeyboardInterrupt traceback (expected), but
also an AttributeError traceback (unexpected):
import asyncio
@asyncio.coroutine
def main():
raise KeyboardInterrupt
asyncio.get_event_loop().run_until_complete(main())
Senthil Kumaran added the comment:
The patch looks good. Yeah, wsgiref server will see the benefiting of rejecting
long url with 414.
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22419
Roundup Robot added the comment:
New changeset 7a4d960fc801 by Senthil Kumaran in branch '2.7':
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to
65536 bytes.
https://hg.python.org/cpython/rev/7a4d960fc801
New changeset a4e0aee1a9b5 by Senthil Kumaran in branch
Senthil Kumaran added the comment:
Thanks, fixed in all versions applicable for security release.
--
assignee: - orsenthil
resolution: - fixed
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Senthil Kumaran sent...@uthcode.com:
--
versions: +Python 2.7, Python 3.3, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22419
___
Serhiy Storchaka added the comment:
This patch has a disadvantage - it slows down case-insensitive compiling of
some very wide ranges, e.g. compile(r[\x00-\U0010]+, re.I) (this is worst
case). In most cases this is not important, because such wide ranges are rare
enough and compiled
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com:
--
nosy: +josh.rosenberg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22427
___
___
Changes by Senthil Kumaran sent...@uthcode.com:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22417
___
___
Python-bugs-list
Frank Thommen added the comment:
strace gives me the error:
unlink(/mnt/tmpu817xz) = -1 EIO (Input/output error)
But after escalating the issue to our server vendor it turned out that the
problem lies in the filesystem option nbmand. If this option is set to on
- which it seems to be by
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22427
___
___
Python-bugs-list
STINNER Victor added the comment:
unlink(/mnt/tmpu817xz) = -1 EIO (Input/output error)
If a system call can fail with EIO, I guess that not only Python is affected,
by *any* program. So I don't see why Python should have a special case for
broken filesystems.
I close the issue as not a
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: KeyboardInterrupt inside a coroutine causes AttributeError - asyncio:
KeyboardInterrupt inside a coroutine causes AttributeError
___
Python tracker rep...@bugs.python.org
Nick Coghlan added the comment:
Retitled the issue and made it depend on issue 9951.
I now think it's better to tackle this more like strftime and have a method
that accepts of particular custom formatting mini-language (in this case, the
new hex() methods proposed in issue 9951), and then
Nick Coghlan added the comment:
python-ideas post with a sketch of a possible mini-language:
https://mail.python.org/pipermail/python-ideas/2014-September/029352.html
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22385
New submission from STINNER Victor:
Attached script stops immediatly whereas I would expect that the second call to
run_forever() keeps running. If you execute the script, you will see:
deque([Handle _raise_stop_error() at
/home/haypo/prog/python/default/Lib/asyncio/base_events.py:94])
The
STINNER Victor added the comment:
I see different issues in your example:
* If the coroutine raises an exception which doesn't inherit from Exception
(but inherits from BaseException), run_until_complete() doesn't consume the
exception from the temporary task object
=
STINNER Victor added the comment:
On Python 3.5 compiled in debug mode (or probably with python -Wd when compiled
in release mode), I got this warning:
/home/haypo/prog/python/default/Lib/tempfile.py:708: ResourceWarning:
Implicitly cleaning up TemporaryDirectory '/tmp/tmpcr8u3m8v'
New submission from diff 812:
only ./configure --prefix=/usr is running
--
components: Build
files: configure.log
messages: 226997
nosy: diff.812
priority: normal
severity: normal
status: open
title: Build failure if configure flags --prefix or --exec-prefix is set
versions: Python 2.7
diff 812 added the comment:
make command
--
Added file: http://bugs.python.org/file36639/make.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22430
___
diff 812 added the comment:
make without --prefix key
--
Added file: http://bugs.python.org/file36640/make_ok.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22430
___
New submission from Philipp Metzler:
Can I change the test runner output format to
main.tests.tests.TimeSlotTestCase.test_creation ... ERROR
instead of
test_creation (main.tests.tests.TimeSlotTestCase) ... ERROR
so that I can easily just copypaste that line and run the test again without
having
R. David Murray added the comment:
I remember this feature being requested before (I vote +1 myself :), and I
believe I recall a conversation involving Michael Foord where he approved it in
principle, but I can't find an open issue for it. As a new feature it can only
go into 3.5, and would
New submission from Mark Wieczorek:
Hi,
I just wanted to let you know of a bug that is related to the function crypt
in osx (10.9.4). I have tried the default osx version of python (2.75), the
brew version (2.7.8), and the macports version (2.7.7).
In short, the command
python -c 'import
Geoffrey Spear added the comment:
The same behavior exists in Python 3, however, I'm not sure it's a bug. The
documentation says The characters in salt must be in the set [./a-zA-Z0-9].
Presumably the behavior when there is a $ in the salt is undefined by Python,
and different on different
Mark Wieczorek added the comment:
It actually doesn't even matter what you use for salt. If you change salt,
you get the same hash. That is bug #2 !
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22432
Geoffrey Spear added the comment:
This is actually the expected behavior of crypt(3) on OS X. It doesn't support
the $id$ modular format, and if the salt does not begin with an underscore only
the first 2 bytes are used (presumably in your bug #2 you're changing parts
of the salt beyond the
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
resolution: - not a bug
stage: - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22432
Jack O'Connor added the comment:
My example script is definitely a corner case, but where this actually came up
for me was in asyncio. Using a TemporaryDirectory inside a coroutine creates a
similar situation.
--
___
Python tracker
New submission from Денис Кореневский:
Argparse version 1.1 consider ANY unknown argument string containig ' ' (space
character) as positional argument. As a result it can use such unknown optional
argument as a value of known positional argument.
Demonstration code:
import argparse
parser =
New submission from Serhiy Storchaka:
Regular expression parser parses a pattern to a tree, marking nodes by string
identifiers. Regular expression compiler converts this three into plain list of
integers. Node's identifiers are transformed to sequential integers. Resulting
list is not human
Денис Кореневский added the comment:
I've signed 'Contributor's Agreement'.
Bug demonstration code listed in issue description is in file attached to
comment.
It can be run with following command:
python argparse_bug_example.py
--
Added file:
Guido van Rossum added the comment:
Love it!
--
nosy: +gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22434
___
___
Python-bugs-list
Ned Deily added the comment:
It is difficult to tell what the problem you encountered here is without more
information. Python is supported on many different platforms and regularly
built with --prefix being set. To investigate further, you would need to
indicate exactly which version of
Serhiy Storchaka added the comment:
Here is a patch which may fix this issue.
--
keywords: +patch
nosy: +pitrou, serhiy.storchaka
stage: - patch review
versions: +Python 3.5
Added file: http://bugs.python.org/file36644/tempfile_exit_on_shutdown.patch
Serhiy Storchaka added the comment:
Here is alternative patch. It simplifies TemporaryDirectory instead of
complicate it.
--
Added file: http://bugs.python.org/file36645/tempfile_exit_on_shutdown2.patch
___
Python tracker rep...@bugs.python.org
ingrid added the comment:
This seems to be caused by a bug in TurtleScreen.update/turtle._drawturtle.
When the speed is set to zero, the tracer method is used to regulate drawing
circles, and when called with a positive integer, tracer calls update. Update
iterates over the list of existing
STINNER Victor added the comment:
fix_tests.patch: Fix the 7 tests which create files without removing them. 4
tests (test_imp, test_pdb, test_source_encoding and test_support) create a
__pycache__ directory. Maybe this directory should be ignored by regrtest?
--
Added file:
STINNER Victor added the comment:
Buildbots are happy, I close the issue.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22043
___
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22431
___
___
Python-bugs-list
New submission from Martin Panter:
Bind method may easily fail on Unix if there is no permission to bind to a
privileged port:
try: TCPServer((, 80), ...)
... except Exception as err: err
...
PermissionError(13, 'Permission denied')
gc.collect()
__main__:1: ResourceWarning: unclosed
Roundup Robot added the comment:
New changeset 8adb2c6e0803 by Antoine Pitrou in branch '3.4':
Issue #4180: The warnings registries are now reset when the filters are
modified.
https://hg.python.org/cpython/rev/8adb2c6e0803
New changeset 4bc60eb68d3e by Antoine Pitrou in branch 'default':
Antoine Pitrou added the comment:
Ok, this is pushed to 3.x.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4180
Antoine Pitrou added the comment:
Pushed after applying Serhiy's suggestion. Thank you!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11471
___
Roundup Robot added the comment:
New changeset c0ca9d32aed4 by Antoine Pitrou in branch 'default':
Closes #11471: avoid generating a JUMP_FORWARD instruction at the end of an
if-block if there is no else-clause.
https://hg.python.org/cpython/rev/c0ca9d32aed4
--
nosy: +python-dev
Roundup Robot added the comment:
New changeset ab369d809200 by Berker Peksag in branch 'default':
Issue #21391: Use os.path.abspath in the shutil module.
https://hg.python.org/cpython/rev/ab369d809200
--
nosy: +python-dev
___
Python tracker
Berker Peksag added the comment:
Done. Thanks for the reviews!
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21391
Roundup Robot added the comment:
New changeset 713ee49ec3ba by Berker Peksag in branch 'default':
Issue #21706: Add a versionchanged directive to the functional API docs.
https://hg.python.org/cpython/rev/713ee49ec3ba
--
___
Python tracker
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: - patch review
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14824
___
Roundup Robot added the comment:
New changeset e9968782c9ba by Berker Peksag in branch '3.4':
Issue #14824: Update Repr.repr_TYPE documentation to use correct name mangling
implementation.
https://hg.python.org/cpython/rev/e9968782c9ba
New changeset a0372781eafb by Berker Peksag in branch
Berker Peksag added the comment:
I don't know why we would ever have a space in a typename, ever (and if
someone does awful hacks to get to that state, he should probably also do
awful hacks to make reprlib work properly).
That part of the code has been added 22 years ago:
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16827
___
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16827
___
___
Berker Peksag added the comment:
Thanks for the patch, James. Did you see my review comments on Rietveld? Please
see at http://bugs.python.org/review/16827/#ps11699
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16827
Changes by Berker Peksag berker.pek...@gmail.com:
--
stage: - needs patch
type: - behavior
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19690
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22399
___
___
Berker Peksag added the comment:
The latest patch LGTM.
--
nosy: +berker.peksag
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21397
___
Martin Panter added the comment:
My original demonstration was distilled from a real world case. I get this
issue with other real world cases too, so I am expanding the title to reflect
what I think is going on. This problem seems to be caused by a ResourceWarning
triggered from a garbage
Georg Brandl added the comment:
The anchor for dict is on the standard types page:
https://docs.python.org/2/library/stdtypes.html#dict
You'll have to use :class: not :func: to get it linked.
--
resolution: - works for me
status: open - closed
___
61 matches
Mail list logo