[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-06 Thread David Bolen
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

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-06 Thread David Bolen
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

[issue33471] string format with 'n' failling with french locales

2018-05-12 Thread David Vasseur
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 <

[issue33471] string format with 'n' failling with french locales

2018-05-13 Thread David Vasseur
David Vasseur added the comment: >>> locale.localeconv() {'int_curr_symbol': 'EUR ', 'currency_symbol': '€', 'mon_decimal_point': ',', 'mon_thousands_sep': '\u202f', 'mon_grouping': [3, 0], 

[issue33528] os.getentropy support

2018-05-15 Thread David Carlier
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

[issue33528] os.getentropy support

2018-05-16 Thread David Carlier
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

[issue33528] os.getentropy support

2018-05-16 Thread David Carlier
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

[issue31778] ast.literal_eval supports non-literals in Python 3

2017-10-12 Thread David Bieber
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

[issue31778] ast.literal_eval supports non-literals in Python 3

2017-10-12 Thread David Bieber
Change by David Bieber : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue31778> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue31778] ast.literal_eval supports non-literals in Python 3

2017-10-13 Thread David Bieber
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

[issue31430] [Windows][2.7] Python 2.7 compilation fails on mt.exe crashing with error code C0000005

2017-10-26 Thread David Bolen
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

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread David Antonini
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

[issue31873] Inconsistent capitalization of proper noun - Unicode.

2017-10-26 Thread David Antonini
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

[issue31430] [Windows][2.7] Python 2.7 compilation fails on mt.exe crashing with error code C0000005

2017-10-26 Thread David Bolen
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

[issue31430] [Windows][2.7] Python 2.7 compilation fails on mt.exe crashing with error code C0000005

2017-10-27 Thread David Bolen
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

[issue31958] UUID

2017-11-06 Thread David MacIver
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

[issue31958] UUID versions are not validated to lie in the documented range

2017-11-06 Thread David MacIver
Change by David MacIver : -- title: UUID -> UUID versions are not validated to lie in the documented range ___ Python tracker <https://bugs.python.org/issu

[issue31967] [Windows] test_distutils: fatal error LNK1158: cannot run 'rc.exe'

2017-11-07 Thread David Bolen
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

[issue31967] [Windows] test_distutils: fatal error LNK1158: cannot run 'rc.exe'

2017-11-07 Thread David Bolen
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

[issue32117] Tuple unpacking in return and yield statements

2017-11-22 Thread David Cuthbert
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

[issue32117] Tuple unpacking in return and yield statements

2017-11-22 Thread David Cuthbert
Change by David Cuthbert : -- keywords: +patch pull_requests: +4446 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32117> ___ ___ Py

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread David Bolen
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

[issue32117] Tuple unpacking in return and yield statements

2017-11-29 Thread David Cuthbert
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

[issue32117] Tuple unpacking in return and yield statements

2017-11-29 Thread David Cuthbert
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]

[issue32117] Tuple unpacking in return and yield statements

2017-11-29 Thread David Cuthbert
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

[issue32306] Clarify map API in concurrent.futures

2017-12-13 Thread David Lukeš
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,

[issue32264] move pygetopt.h into internal/

2017-12-16 Thread David Bolen
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

[issue32264] move pygetopt.h into internal/

2017-12-16 Thread David Bolen
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

[issue32306] Clarify map API in concurrent.futures

2017-12-20 Thread David Lukeš
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

[issue32306] Clarify map API in concurrent.futures

2017-12-20 Thread David Lukeš
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

[issue32306] Clarify map API in concurrent.futures

2017-12-21 Thread David Lukeš
David Lukeš added the comment: Perfect, thanks! -- ___ Python tracker <https://bugs.python.org/issue32306> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27643] test_ctypes fails on AIX with xlc

2018-01-02 Thread David Edelsohn
Change by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker <https://bugs.python.org/issue27643> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28290] BETA report: Python-3.6 build messages to stderr: AIX and "not GCC"

2018-01-02 Thread David Edelsohn
Change by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker <https://bugs.python.org/issue28290> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32390] AIX (xlc_r) compile error with Modules/posixmodule.c: Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed

2018-01-02 Thread David Edelsohn
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

