Ivan Levkivskyi added the comment:
Yury, thank you for the patch, the error message is much clearer now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24528
___
Ivan Levkivskyi added the comment:
What holds the patch now? Should I do something or just wait?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24129
___
Antoine Pitrou added the comment:
We should probably change the default value for the *ssl_version* parameter.
In the meantime, you can workaround this simply with:
cert = ssl.get_server_certificate((, 443), ssl.PROTOCOL_SSLv23)
--
___
Python
New submission from Jakub Wilk:
https://docs.python.org/3/whatsnew/3.4.html#multiprocessing reads:
On Unix two new start methods, (spawn and forkserver, have been added for
starting processes using multiprocessing.
This stray ( should be removed.
--
assignee: docs@python
components:
Changes by Zachary Ware zachary.w...@gmail.com:
--
stage: - resolved
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24127
___
___
Python-bugs-list
Oleksiy Markovets added the comment:
attached file
--
Added file: http://bugs.python.org/file39841/main.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24544
___
Changes by Christian Heimes li...@cheimes.de:
--
nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24545
___
New submission from Kayne:
I tried to use cert = ssl.get_server_certificate((, 443)) and it crashed
with following error:
Traceback (most recent call last):
File PeerCertChainQuery.py, line 107, in module
cert = ssl.get_server_certificate((options.host, 443))
File
New submission from Oleksiy Markovets:
INTRODUCTION
While embedding python script in c++ application I faced random crashes
with error:
Fatal Python error: Py_EndInterpreter: not the last thread
New submission from marxin:
I've just tried to build Python with {C,CXX,LD}FLAGS set to '-flto'.
Unfortunately following conftest source file is fragile:
cat /tmp/mc.c
int
main ()
{
unsigned int fpcr;
__asm__ __volatile__ (fmove.l %%fpcr,%0 : =g (fpcr));
__asm__ __volatile__ (fmove.l
Charles Nodell added the comment:
Sounds fine! I look forward to seeing how to do this properly!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24533
___
Changes by Stefan Krah ste...@bytereef.org:
--
nosy: +schwab
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24543
___
___
Python-bugs-list mailing
Henrik Heimbuerger added the comment:
Happy to report that in build 10159 of Windows 10 64-bit, this just started to
work again. No reinstallation of pip needed!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24127
Changes by Stefan Krah ste...@bytereef.org:
--
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24545
___
___
Python-bugs-list
New submission from Serge Anuchin:
It seems there is minor bug in random.choice.
I've got traceback from my server with IndexError from random.choice, but
sequence wasn't empty (seq value was:
u'\u0411\u0413\u0414\u0416\u0418\u041b\u0426\u042b\u042d\
New submission from Dmitry Kazakov:
The Simple Smalltalk Testing: With Patterns link from
https://docs.python.org/3.5/library/unittest.html is dead. I found 2 mirrors
but I don't think any of them should replace the broken link.
1.
Changes by Andreas Schwab sch...@linux-m68k.org:
--
title: Configure script wrongly detects mc68881 with -flto option passed -
Configure script wrongly detects x64/x87/mc68881 with -flto option passed
___
Python tracker rep...@bugs.python.org
Charles-François Natali added the comment:
Barring any objections, I'll commit within the next few days.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23992
___
Andreas Schwab added the comment:
That means these tests are broken as well:
AC_MSG_CHECKING(for x64 gcc inline assembler)
AC_MSG_CHECKING(whether we can use gcc inline assembler to get and set x87
control word)
--
___
Python tracker
R. David Murray added the comment:
Why not use string.Template?
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24549
___
New submission from azrdev:
{1} {0}.format('one').format('two')
should return two one, but throws
IndexError: tuple index out of range
This would allow partial replacements, similar to
string.Template.safe_substitute()
I suggest an analog construction (e.g. a method string.safe_format()
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24546
___
___
Roundup Robot added the comment:
New changeset a9d38701536d by Yury Selivanov in branch '3.5':
Issue #24400: Add one more unittest for CoroutineType.__await__
https://hg.python.org/cpython/rev/a9d38701536d
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset b2a3baa1c2b0 by Yury Selivanov in branch '3.5':
Issue #24400: Mention that __instancecheck__ is used in abc.Awaitable and
Coroutine
https://hg.python.org/cpython/rev/b2a3baa1c2b0
New changeset 4bf1d332fe73 by Yury Selivanov in branch 'default':
Zachary Ware added the comment:
Thanks for testing this, Steve! It sounds like PCbuild/readme.txt will need a
significant update in the setup portion to cover the different ways to get what
is needed (and to mention PC/VS9.0 as a simpler setup).
I use third-party extension modules rarely
Ethan Furman added the comment:
Nowhere else in the stdlib is 'readfd' defined, and 'writefd' is only used once
in a test.
I think tacking on the 'fd' is both too low level as well as misleading since
these are not file descriptors.
If there is no agreement on read/write (understandable
Ethan Furman added the comment:
Okay, scratch the not file descriptors part of my comment, but the rest still
stands.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24536
___
Ethan Furman added the comment:
As for Niki's example:
-
-- src = os.pipe()
-- src
(3, 4)
-- if not hasattr(src, 'read'): src = open(src)
...
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: invalid file: (3, 4)
Ethan Furman added the comment:
Brian, given my comments in msg245016 are you willing to add the
Executor.filter() function?
--
versions: +Python 3.6 -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24195
New submission from Brian Mingus:
The lower range for this bug may be anything greater than 32 bit maxint. Other
modules such as multiprocessing are limited passing objects of size 32 bit
maxint, even on 64 bit systems, likely due to this issue. I have demonstrated
this by modifying
Tim Peters added the comment:
random() may return 1.0 exactly
That shouldn't be possible. Although the code does assume C doubles have at
least 53 bits of mantissa precision (in which case it does arithmetic that's
exact in at least 53 bits - cannot round up to 1.0; but _could_ round up if
Tim Peters added the comment:
FYI, where x = 1.0 - 2.**-53, I believe it's easy to show this under IEEE
double precision arithmetic:
For every finite, normal, double y 0.0,
IEEE_multiply(x, y) y
under the default (nearest/even) rounding mode. That implies
int(x*i) i
for every
Roundup Robot added the comment:
New changeset 74e75a9aa562 by Benjamin Peterson in branch '3.4':
remove stray '(' (closes #24547)
https://hg.python.org/cpython/rev/74e75a9aa562
--
nosy: +python-dev
resolution: - fixed
stage: - resolved
status: open - closed
Steven D'Aprano added the comment:
Closing. If anyone thinks the docs aren't clear enough, and has an alternate
version they would like to suggest, you can re-open it.
--
resolution: - rejected
status: open - closed
___
Python tracker
Changes by Ned Deily n...@acm.org:
--
components: +Windows -Extension Modules
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24537
___
Steven D'Aprano added the comment:
Your example of int(0.5) returning 1 is misleading, because
0.999...95 is already 1.0. (1.0 - 1/2**53) = 0. is the nearest
float distinguishable from 1.0.
It seems to me that either random() may return 1.0 exactly (although
Changes by Ned Deily n...@acm.org:
--
nosy: +ezio.melotti, michael.foord, rbcollins
stage: - needs patch
type: enhancement -
versions: +Python 2.7, Python 3.4, Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24548
Ned Deily added the comment:
Can you say where you are seeing this? The current 2.7 documentation for json
reads:
If skipkeys is True (default: False), then dict keys that are not of a basic
type (str, unicode, int, long, float, bool, None) will be skipped instead of
raising a TypeError.
eryksun added the comment:
In Windows 10 ReadFile doesn't set ERROR_OPERATION_ABORTED (995) for Ctrl+C
when reading console input, but ReadConsole does.
from ctypes import *
kernel32 = WinDLL('kernel32', use_last_error=True)
buf = (c_char * 1)()
n = c_uint()
Eric V. Smith added the comment:
So let's say your function would be named safe_format. Then:
{1} {0}.safe_format('one')
would give: {1} one.
Then:
{1} one.safe_format('two')
would be an error, because there's no index 1 in the args tuple.
I can't imagine how you'd implement this function
Steven D'Aprano added the comment:
I don't think that this behaviour is desirable, certainly not by default. If I
write {1} {0}.format('one') that's clearly a programming error and I should
get an exception. Chaining a second .format method call afterwards does not
make the first one any less
Timothy Cardenas added the comment:
We are seeing this behavior influencing other libraries in python 3.4.
This should never fail if timestamp and fromtimestamp are implemented correctly:
from datetime import datetime
t = datetime.utcnow().timestamp()
t2 = datetime.utcfromtimestamp(t)
assert t
STINNER Victor added the comment:
I reviewed multibind.patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23630
___
___
Python-bugs-list
Martin Panter added the comment:
The last change to /Doc/conf.py seems to have screwed up my docs build. Was
that an accident?
$ make -C Doc/ htmlsphinx-build -b html -d build/doctrees -D latex_paper_size=
. build/html
Running Sphinx v1.2.3
loading pickled environment... done
Theme error:
Roundup Robot added the comment:
New changeset 68996acdec6f by Yury Selivanov in branch '3.5':
docs/conf: Undo changes in b2a3baa1c2b0; issue #24400
https://hg.python.org/cpython/rev/68996acdec6f
--
___
Python tracker rep...@bugs.python.org
Yury Selivanov added the comment:
Thanks, Martin, it was indeed something that shouldn't been committed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24400
___
46 matches
Mail list logo