Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: docs@python - rhettinger
nosy: +rhettinger
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24842
___
Benjamin Peterson added the comment:
Please keep the doc build compatible with Sphinx 1.2.*. Sphinx 1.3.1 has a
problem with LaTeX generation, so we can't upgrade the automated docs build to
use it until 1.3.2 is released.
--
nosy: +benjamin.peterson
Serhiy Storchaka added the comment:
This looks to me as very special case. Enum doesn't delegates the __bool__
method as well as it doesn't delegates __float__, __lt__, __len__, etc. It is
left to user to add these methods if needed.
It is easy to add the __bool__ method to user enum. In your
Brett Cannon added the comment:
Larry, does this warrant going into 3.5.0?
--
assignee: brett.cannon - larry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24492
___
Martijn Pieters added the comment:
I don't understand why encoding with `surrogateescape` isn't supported still;
is it the fact that a surrogate would have to produce *single bytes* rather
than double? E.g. b'\x80' - '\udc80' - b'\x80' doesn't work because that
would mean the UTF-16 and
New submission from Steve Dower:
platform._syscmd_ver() calls platform.popen() which raises a
DeprecationWarning. This causes tests with `@skip(platform.machine() == '...')`
decorators to fail.
The fix is to call `os.popen()` - patch attached. (platform.popen() just raises
the warning and
sanad added the comment:
These observations are noted when the system locale is set to 'iso-88591'
1. Ok, for some reason I'm able to execute this command without any error in
Linux (idle window is opening with a file name as 'astralE.py'). Because the
character '피' is automatically being
New submission from Roddy Shuler:
GNU and USTAR formats use a special case if the file path is longer than 100
bytes. The detection for this, though, incorrectly checked for 100 characters
rather than 100 bytes. So, if the length was close to but not exceeding 100
characters and included
Yury Selivanov added the comment:
Yury: be careful when synchonizing github and cpython code. It's common to
have changes only on one side.
Victor, I agree. But let's make sure that it's no more common to have two
repos out of sync. I shouldn't sync your changes (and you, likewise,
Larry Hastings added the comment:
I would like the fix in 3.5. However, I'm not qualified to review the code.
Can you get a qualified reviewer in to look over the code?
Once someone suitable has reviewed it, I'll accept a pull request (pasted in
here naturally).
--
Changes by Larry Hastings la...@hastings.org:
--
assignee: larry - brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24492
___
___
Armin Rigo added the comment:
Patch LGTM too. Optionally a test is needed for each of the other cases in it
too, but please don't cause that comment to stop it from getting in.
--
___
Python tracker rep...@bugs.python.org
Steve Dower added the comment:
Have you opened up the repo yet? I'm getting no access errors from BB.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24839
___
Brett Cannon added the comment:
Thanks for the reviews, Eric and Armin. I will get the patch in 3.5.0, 3.5.1,
and 3.6 sometime this week and then open another issue for adding more tests
for the other branches in the code.
--
priority: deferred blocker - release blocker
Eric Snow added the comment:
patch LGTM. Presumably the divergence between importlib (in _handle_fromlist)
and import.c was strictly accidental (i.e. lack of test coverage).
--
stage: patch review - commit review
___
Python tracker
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
stage: - patch review
type: - behavior
versions: -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24764
Eric Snow added the comment:
Looks fine to me. Nick had suggested calling exec_builtin from exec_dynamic
(to the same effect as your patch), but I don't consider that much of an issue.
:)
--
stage: - commit review
___
Python tracker
Petr Viktorin added the comment:
Right. I think a common helper is cleaner than calling a clinic-generated
wrapper.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24769
___
Mark Roseman added the comment:
I've attached decouple_config.patch, which removes some internal knowledge
about EditorWindow from configDialog. This is a step towards making the
preferences dialog non-modal (and also to launching either the current dialog,
or a new ttk-dependent one).
The
Larry Hastings added the comment:
Not yet. I'll open it after I release 3.5.0rc1. I'll send email to clp-d and
clp-c when I do. I can email you privately too if you like.
--
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
Yes, Eric and Armin are both qualified reviewers in my book. You have my
blessing to send a pull request.
Thanks, everybody!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24492
New submission from Mike Lundy:
There's a slightly odd edge case which can be summarized as follows:
from enum import Enum
class Bool(Enum):
Yep = True
Nope = False
for value in Bool:
print('%18r is %r' % (value, bool(value)))
output:
R. David Murray added the comment:
No patch is attached.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24840
___
___
Changes by Yury Selivanov yseliva...@gmail.com:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24840
___
___
Gregory Szorc added the comment:
For posterity, I think we ran into a similar problem in
https://bugzilla.mozilla.org/show_bug.cgi?id=1191877, where our code uses
apply_async():
11:09:47 INFO - Exception in thread Thread-2:
11:09:47 INFO - Traceback (most recent call last):
11:09:47
Daniel Andrade Groppe added the comment:
Here's a patch for the second half of remaining classes (this file is a
complement of Ivan Levkivskyi's patch).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24272
Daniel Andrade Groppe added the comment:
Missing Generator.
--
Added file: http://bugs.python.org/file40161/typying_documentation_part2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24272
Roundup Robot added the comment:
New changeset 7cfe20a6395d by Steve Dower in branch '3.5':
Issue #24839: platform._syscmd_ver raises DeprecationWarning
https://hg.python.org/cpython/rev/7cfe20a6395d
--
nosy: +python-dev
___
Python tracker
Steve Dower added the comment:
PR is at
https://bitbucket.org/larry/cpython350/pull-requests/1/issue-24839-platform_syscmd_ver-raises/diff
(For my sanity, your 3.5 branch and the hg.p.o 3.5 branch *are* currently in
sync, yes? Any value in adding a 3.5.0 branch for your divergence so we can
Changes by Steve Dower steve.do...@microsoft.com:
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24839
___
New submission from Chris Rebert:
There is a cross-reference to namedtuple in SimpleNamespace's docs, but not
vice-versa, despite these types being fairly similar.
--
assignee: docs@python
components: Documentation
messages: 248389
nosy: cvrebert, docs@python
priority: normal
severity:
Larry Hastings added the comment:
Yes, I'll accept that for 3.5.0. Paste a link to a pull request here at your
earliest convenience (and opportunity).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24839
Mike Lundy added the comment:
(I should note that I just recently signed the contributor agreement, not that
this a particularly complex fix, but it hasn't propagated to my profile yet).
--
___
Python tracker rep...@bugs.python.org
Larry Hastings added the comment:
My Bitbucket repo is now public.
https://bitbucket.org/larry/cpython350
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24492
___
New submission from Vinson Lee:
'make test' runs all the network tests.
Some of the tests in test_ssl fail instead of skip if svn.python.org is not
accessible.
$ ./python -m test -v -u all test_ssl
==
ERROR:
Mike Lundy added the comment:
@r.david.murray man you're fast :) Sorry, realized I forgot to actually run the
tests for 3.5 and 3.4, I'd only run them for master (I've now run them for 3.5
and 3.4 now, too).
--
keywords: +patch
Added file:
Larry Hastings added the comment:
My Bitbucket repo is now public.
https://bitbucket.org/larry/cpython350
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24839
___
Changes by Vinson Lee v...@freedesktop.org:
--
versions: +Python 3.3, Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24841
___
R. David Murray added the comment:
Hmm. All I do is 'make clean; make html', but I don't see why that would make
a difference to the problem on point.
I didn't know about this make venv thing...that must be newish? When I try it,
that does indeed work. Building that way produces a
Guido van Rossum added the comment:
I think it's unfortunate that this doesn't work. Note that the example program
has no threads -- it just has a loop that isn't the default loop. The docs you
refer to aren't very helpful.
--
___
Python tracker
STINNER Victor added the comment:
Le 9 août 2015 14:41, Guido van Rossum rep...@bugs.python.org a écrit :
But apparently Victor didn't copy that fix to the upstream asyncio repo.
Yeah sorry about that. Hopefully it's now fixed.
Yury: be careful when synchonizing github and cpython code. It's
STINNER Victor added the comment:
There is not option to choose the temporary directory like $TMPDIR?
I had issues with /tmp when creating large files because /tmp is now a
tmpfs on Fedora by default.
Maybe we can blacklist some filesystems to choose the temporary directory.
--
Serhiy Storchaka added the comment:
Lib/test/regrtest.py:
# When tests are run from the Python build directory, it is best practice
# to keep the test files in a subfolder. This eases the cleanup of leftover
# files using the make distclean command.
if sysconfig.is_python_build():
TEMPDIR =
New submission from Chetan Reddy:
Attached test.py hangs with the following output when run with
PYTHONASYNCIODEBUG1= and -Wdefault.
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:asyncio:run shell command 'sleep 2'
DEBUG:asyncio:process 'sleep 2' created: pid 13801
INFO:asyncio:run shell
STINNER Victor added the comment:
It's better to use asyncio.get_event_loop() to create the event loop.
Otherwise, you have to create manually the child watcher:
https://docs.python.org/dev/library/asyncio-subprocess.html#subprocess-and-threads
If I recall correctly, you have to call asyncio.
Stefan Krah added the comment:
Actually, for ecryptfs we could just check for ~/.ecryptfs and
then use /tmp.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24831
___
Stefan Krah added the comment:
Yes, the current scheme is probably good for easy buildbot cleanup.
Maybe we can blacklist some filesystems to choose the temporary directory.
If that's easily possible, it would be a good solution at least
for ecryptfs.
I've removed ecryptfs from my setup,
Petr Viktorin added the comment:
Apologies for the delay; I was on vacation.
This was indeed a mistake in PEP 489 implementation. I agree with Nick on the
solution.
Here is a patch that adds exec_builtin, with implementation shared with
exec_dynamic.
--
keywords: +patch
Added file:
48 matches
Mail list logo