David Bolen added the comment:
Nothing for my part, but there was an Azure "maintenance" on 4/16 where both
the Win8 and Win10 buildbots were migrated to "newer" hardware (the first
change to their physical machine for a really long time). No word on why. The
VM machine
David Bolen added the comment:
Disk space seems unlikely as a reason - the local disk is 60GB on each
buildbot, of which at least 50GB+ is generally free. So that shouldn't be a
problem (the WinXP/Win7 buildbots operate with far less, like 5-10GB).
I had also considered that pe
New submission from David Vasseur :
Python 3.6.5 (default, Apr 14 2018, 13:17:30)
[GCC 7.3.1 20180406] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print('{:n}'.format(int(12)))
12 <
David Vasseur added the comment:
>>> locale.localeconv()
{'int_curr_symbol': 'EUR ', 'currency_symbol': '€', 'mon_decimal_point': ',',
'mon_thousands_sep': '\u202f', 'mon_grouping': [3, 0],
Change by David Carlier :
--
components: Library (Lib)
nosy: David Carlier
priority: normal
pull_requests: 6558
severity: normal
status: open
title: os.getentropy support
versions: Python 3.8
___
Python tracker
<https://bugs.python.org/issue33
David Carlier added the comment:
These are valid point. In fact it was just to have direct access to the
function like os.getrandom accesses directly the Linux syscall. But if there is
no enough valid reason I can drop this PR.
--
___
Python
David Carlier added the comment:
To have same usage as I would use getentropy under OpenBSD (e.g. 256 bytes max
at a time) really as a wrapper.
--
___
Python tracker
<https://bugs.python.org/issue33
New submission from David Bieber :
# Overview
ast.literal_eval supports some non-literals in Python 3.
The behavior of this function runs contrary to the documented behavior.
# The Issue
The
[documentation](https://docs.python.org/3/library/ast.html#ast.literal_eval)
says of the function &qu
Change by David Bieber :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue31778>
___
___
Python-bugs-list mailing list
Unsubscrib
David Bieber added the comment:
# Replies
> Rolling back previous enhancements would break existing code.
I sympathize completely with the need to maintain backward compatibility. And
if this is the reason that this issue gets treated only as a documentation
issue, rather than as a behav
David Bolen added the comment:
I believe I've identified the issue, and put a workaround in place.
The 986b7ffc commit somehow affected which binary of mt.exe is being run (for
version 5.2.3790.2076, 2005), changing from:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\x64\mt.exe
t
New submission from David Antonini :
Make 'unicode'/'Unicode' capitalization consistent.
'Unicode' is a proper noun, and as such should be capitalized.
I submitted a pull request correcting the inconsistent capitalization in the
Unicode page of the Documen
David Antonini added the comment:
Does the Unicode documentation currently conform to that convention, or does it
require editing?
It appears to me that a lot of cases where reference to "Unicode object" is
currently capitalised (most of them, in fact) may need to be modified.
H
David Bolen added the comment:
Sure, I can certainly do that.
Does "basically a requirement" mean it should have been there all along (with
the VC9 installation), or just that trying to use VC9 on a recent system like
Win 10 safely requires it installed separately? I guess Win
David Bolen added the comment:
Sounds good. I must admit I hadn't actually gone looking for a standalone
installer yet, but just assumed it would exist.
The Win10 worker now has the .NET 3.5 feature installed (which also installed
2.0 and 3.0). Builds seem fine even after removin
New submission from David MacIver :
The documentation for the UUID module says the UUID.version field is "The UUID
version number (1 through 5, meaningful only when the variant is RFC_4122)".
However, the UUID constructor doesn't actually validate that the version lies
in th
Change by David MacIver :
--
title: UUID -> UUID versions are not validated to lie in the documented range
___
Python tracker
<https://bugs.python.org/issu
David Bolen added the comment:
This seems to correlate with my upgrading to the latest Win10 SDK on those
workers (Steve pointed out I was still getting ucrt warnings during
compilation). So they both jumped from like 10240 up to 16299. But that's all
I changed.
Interestingly I onl
David Bolen added the comment:
Ok, so rc.exe appears truly not to be found when the test runs. The binary is
a bit buried in the Windows Kit directory tree, and I'm guessing something is
off after the upgrade (I'm not sure where it was in the tree before). I
manually placed a
New submission from David Cuthbert :
This stems from a query on StackOverflow:
https://stackoverflow.com/questions/47272460/python-tuple-unpacking-in-return-statement/
Specifically, the following syntax is allowed:
def f():
rest = (4, 5, 6)
t = 1, 2, 3, *rest
While the following
Change by David Cuthbert :
--
keywords: +patch
pull_requests: +4446
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32117>
___
___
Py
David Bolen added the comment:
Yeah, I'm not sure if I can do anything on my side. It looks like it's an
issue with the build patch (issue30487, commit d8d6b91, assuming that's what
Zachary is referring to). The blurb complaint is about something that appears
should have be
David Cuthbert added the comment:
CLA processed, and BDFL has assented on python-dev. Serhiy, thoughts on next
steps?
--
___
Python tracker
<https://bugs.python.org/issue32
David Cuthbert added the comment:
Hm... that leaves the only production for expression_list as:
subscription ::= primary "[" expression_list "]"
And I'm not sure that this shouldn't also be replaced by starred_list. It's not
accepted today, though:
In [6]
David Cuthbert added the comment:
Oops, I wasn't looking broadly enough. This is also used in the augmented
assignment statements syntax, e.g. a += 1, 2, 3
--
___
Python tracker
<https://bugs.python.org/is
New submission from David Lukeš :
The docstring for `concurrent.futures.Executor.map` starts by stating that it
is "Equivalent to map(func, *iterables)". In the case of Python 3, I would
argue this is true only superficially: with `map`, the user expects
memory-efficient processing,
David Bolen added the comment:
This commit appears to have broken OSX installer builds using the
build-installer.py script (as in the last two attempts on the bolen-dmg-3.x
builder), confirmed with a bisection from the first failing worker build
(covering the range 02a0a19..3327a2d)
It
David Bolen added the comment:
After some further testing, it does not appear to be configure related but
something environmental (maybe MACOSX_DEPLOYMENT_TARGET) - using the same
configure options manually as build-installer seems ok.
For what it's worth, since there do appear
David Lukeš added the comment:
Hi Antoine,
Thanks for the response! :) I think the problem lies in the line immediately
preceding the code you've posted:
```
fs = [self.submit(fn, *args) for args in zip(*iterables)]
```
In other words, all the jobs are first submitted and their fu
David Lukeš added the comment:
Yes, sorry for not being quite clear the first time around :)
I eventually found out about Pool.imap (see item 3 on list in OP) and indeed it
fits my use case very nicely, but my point was that the documentation is
somewhat misleading with respect to the
David Lukeš added the comment:
Perfect, thanks!
--
___
Python tracker
<https://bugs.python.org/issue32306>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue27643>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue28290>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Edelsohn added the comment:
struct statvfs {
ulong_tf_bsize; /* preferred file system block size */
ulong_tf_frsize;/* fundamental file system block size*/
fsblkcnt_t f_blocks;/* total # of blocks of f_frsize in fs
David Edelsohn added the comment:
/* typedef for the File System Identifier (fsid). This must correspond
* to the "struct fsid" structure in _ALL_SOURCE below.
*/
typedef struct fsid_t {
#ifdef __64BIT_KERNEL
unsigned long val[2];
#else /* __64BIT_KERNEL */
#ifdef _
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue28009>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue10656>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<https://bugs.python.org/issue27435>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Edelsohn added the comment:
_ALL_SOURCE is overkill. It probably is too big a club for this regression.
However, the AIX header definition of fsid compatible with the current Python
posixmodule.c code is bracketed by _ALL_SOURCE.
AFAICT, the change to posixmodule.c made assumptions
David Vitek added the comment:
It doesn't look like the fix for issue #16133 fixed this problem, or perhaps it
only fixed it for asynchat but not asyncore.
I have attached a patch (against python 2, since this is where I needed it
fixed). The patch treats WSA flavors of all errno valu
New submission from David Carlier :
UUID module build fails on FreeBSD since it supports uuid_create function.
--
components: FreeBSD
messages: 309479
nosy: David Carlier, koobs
priority: normal
pull_requests: 4970
severity: normal
status: open
title: UUID Module - FreeBSD build failure
David Bolen added the comment:
Apologies if this is obvious and already in progress, but the issue with
Windows and this change appears to be that the "utf-8.file" file is being
treated as text rather than binary.
So the line ending is expanding to CRLF. The working copy of utf-8.
David Edelsohn added the comment:
The AIX buildbots has been exhibiting testsuite failures, but not build
(compile) failures. The buildbots do not visibly distinguish between the two
cases in a strong manner.
We can disable / expect failure for the few, additional testcases on AIX so
that
David Carlier added the comment:
Perfect. That solves in the process OpenBSD uuid module build too.
--
___
Python tracker
<https://bugs.python.org/issue32
David Carlier added the comment:
I guessed that :-) I trusted it worked just fine for you. To be honest I know
nearly nothing about AIX specificities :-)
--
___
Python tracker
<https://bugs.python.org/issue32
David Bolen added the comment:
A longer timeout might be another workaround, but for myself, I tend to favor
Zachary's original suggestion of eliminating largefile tests for the moment as
simplest and most robust. It would also reduce the overall percentage of test
time currently spent
David Carlier added the comment:
Those are valid points honestly. OpenBSD's getentropy works that way indeed
(getentropy has also been implemented into FreeBSD in the CURRENT branch couple
of months ago).
So indeed os.urandom provides already a wrapping usage only this one give
Change by David Carlier :
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue33528>
___
___
David Bolen added the comment:
I have migrated the win8 and win10 builders to a different machine type on
Azure, which seems to have restored more reasonable performance for the tests,
at least in the first set of builds. Assuming that continues to hold true, it
should resolve this issue
David Bolen added the comment:
The win7 builder isn't on Azure, so changing host type isn't an option at the
moment. For my part, I'd prefer removing the largefile tests for that one
rather than increasing timeout. The tests generate a huge amount of I/O, so my
guess i
David Bolen added the comment:
For my buildbots, I suspect win8/win10 should be ok at this point. Among any
other changes their local disk appears to be an SSD now, which makes a big
difference. I observed steady 250-300MB/s write I/O for the duration of the
mmap test, for example, so no
New submission from David Halter :
Currently f-strings are a bit of a hack. They certainly work very well for
users, but they are implemented in ast.c and therefore not part of the Python
grammar and the tokenizer.
I want to change this. I wrote an alternative implementation of f-strings in
David Halter added the comment:
As I wrote before, I'm not trying to change anything about the f-string
behavior. It is a refactoring. If anyone wants to change the behavior, I feel
like they should probably write a PEP anyway.
I personally don't like that f-strings get parse
Change by David Carlier :
--
components: Interpreter Core
nosy: David Carlier
priority: normal
pull_requests: 7042
severity: normal
status: open
title: Fix few dead code paths
versions: Python 3.8
___
Python tracker
<https://bugs.python.
Change by David Carlier :
--
keywords: +patch
pull_requests: +7043
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue33164>
___
___
Py
Change by David Szotten :
--
pull_requests: +7121
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue28557>
___
___
Python-bugs-list mai
David MacIver added the comment:
> According to
> https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-395471575,
> setting "dist: xenial" instead (giving Ubuntu 16.04) provides a testing
> environment with a new enough OpenSSL for 3.7 to work.
No, this do
David MacIver added the comment:
Anthony Sottile has pointed out to me that I'm wrong about the xenial thing,
and that actually it does work it's just that you need to get multiple things
right in order for it to do so.
https://github.com/deadsnakes/travis-ci-python3.7-example
New submission from David Herberth :
_iomodule.c:_io_open_impl checks for isatty even if not necessary (when
buffering >= 0).
Code:
https://github.com/python/cpython/blob/c0ee341b29bd7d978b49272a2c0e2dcfa77404d5/Modules/_io/_iomodule.c#L392
{
PyObject *
Change by David Herberth :
--
keywords: +patch
pull_requests: +7742
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34070>
___
___
Py
Change by david awad :
--
keywords: +patch
pull_requests: +7854
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue34088>
___
___
Python-
david awad added the comment:
Hey, I saw the issue and spent some time piecing together a PR for it. I've
never contributed to Python before but this seemed like a good place to start!
I posted these questions on the PR but I'll echo them here as well.
- Should we only handle th
David Kopec added the comment:
It's not a bug, but I agree with Allen that it could use a much more clear
error message. I think his proposed ValueError makes a lot more sense than just
raising an IndexError as currently occurs. This will help people debug their
programs who don
Change by David Staheli :
--
nosy: David Staheli
priority: normal
severity: normal
status: open
title: VSTS builds should use new YAML syntax and pools
___
Python tracker
<https://bugs.python.org/issue34
New submission from David Lin :
https://docs.python.org/3/library/exceptions.html
exception OverflowError
Raised when the result of an arithmetic operation is too large to be
represented. This cannot occur for integers (which would rather raise
MemoryError than give up). However, for
David Spahn added the comment:
I'm getting the same error File
"/usr/src/Python-3.7.0/Lib/ctypes/__init__.py", line 7, in
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
Makefile:1122: recipe for target 'inst
New submission from David Hagen :
The new postponed annotations have an unexpected interaction with dataclasses.
Namely, you cannot get the type hints of any of the data classes methods.
For example, I have some code that inspects the type parameters of a class's
`__init__` method. (The
New submission from David Talkin :
The Tkinter.PhotoImage class leaks memory with each change of the 'data'
Attribute due to Image calling tk._createbytearray, which allocates memory, but
never frees it.
The offending method is in the TkApp class, _createbytearray().
--
David Talkin added the comment:
Attached please find a Python script that demonstrates the bug.
David
On Tue, Sep 25, 2018 at 2:55 AM Karthikeyan Singaravelan <
rep...@bugs.python.org> wrote:
>
> Karthikeyan Singaravelan added the comment:
>
> Thanks for the report D
David Cannings added the comment:
Ping on an ETA for this fix?
--
nosy: +edeca
___
Python tracker
<https://bugs.python.org/issue27321>
___
___
Python-bugs-list m
Change by David Peall :
--
nosy: +David Peall
___
Python tracker
<https://bugs.python.org/issue31242>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from David Taylor:
Misc/python-config.in returns a bad library order when given the --ldflags or
--libs arguments. A library should be listed *BEFORE* those libraries that it
depends upon. The python library depends upon all the other libraries listed,
but it is listed last
David Gilman added the comment:
So the original motivation here was to piggyback on SIGINT in order to do
something like this on Windows:
http://stackoverflow.com/questions/132058/showing-the-stack-trace-from-a-running-python-application
I've given Tim's patch a shot and I see that
David Beazley added the comment:
I could have used this feature myself somewhat recently. It was in some code
involving document matching where zero or more possible candidates were
assigned a score and I was trying to find the max score. The fact that an
empty list was a possibility
David Beazley added the comment:
To me, the fact that m = max(s) if s else default doesn't work with iterators
alone makes this worthy of consideration.
I would also note that min/max are the only reduction functions that don't have
the ability to work with a possibly empty sequ
New submission from David Edelsohn:
All tests are failing for 3.x on AIX due to an error parsing the locale. This
is not failing on 3.3 branch.
File
"/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/regrtest.py",
line 1292, in runtest_inne
David Edelsohn added the comment:
The problem is Lib/test/regrtest.py.
_lc = [getattr(locale, lc) for lc in dir(locale) if lc.startswith('LC_')]
The list of locales that start with 'LC_' includes LC_ALL. On AIX, at least,
setlocal("LC_ALL",NULL) returns a st
New submission from David Edelsohn:
_sysconfigdata.py includes information about how to build extension modules. On
AIX this requires a wrapper script to build shared libraries. The file
includes definitions like:
'BLDSHARED': './Modules/ld_so_aix gcc -pthread -bI:./Mod
New submission from David Edelsohn:
test_signal.py wait_helper hangs on AIX. Please skip the test on AIX for now
to allow all other tests to run to completion.
diff -r bdd60bedf933 Lib/test/test_signal.py
--- a/Lib/test/test_signal.py Sun Jun 16 18:37:53 2013 -0400
+++ b/Lib/test
David Edelsohn added the comment:
I understand that this is a work-around and the intention is to investigate
each error in the testsuite on AIX. But currently this bug eventually leads to
a timeout in the testsuite and half of the tests are not run.
I am trying to get the AIX buildbot
David Edelsohn added the comment:
$ ./python -m test --timeout=60 -v test_signal
== CPython 3.4.0a0 (default:00824f9e29f3+, Jun 17 2013, 16:44:41) [GCC 4.8.1]
== AIX-1-00F84C0C4C00-powerpc-32bit big-endian
== /home/dje/src/cpython/build/test_python_5832942
Testing with flags: sys.flags(debug
David Edelsohn added the comment:
By the way, if I manually override _has_poll to False, the same test fails
similarly in _communicate_with_select, so the failure is not limited to the
implementation of poll().
--
___
Python tracker
<h
New submission from David Edelsohn:
fficonfig.py.in incorrectly mixes source files intended for Linux with source
files intended for AIX, causing a build failure.
AIX uses ffi_darwin.c not ffi.c
diff -r f6f70f1ab124 Modules/_ctypes/libffi.diff
--- a/Modules/_ctypes/libffi.diff Mon Jun
David Edelsohn added the comment:
This is the cause of the failures in test_distutils.
--
___
Python tracker
<http://bugs.python.org/issue18235>
___
___
Python-bug
New submission from David Edelsohn:
Recent releases of AIX do not need to call pthread_init(). The function is
provided in libpthread.a for backward compatibility, but not declared in any
header. This patch adds a declaration, or it can be removed completely because
AIX 4.x no longer is
Changes by David Edelsohn :
--
versions: +Python 2.7, Python 3.3
___
Python tracker
<http://bugs.python.org/issue18228>
___
___
Python-bugs-list mailing list
Unsub
Changes by David Edelsohn :
--
versions: -Python 2.7, Python 3.3
___
Python tracker
<http://bugs.python.org/issue18228>
___
___
Python-bugs-list mailin
Changes by David Edelsohn :
--
versions: +Python 2.7, Python 3.3, Python 3.4
___
Python tracker
<http://bugs.python.org/issue18238>
___
___
Python-bugs-list mailin
David Edelsohn added the comment:
This needs to be backported to Python 2.7 as well.
--
___
Python tracker
<http://bugs.python.org/issue18238>
___
___
Python-bug
Changes by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<http://bugs.python.org/issue11192>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from David Edelsohn:
AIX provides sethostname() but it is not declared in any useful header. Fixed
as follows:
diff -r 626a8e49f2a9 Modules/socketmodule.c
--- a/Modules/socketmodule.cTue Jun 18 23:28:18 2013 +0200
+++ b/Modules/socketmodule.cTue Jun 18 20:17:37 2013
New submission from David Edelsohn:
Objects/setobject.c:217:25: warning: typedef 'lookupfunc' locally defined but
not used [-Wunused-local-typedefs]
This was fixed in trunk (changeset 84208:626a8e49f2a9) and should be backported
to 3.3 branch. This is a warning found
David Edelsohn added the comment:
Will not fix in Python 3.3.
--
resolution: -> wont fix
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
Changes by David Edelsohn :
--
components: +Interpreter Core
nosy: +David.Edelsohn
type: -> behavior
___
Python tracker
<http://bugs.python.org/issu
Changes by David Edelsohn :
--
nosy: +David.Edelsohn
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue11185>
___
___
Python-bugs-list mai
Changes by David Edelsohn :
--
components: +Extension Modules
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue11188>
___
___
Python-bugs-lis
Changes by David Edelsohn :
--
nosy: +David.Edelsohn
___
Python tracker
<http://bugs.python.org/issue11188>
___
___
Python-bugs-list mailing list
Unsubscribe:
David Edelsohn added the comment:
It looks like someone already tried to fix part of this, but reversed the
assignment
diff -r a089a8b1f93d Lib/sysconfig.py
--- a/Lib/sysconfig.py Fri Jun 21 18:37:02 2013 -0400
+++ b/Lib/sysconfig.py Fri Jun 21 22:33:15 2013 -0700
@@ -368,7 +368,7
David Edelsohn added the comment:
Is the script changing any configuration settings in your system that reduces
available system resources without occupying CPU, RAM or disk?
--
nosy: +David.Edelsohn
___
Python tracker
<http://bugs.python.
New submission from David Edelsohn:
The recvmsg tests in test_socket.py check that the address returned by recvmsg
matches the original address to which the socket was bound. For IPv6, sockaddr
includes sin6_scope_id, in addition to the address and port.
The test connects to host "::1&qu
1201 - 1300 of 7637 matches
Mail list logo