[issue32390] AIX (xlc_r) compile error with Modules/posixmodule.c: Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed

2018-01-02 Thread David Edelsohn
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 _

[issue28009] core logic of uuid.getnode() is broken for AIX - all versions

2018-01-02 Thread David Edelsohn
Change by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker <https://bugs.python.org/issue28009> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10656] "Out of tree" build fails on AIX

2018-01-02 Thread David Edelsohn
Change by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker <https://bugs.python.org/issue10656> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27435] ctypes library loading and AIX - also for 2.7.X (and later)

2018-01-02 Thread David Edelsohn
Change by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker <https://bugs.python.org/issue27435> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32390] AIX compile error with Modules/posixmodule.c: Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed

2018-01-03 Thread David Edelsohn
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

[issue15982] asyncore.dispatcher does not handle windows socket error code correctly (namely WSAEWOULDBLOCK 10035)

2018-01-03 Thread David Vitek
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

[issue32493] UUID Module - FreeBSD build failure

2018-01-04 Thread David Carlier
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

[issue32248] Port importlib_resources (module and ABC) to Python 3.7

2018-01-04 Thread David Bolen
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.

[issue32390] AIX compile error with Modules/posixmodule.c: Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed

2018-01-05 Thread David Edelsohn
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

[issue32493] UUID Module - FreeBSD build failure

2018-01-08 Thread David Carlier
David Carlier added the comment: Perfect. That solves in the process OpenBSD uuid module build too. -- ___ Python tracker <https://bugs.python.org/issue32

[issue32493] UUID Module - FreeBSD build failure

2018-01-09 Thread David Carlier
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

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-17 Thread David Bolen
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

[issue33528] os.getentropy support

2018-05-18 Thread David Carlier
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

[issue33528] os.getentropy support

2018-05-20 Thread David Carlier
Change by David Carlier : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue33528> ___ ___

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-22 Thread David Bolen
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

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-23 Thread David Bolen
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

[issue33355] Windows 10 buildbot: 15 min timeout on test_mmap.test_large_filesize()

2018-05-24 Thread David Bolen
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

[issue33754] f-strings should be part of the Grammar

2018-06-03 Thread David Halter
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

[issue33754] f-strings should be part of the Grammar

2018-06-03 Thread David Halter
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

[issue33772] Fix few dead code paths

2018-06-05 Thread David Carlier
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.

[issue33164] Blake 2 module update

2018-06-05 Thread David Carlier
Change by David Carlier : -- keywords: +patch pull_requests: +7043 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33164> ___ ___ Py

[issue28557] error message for bad raw readinto

2018-06-07 Thread David Szotten
Change by David Szotten : -- pull_requests: +7121 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue28557> ___ ___ Python-bugs-list mai

[issue34009] Document Travis CI / Ubuntu 14.04 OpenSSL compatibility issues

2018-06-30 Thread David MacIver
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

[issue34009] Document Travis CI / Ubuntu 14.04 OpenSSL compatibility issues

2018-07-02 Thread David MacIver
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

[issue34070] Superfluous call to isatty in open() when buffering >= 0

2018-07-08 Thread David Herberth
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 *

[issue34070] Superfluous call to isatty in open() when buffering >= 0

2018-07-08 Thread David Herberth
Change by David Herberth : -- keywords: +patch pull_requests: +7742 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34070> ___ ___ Py

[issue34088] [EASY] sndhdr.what() throws exceptions on unknown files

2018-07-17 Thread david awad
Change by david awad : -- keywords: +patch pull_requests: +7854 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34088> ___ ___ Python-

[issue34088] [EASY] sndhdr.what() throws exceptions on unknown files

2018-07-17 Thread david awad
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

[issue31689] random.choices does not work with negative weights

2018-08-06 Thread David Kopec
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&#

[issue34582] VSTS builds should use new YAML syntax and pools

2018-09-04 Thread David Staheli
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

[issue34601] Typo: "which would rather raise MemoryError than give up", than or then?

2018-09-06 Thread David Lin
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

[issue31652] make install fails: no module _ctypes

2018-09-08 Thread David Spahn
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

[issue34776] Postponed annotations break inspection of dataclasses

2018-09-23 Thread David Hagen
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

[issue34794] memory leak in TkApp:_createbytearray

