Changes by Jérémie Detrey jeremie.det...@loria.fr:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20581
___
___
Serhiy Storchaka added the comment:
Here is a patch which implements Richard's suggestion: _active now contains
pid-s instead of Popen instances. But this doesn't fix this issue. Patches for
issue19255 and issue12085 fixes it.
--
Added file:
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
type: - behavior
versions: +Python 3.4 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12085
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1573931
___
___
Python-bugs-list mailing
R. David Murray added the comment:
I don't think we should document it as deprecated except in What's New. But a
code deprecation in 3.4 would be a good idea.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20572
Michiel added the comment:
Hey Peter,
Cool, thanks for the feedback!
Looks like my email replies didn't get attached to the bug tracker..
I've just signed the form.
Regarding the .broadcast* question, I think that's probably best handled in a
separate issue, but I think there are two other
R. David Murray added the comment:
I don't think you can successfully use the no-argument version of super in this
context. The no-argument form depends on compile-time magic, and you are
mucking about with what object is what during the compilation phase.
But I'm no expert on how super
New submission from Roy Smith:
http://docs.python.org/2/library/socket.html
The description for getnameinfo() says, ... Depending on the settings of
flags, the result can contain a fully-qualified domain name or numeric address
representation in host., but does not say what to pass for flags
R. David Murray added the comment:
Like the other socket functions, you have to look it up in the man page. A
number of the other functions that take a flag argument mention this in their
description, so a similar mention should be added to the getnameinfo entry.
--
nosy:
Larry Hastings added the comment:
My suggestion for documenting it was to document the fact that it's
unsupported, unrecommended, deprecated, has poor semantics, etc. If a user
discovers it, and finds it's not documented, they'll probably think they can
get away with using it. If we
Roy Smith added the comment:
What might make sense is for all of those, document the function call as taking
native_flags (or something like that), with a single note at the top of the
page saying, native_flags means look up the specific values in the man page
and link to that note each time
New submission from Serhiy Storchaka:
Underscored parameters of functions sometimes are used for different purposes.
For example see random.Random.randrange(), subprocess.Popen.__del__() or
codecs.CodecInfo.__new__(). These parameters are not a part of public API and
should be excluded from
R. David Murray added the comment:
I thought about that, but different functions refer to different man pages, and
it isn't always obvious from the function name which one.
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
This is not universally true. Both namedtuple (for good reason) and email (for
not-so-good reasons) have _ parameters that are part of the public API.
--
nosy: +r.david.murray
___
Python tracker
Changes by Guido van Rossum gu...@python.org:
--
nosy: -gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4356
___
___
Python-bugs-list
Serhiy Storchaka added the comment:
Here is backported to 3.3 patch. It includes:
1. Operates not with sys.modules['builtins'].__dict__ and
sys.modules['sys'].__dict__, but with cached interp-builtins and
interp-sysdict, because sys.modules['builtins'] and sys.modules['sys'] can be
changed,
Serhiy Storchaka added the comment:
They can be explicitly mentioned in docstrings.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20583
___
___
Antoine Pitrou added the comment:
I'm not convinced this should be backported. It's always a bit risky to change
interpreter shutdown, and it fixes an issue which has been well-known (and
worked around) for many years.
--
___
Python tracker
Roundup Robot added the comment:
New changeset 6a1711c96fa6 by Serhiy Storchaka in branch 'default':
Issue #19255: The builtins module is restored to initial value before
http://hg.python.org/cpython/rev/6a1711c96fa6
--
nosy: +python-dev
___
Python
Serhiy Storchaka added the comment:
I agree that it is risky and don't insist. We can return to this patch when
encounter more serious bug.
Last commit breaks test_create_at_shutdown_without_encoding in test_io for
Python implementation of io.
This happens because Python implementation of
Antoine Pitrou added the comment:
This happens because Python implementation of TextIOWrapper.__init__()
imports the locale module if encoding is not specified. Then
_find_spec() in Lib/importlib/_bootstrap.py iterates sys.meta_path,
but meta_path is one of names cleared in sys in
Roundup Robot added the comment:
New changeset fa160c8145e5 by Serhiy Storchaka in branch 'default':
Temporary silence test broken by issue19255.
http://hg.python.org/cpython/rev/fa160c8145e5
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 734da14489c1 by Serhiy Storchaka in branch '2.7':
issue12085: Use more Pythonic way to check _child_created.
http://hg.python.org/cpython/rev/734da14489c1
New changeset 79a6300f6421 by Serhiy Storchaka in branch '3.3':
issue12085: Use more Pythonic
Serhiy Storchaka added the comment:
I excluded from patches caching of SubprocessError and OSError, because it
shouldn't be an issue after committing issue19255. I also removed caching of
_active because it is explicitly checked for None and it is set to None on
shutdown with a purpose.
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6815
___
___
New submission from Jan-Philip Gehrcke:
On FreeBSD, signal.NSIG is smaller than what the documentation promises: One
more than the number of the highest signal number.
On Linux, the highest numerical signal value is smaller/equal signal.NSIG
(expected behavior):
import signal
signals = [s
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19856
___
STINNER Victor added the comment:
Ok, I reproduced the issue on my Windows 7 after enabling HPET:
== CPython 3.4.0b3+ (default:1b96d08c3895, Feb 10 2014, 18:44:24) [MSC v.1600 32
bit (Intel)]
== Windows-7-6.1.7601-SP1 little-endian
[1/1] test_asyncio
test_timeout_rounding
STINNER Victor added the comment:
On the same Windows 7 virtual machine, but with HPET disabled, the test pass.
[1/1] test_asyncio
test_timeout_rounding (test.test_asyncio.test_events.ProactorEventLoopTests) ...
GetQueuedCompletionStatus(2 ms)-None took 4.350 ms (monotonic: 16.000 ms)
Roundup Robot added the comment:
New changeset 20dc8d6430eb by Victor Stinner in branch 'default':
Issue #20505: Use even shorter sleep in test_timeout_rounding() to make the
http://hg.python.org/cpython/rev/20dc8d6430eb
--
___
Python tracker
STINNER Victor added the comment:
Here is clock_resolution.patch: reintroduce the old granularity but only use
the resolution of the clock (expect the selector to round away from zero).
clock_resolution.patch fixes test_timeout_rounding() on my Windows 7 with HPET
enabled, even with my more
Guido van Rossum added the comment:
How do you know that the timer used by the select/poll/etc. call has the same
resolution?
The variable 'now' should probably be given a more suitable name.
Can the clock resolution be zero? If not, I recommend adjusting the comparisons
so that an event
New submission from Andrew Gross:
In the latest OSX, 10.9, it looks like there have been some security changes
related to inheriting file descriptors from parent to child processes. While
in the past it would allow you to inherit the parents open FDs, now it will
kill the process.
It looks
Serhiy Storchaka added the comment:
Changes for _SimpleBinder.__del__ look doubtful. Any TclError exception is
suppressed and if statement does nothing. Perhaps you forgot else: raise?
And may be in other places too.
--
___
Python tracker
Andrew Gross added the comment:
For some additional context on how I came across this bug, check out
https://github.com/coderanger/pychef/issues/29
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20585
Serhiy Storchaka added the comment:
No, in 2.7 varname converter doesn't accept unicode.
Good catch Christian.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
keywords: +needs review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17671
___
New submission from Zachary Ware:
Builtins with a valid signature embedded in the docstring, but with no other
docstring content are not picked up by the __text_signature__ getter because
the docstring ends with )\n-- rather than )\n--\n\n. The attached patch
adjusts
Roundup Robot added the comment:
New changeset ab0b9107628f by Georg Brandl in branch '3.3':
Closes #19966: allow hgtouch to operate on a base dir that is != the repo root.
http://hg.python.org/cpython/rev/ab0b9107628f
--
___
Python tracker
Roundup Robot added the comment:
New changeset a7e048674fef by Ned Deily in branch '3.3':
Issue #20374: Avoid compiler warnings when compiling readline with libedit.
http://hg.python.org/cpython/rev/a7e048674fef
New changeset de02d414590d by Ned Deily in branch '3.3':
Issue #20374: delete
Roundup Robot added the comment:
New changeset d62a67318023 by Georg Brandl in branch '3.3':
#16042: CVE-2013-1752: smtplib fix for unlimited readline() from socket
http://hg.python.org/cpython/rev/d62a67318023
--
___
Python tracker
Roundup Robot added the comment:
New changeset d393df09e139 by Georg Brandl in branch '3.3':
#20311: revert changes to 3.3 branch for now until experts have decided how to
resolve the issue.
http://hg.python.org/cpython/rev/d393df09e139
--
___
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20284
___
___
Python-bugs-list
Zachary Ware added the comment:
Forgot to mention, there are no current examples of this checked in.
winreg.HKEYType has a couple of methods with no docstring (__enter__ and
__exit__), and _winapi has several docstring-less functions, though.
--
Yury Selivanov added the comment:
I'm -1 on this.
Yes, there is a convention in Python that _names are kind of private, but it's
just a convention, and not everybody follow it. Making this change would just
break too many things.
As for the code in question: Random.randrange -- why does it
Georg Brandl added the comment:
-1 as well.
Yury: it's a micro-optimization, the slow builtin lookup becomes a fast local
lookup.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20583
Roundup Robot added the comment:
New changeset b9e124851e47 by Terry Jan Reedy in branch 'default':
Issue #20167: Add missing else: break in 3 places as noticed by Serhiy.
http://hg.python.org/cpython/rev/b9e124851e47
--
___
Python tracker
Francisco Martín Brugué added the comment:
First I've reviewed #msg205585 again (no patch applied). Notice that Traceback
was not accurate:
test_A:
os.makedirs('foo')
os.makedirs('bar/foo')
shutil.move('foo/', 'bar/')
Traceback (most recent call last):
File pyshell#15, line 1, in module
STINNER Victor added the comment:
How do you know that the timer used by the select/poll/etc. call has the same
resolution?
If I understood correctly, there a 3 kind of clocks on Windows:
- kernel heartbeat: GetSystemTimeAdjustment() gives the resolution (a few
milliseconds)
- multimedia
R. David Murray added the comment:
Can you pare it down further so that it only uses stdlib code?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20587
___
Nick Coghlan added the comment:
For context, codecs.CodecInfo now takes an undocumented _is_text_encoding
keyword-only argument to blacklist codecs from TextIOWrapper, str.encode,
bytes.decode etc. Serhiy expressed some concern that users would see that
via Pydoc, believe it was a public API,
Yury Selivanov added the comment:
Yury: it's a micro-optimization, the slow builtin lookup becomes a fast local
lookup.
That's what I thought, thank you.
I think we should discourage use of this pattern (at least in the stdlib).
There is small to no performance benefit to do that.
And if
Ian Beaver added the comment:
Its not multi-dimensional slicing to get a subset of objects as in Numpy, but
more the ability to slice a buffer containing a multi-dimensional array as raw
bytes. Buffer objects in Python2.7 are dimensionality naive so it works fine.
You were correct that I
STINNER Victor added the comment:
OK, since the resolution is 1 nsec on my Ubuntu
Yeah, Linux always announce 1 nanosecond, even the real resolution is not so
good:
https://lkml.org/lkml/2012/2/9/100
On Mac OS X, the resolution is also probably hardcoded to 1 nanosecond. (Python
reads the
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12916
___
___
Python-bugs-list
Ezio Melotti added the comment:
test after roundup upgrade
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list mailing
Changes by Kathryn M Kowalski kathy.kowal...@ge.com:
Added file: http://bugs.python.org/file34029/check_with_output.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20587
___
Changes by Ned Deily n...@acm.org:
--
nosy: +orsenthil
priority: normal - high
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20585
___
Garrett Cooper added the comment:
Updated patch to incorporate Vinay's comments. Thanks :)!
--
Added file: http://bugs.python.org/file34030/patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20558
Changes by Jakub Wilk jw...@jwilk.net:
--
nosy: +jwilk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20361
___
___
Python-bugs-list mailing list
Matej Cepl added the comment:
This is the suggested patch for this issue. Just adding new http_request method
of HTTPBasicAuthHandler which adds Authorization header to the initial request.
Patch is now just for python 2.7, but it may be trivially ported to any other
version of Python as it
Changes by Matej Cepl mc...@redhat.com:
Removed file: http://bugs.python.org/file32835/test_create_1.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19494
___
Jan-Philip Gehrcke added the comment:
As a follow-up, relevant output from FreeBSD 9:
$ python
Python 2.7.5 (default, Dec 20 2013, 21:12:37)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type help, copyright, credits or license for more information.
import signal
signals = [s for s in
R. David Murray added the comment:
Hmm. Looks like I would need a copy of your database to be able to run this?
Maybe you could add something to create the schema and add the rows to be
queried?
There are tests for the converter/adapter functionality, so it must be
something specific about
Changes by Garrett Cooper yaneg...@gmail.com:
Removed file: http://bugs.python.org/file33986/patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20558
___
Martin Panter added the comment:
I suggest closing this in favour of issue 11344, “Add os.path.splitpath(path)
function”, which has a more complete patch ready.
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
New submission from Jeffrey Armstrong:
The code within Python/Python-ast.c does not currently conform to C89 standard.
Within the function PyAST_obj2mod(), the array 'req_type' is initialized using
runtime values, which is not allowed by the standard, causing building to fail
on a C89
R. David Murray added the comment:
I agree that that is a superseder, although it sounds like it may not be needed
since pathlib is part of 3.4 (albeit provisional).
--
resolution: - duplicate
stage: test needed - committed/rejected
status: languishing - closed
superseder: - Add
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20588
___
___
New submission from James Skinner:
When using the Path class in Lib/pathlib.py under Windows, calling p.owner() or
p.group() fails with an ImportError due to importing the pwd and grp modules
respectively, as neither of those exist. The documentation doesn't mention this
behaviour.
The
New submission from Alfonso Andalon Jr.:
Download this http://talkray.com/dl/ee
--
messages: 210897
nosy: Alfonso.Andalon.Jr.
priority: normal
severity: normal
status: open
title: Download Talkray...
___
Python tracker rep...@bugs.python.org
Changes by Vajrasky Kok sky@speaklikeaking.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20589
___
___
Python-bugs-list
Changes by Benjamin Peterson bp+pyb...@benjamin-peterson.org:
--
resolution: - invalid
status: open - closed
title: Download Talkray... - spam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20590
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
Removed message: http://bugs.python.org/msg210897
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20590
___
Roundup Robot added the comment:
New changeset 5b3bb4bda9cb by Benjamin Peterson in branch '3.3':
don't put runtime values in array initializer for C89 compliance (closes #20588)
http://hg.python.org/cpython/rev/5b3bb4bda9cb
New changeset cdaf7b38bb2c by Benjamin Peterson in branch 'default':
Ezio Melotti added the comment:
another test
--
assignee: - ezio.melotti
nosy: +python-dev
priority: low - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
Ned Deily added the comment:
It looks like the culprit is _scproxy, an internal C extension, that urllib2
(py2) and urllib.request (py3) use on OS X to access the system configuration
for network proxies. If you aren't using any proxies, a workaround is to
define an environment variable:
Serhiy Storchaka added the comment:
Yes, this issue is based on Nick's intention in msg206515.
Since this issue was rejected, my objection against adding new underscored
parameters in issue19619 remain in force.
--
___
Python tracker
Serhiy Storchaka added the comment:
Thank you Francisco!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19856
___
___
Python-bugs-list mailing
79 matches
Mail list logo