2018-09-24 Thread David Talkin
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(). --

[issue34794] memory leak in TkApp:_createbytearray

2018-09-25 Thread David Talkin
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

[issue27321] Email parser creates a message object that can't be flattened

2018-10-05 Thread David Cannings
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

[issue31242] Add SSLContext.set_verify_callback()

2018-11-07 Thread David Peall
Change by David Peall : -- nosy: +David Peall ___ Python tracker <https://bugs.python.org/issue31242> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18096] bad library order returned by python-config.in

2013-05-29 Thread David Taylor
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

[issue18040] SIGINT catching regression on windows in 2.7

2013-05-30 Thread David Gilman
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

[issue18111] Add a default argument to min & max

2013-06-03 Thread David Beazley
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

[issue18111] Add a default argument to min & max

2013-06-04 Thread David Beazley
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

[issue18228] AIX locale parsing failure

2013-06-15 Thread David Edelsohn
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

[issue18228] AIX locale parsing failure

2013-06-16 Thread David Edelsohn
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

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-06-16 Thread David Edelsohn
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

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-16 Thread David Edelsohn
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

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
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

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
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

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-17 Thread David Edelsohn
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

[issue18248] fficonfig.py.in wrong for AIX

2013-06-17 Thread David Edelsohn
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

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-06-17 Thread David Edelsohn
David Edelsohn added the comment: This is the cause of the failures in test_distutils. -- ___ Python tracker <http://bugs.python.org/issue18235> ___ ___ Python-bug

[issue18256] thread_pthread.h fixes for AIX

2013-06-18 Thread David Edelsohn
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

[issue18228] AIX locale parsing failure

2013-06-18 Thread David Edelsohn
Changes by David Edelsohn : -- versions: +Python 2.7, Python 3.3 ___ Python tracker <http://bugs.python.org/issue18228> ___ ___ Python-bugs-list mailing list Unsub

[issue18228] AIX locale parsing failure

2013-06-18 Thread David Edelsohn
Changes by David Edelsohn : -- versions: -Python 2.7, Python 3.3 ___ Python tracker <http://bugs.python.org/issue18228> ___ ___ Python-bugs-list mailin

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-18 Thread David Edelsohn
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

[issue18238] test_signal.py wait_helper hangs on AIX

2013-06-18 Thread David Edelsohn
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

[issue11192] test_socket error on AIX

2013-06-18 Thread David Edelsohn
Changes by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker <http://bugs.python.org/issue11192> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18259] Declare sethostname in socketmodule.c for AIX

2013-06-18 Thread David Edelsohn
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

[issue18265] typedef lookupfunc defined by not used

2013-06-19 Thread David Edelsohn
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

[issue18265] typedef lookupfunc defined by not used

2013-06-19 Thread David Edelsohn
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

[issue11193] test_subprocess error on AIX

2013-06-19 Thread David Edelsohn
Changes by David Edelsohn : -- components: +Interpreter Core nosy: +David.Edelsohn type: -> behavior ___ Python tracker <http://bugs.python.org/issu

[issue11185] test_wait4 error on AIX

2013-06-19 Thread David Edelsohn
Changes by David Edelsohn : -- nosy: +David.Edelsohn type: -> behavior ___ Python tracker <http://bugs.python.org/issue11185> ___ ___ Python-bugs-list mai

[issue11188] test_time error on AIX

2013-06-19 Thread David Edelsohn
Changes by David Edelsohn : -- components: +Extension Modules type: -> behavior ___ Python tracker <http://bugs.python.org/issue11188> ___ ___ Python-bugs-lis

[issue11188] test_time error on AIX

2013-06-19 Thread David Edelsohn
Changes by David Edelsohn : -- nosy: +David.Edelsohn ___ Python tracker <http://bugs.python.org/issue11188> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18235] _sysconfigdata.py wrong on AIX installations

2013-06-21 Thread David Edelsohn
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

[issue18286] Python 3.3 - Slowing down computer

2013-06-22 Thread David Edelsohn
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.

[issue18308] checkRecvmsgAddress wrong in test_socket.py (AIX failures)

2013-06-26 Thread David Edelsohn
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

<    8   9   10   11   12   13   14   15   16   17   >