[issue32784] Wrong argument name for csv.DictReader in documentation

2018-02-06 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: In the python3 docs it is given as 'f'. In the python2 docs, it is not. I suppose a doc backport was missed. -- nosy: +r.david.murray versions: -Python 3.5 ___ Python tracke

[issue32783] ln(2) isn't accurate in _math.c in cpython

2018-02-06 Thread R. David Murray
Change by R. David Murray <rdmur...@bitdance.com>: -- nosy: +mark.dickinson ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32773] distutils should NOT preserve timestamps

2018-02-06 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: We have a strong backward compatibility policy, especially for distutils, so even though you can't imagine a use case I think we should keep the default the same. You could try lobbying the folks at pypa and see if they di

[issue32773] distutils should NOT preserve timestamps

2018-02-06 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: That's the right thing in your opinion[*], but probably not in the opinion of others, thus the need for an option. There is also backward compatibility to be considered. -- nosy: +r.david.

[issue31961] subprocess._execute_child doesn't accept a single PathLike argument for args

2018-02-06 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: "I thought the case when args is a string and shell=False is deprecated." IMO it ought to be :) See issue 7839 for background. -- nosy: +r.david.murray ___ Pyt

[issue32774] distutils: cyclic reference in the documentation

2018-02-05 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: This is a common pattern in our documentation. It is done because ":mod:`xxx`" means that xxx should be formatted as a module name, rather than anything else. While it is true that the formatting for most such referen

[issue32768] object.__new__ does not accept arguments if __bases__ is changed

2018-02-05 Thread R. David Murray
Change by R. David Murray <rdmur...@bitdance.com>: -- nosy: +r.david.murray ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32493] UUID Module - FreeBSD build failure

2018-02-03 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: Probably. Seems workable under Apple otherwise. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32753] ssl.SSLError exceptions in test_poplib

2018-02-02 Thread R. David Murray
Change by R. David Murray <rdmur...@bitdance.com>: -- nosy: +r.david.murray ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32753] ssl.SSLError exceptions in test_poplib

2018-02-02 Thread R. David Murray
Change by R. David Murray <rdmur...@bitdance.com>: -- nosy: +christian.heimes ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue20285] Improve object.__doc__ and help(object) output

2018-02-02 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: If you want to be precise you could say "The last class in every __mro__ list." -- nosy: +r.david.murray ___ Python tracker <rep...@bugs.python.org> <https://b

[issue32572] Add the ftplib option, overrides the IP address.

2018-02-01 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I too wondered if pasv was the correct solution to the problem. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32572] Add the ftplib option, overrides the IP address.

2018-02-01 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I'd like confirmation from someone involved in maintaining the ftplib package that this is in fact the correct solution. -- nosy: +r.david.murray ___ Python tracker <rep...@bugs.p

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-31 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Thanks, Stéphane. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.4, Python 3.5 ___ Python tracker <rep...@bugs.

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-31 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: New changeset 85a92d00bd278022cc00fda6b124c06f614c5ebb by R. David Murray (Miss Islington (bot)) in branch '3.6': bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs (GH-5451) (#5455)

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-30 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: New changeset 8d83e4ba7823827bcbc119db887004d5c3a63dc6 by R. David Murray (Stéphane Wirtel) in branch 'master': bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs (#5451) https://github.com/

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-30 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: We need a test that will fail without your fix. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-30 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: The current test suite had better work fine without your new test, otherwise your fix broke something :) I will take a look. -- ___ Python tracker <rep...@bugs.python.or

[issue19495] context manager for measuring duration of blocks of code

2018-01-30 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: FWIW, we just ran in to the need for this on our project, and used 'Time' from the contexttimer package on pypi. In our use case we want the number so we can log it, and what we care about is the actual elapsed time, not a p

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-30 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Yes, you'll have to write a test. Add a test after test_send_unicode_without_SMTPUTF8, but put the unicode in the name field of the 'from' address and test that it is accepted. You should be able to figure out how to

[issue32727] smtplib's SMTP.send_message behaves differently with from_addr and to_addrs

2018-01-30 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Yes, that looks like a bug. Should be a one line bug fix, plus tests and news item if someone wants to make a PR... -- nosy: +r.david.murray ___ Python tracker <rep...@bugs.p

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

2018-01-30 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Requested a small additional change to the new tests, and then this will be ready to go in. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue27931] Email parse IndexError <""@wiarcom.com>

2018-01-29 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: New changeset aa218d1649690d1c1ba86a9972f7fae646bf1a8f by R. David Murray (jayyyin) in branch 'master': bpo-27931: Fix email address header parsing error (#5329) https://github.com/python/cpython/

[issue32712] Modifying a list/dict effects all variables sharing that address

2018-01-29 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Yep, that's the way Python works. You are modifying the same object through different names. Remember that in Python it is the objects that matter (which are identified in CPython via their memory address, but

[issue32700] spam?

2018-01-28 Thread R. David Murray
Change by R. David Murray <rdmur...@bitdance.com>: -- stage: -> resolved status: open -> closed title: The replys additional (Re.) is ok. -> spam? ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue17305] IDNA2008 encoding missing

2018-01-28 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: What we need for this issue is someone volunteering to writing the code. Given how long it has already been, I don't think anyone already on the core team is going to pick

[issue32690] Return function locals() in order of creation?

2018-01-28 Thread David Beazley
David Beazley <d...@dabeaz.com> added the comment: Some context: I noticed this while discussing (in a course) a programming trick involving instance initialization and locals() that I'd encountered in the past: def _init(locs): self = locs.pop('self') for nam

[issue32606] Email Header Injection Protection Bypass

2018-01-27 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Yes. There's this thing called Postel's Law that says you should be generous in what you accept and careful in what you emit. So most MTAs and MUAs try very hard to guess what a non-RFC-compliant email is trying to say,

[issue32684] asyncio.gather(..., return_exceptions=True) swallows cancellation

2018-01-26 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: See also issue 26923, but I think this problem is different. -- nosy: +r.david.murray ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32683] isinstance is calling ob.__getattribute__ as a fallback instead of object.__class__.__get__

2018-01-26 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I don't think this is a bug. There are many ways to lie in Python. If your object lies, it is on your head when things break :) On the flip side, the ability to lie is very handy in many circumstances, and is often a case o

[issue32675] dict.__contains__(unhashable) raises TypeError where False was expected

2018-01-26 Thread R. David Murray
Change by R. David Murray <rdmur...@bitdance.com>: -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: It's probably enough to fix it. I fear that if we also change them in sendmail we'll break someone's code, but maybe we should do that anyway, for 3.7 only. -- versions: -Python 2.7, Python 3.4, Python 3.5, Pyth

[issue32672] .then execution of actions following a future's completion

2018-01-25 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I think this requires a discussion on the python-ideas mailing list, since API changes to Future need consideration in the asyncio context as well. -- components: +Library (Lib) -Interpreter Core nosy: +r.david.murra

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: On Thu, 25 Jan 2018 15:18:01 +, Steven D'Aprano <rep...@bugs.python.org> wrote: > On Thu, Jan 25, 2018 at 02:28:17PM +, R. David Murray wrote: > The docstring for send_message does say > >

[issue32669] cgitb file to print OSError exceptions

2018-01-25 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Yep, this one might get closed as "as designed", too ;) cgitb has to cope with something going wrong with trying to print out values, because there are a number of ways to break that in Python, not just the one

[issue32657] Mutable Objects in SMTP send_message Signature

2018-01-25 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Chason: that does look like a bug. Mutable defaults are best to avoid, but if they are used read-only and not passed down further it isn't a problem. send_message was modeled on sendmail, and so copied it's use of defaults

[issue32656] writing to stdout prints extraneous size character

2018-01-24 Thread David Albert Torpey
New submission from David Albert Torpey <dt...@users.sourceforge.net>: $ python3.5 Python 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 08:49:46) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "lice

[issue32655] File mode should be a constant

2018-01-24 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: That isn't a bug. Python doesn't protect you from doing the wrong thing, in general. On the other hand, it might be a worthwhile improvement to make it read-only in this case. Especially since, as you point out, other see

[issue32634] Message parsing fails where it has incompele headers

2018-01-23 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Yes, it is. -- stage: patch review -> resolved status: open -> closed type: crash -> behavior ___ Python tracker <rep...@bugs.python.org> <https://bu

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

2018-01-23 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Note: I reviewed this a while ago but the review comments haven't been addressed. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Could WindowsPath (as opposed to PureWindowsPath) call samefile as part of the equality test? (I'm not familiar enough with pathlib to know if that is a nonsense question.) -- ___

[issue32612] pathlib.(Pure)WindowsPaths can compare equal but refer to different files

2018-01-23 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Maybe we could at least mention the issue (and perhaps link to samefile) in the "General Properties" section? -- nosy: +r.david.murray ___ Python tracker <rep...@bugs

[issue32493] UUID Module - FreeBSD build failure

2018-01-23 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: In OpenBSD it s even "worse", the version for each call is random (not a surprise when looking at the source). The question is, do we go back to support only AIX or do we accept someh

[issue32594] File object 'name' attribute inconsistent type and not obviously documented

2018-01-20 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Ah, yes. When I said "this has been discussed previously", that's the issue I was thinking of but couldn't find. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -

[issue25910] Fixing links in documentation

2018-01-20 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: @guido: in roundup, by default anyone can change the issue title. I imagine he is a new user who just didn't understand that he was doing so. (And indeed, the account was created o

[issue32601] PosixPathTest.test_expanduser fails in NixOS build sandbox

2018-01-19 Thread R. David Murray
Change by R. David Murray <rdmur...@bitdance.com>: -- nosy: +pitrou ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32601> ___ _

[issue32594] File object 'name' attribute inconsistent type and not obviously documented

2018-01-18 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I believe you are correct that it is too late to modify the existing behavior. Too many programs depend on it. As far as documenting, my point is that it is *not specified* what the name attribute contains. It can contain lit

[issue32594] File object 'name' attribute inconsistent type and not obviously documented

2018-01-18 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: This has been discussed previously. The nature of the 'name' attribute for file objects is not really specified, so I'm not even sure what we would document. Maybe just that it is unspecified. -- nosy: +r.david.

[issue32590] Proposal: add an "ensure(arg)" builtin for parameter validation

2018-01-18 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I'm not clear why we want a bug tracker issue for something that is still only an idea. We generally *send* people to python-ideas when they propose half-baked ideas here :) (Not actually saying your idea is half

[issue32493] UUID Module - FreeBSD build failure

2018-01-17 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: Gives same outcome but maybe someone else can confir, -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32493] UUID Module - FreeBSD build failure

2018-01-17 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: uuid_create only I think. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32581] A bug of the write funtion of ConfigParser.py

2018-01-17 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I'll defer to Lukasz, but I don't believe this is a bug. An empty value and a value of "" are equivalent in config.ini syntax, as far as I know. -- nosy: +lukasz.langa __

[issue32581] A bug of the write funtion of ConfigParser.py

2018-01-17 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Please provide a way to reproduce the problem you are observing. There is insufficient information here so far to understand the problem. -- nosy: +r.david.murray ___ Python tracke

[issue30693] tarfile add uses random order

2018-01-17 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Ah, I was just going to ask about that. I guess I'm -0 on the backport as well. The other reproducible build stuff is only going to land in 3.7. However, this is in a more general category than the pyc stuff, so I c

[issue30693] tarfile add uses random order

2018-01-17 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Given the reproducible builds angle, I'd say this was worth doing. -- nosy: +r.david.murray ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32577] Pip creates entry point commands in the wrong place when invoked in a venv nested in a virtualenv

2018-01-17 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: This is sounds like a variation on issue 30811. -- nosy: +r.david.murray ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32579] UUID module fix, uuid1 python module function

2018-01-17 Thread David CARLIER
New submission from David CARLIER <devne...@gmail.com>: Spotted to UUID unit tests https://bugs.python.org/issue32493 -- components: Library (Lib) messages: 310154 nosy: David CARLIER2 priority: normal pull_requests: 5068 severity: normal status: open title: UUID module fix,

[issue32493] UUID Module - FreeBSD build failure

2018-01-17 Thread David CARLIER
David CARLIER <devne...@gmail.com> added the comment: Might comes from uuid1 function itself ... e.g. line 704 not setting version "field". ------ nosy: +David CARLIER2 ___ Python tracker <rep...@bugs.python.org> <https://b

[issue26692] cgroups support in multiprocessing

2018-01-16 Thread David Chin
David Chin <david.w.h.c...@gmail.com> added the comment: I would like to state strong support if is.get_usable_cpu_count() I administer a typical HPC cluster which may have multiple jobs scheduled on the same physical server. The fact that multiprocessing ignores cgroups leads

[issue32573] sys.argv documentation should include caveat for embedded environments

2018-01-16 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: A better question might be: is there something in the embedding framework that should initialize argv to the empty list? embedding framework here could have two meanings: either the third party code, or the code that we p

[issue32569] Blake2 module, memory clearance update

2018-01-16 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: No worries If I saw first it was an extra project I would not have try to submit in Cpython. Apologies. I ll see what I can do in blake2 side :-) -- ___ Python tracker <rep...@bugs.p

[issue32569] Blake2 module, memory clearance update

2018-01-16 Thread David Carlier
David Carlier <dcarl...@afilias.info> added the comment: Since the PR had been closed. -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker <rep...@bugs.python.org> <https://bu

[issue32569] Blake2 module, memory clearance update

2018-01-16 Thread David Carlier
Change by David Carlier <dcarl...@afilias.info>: -- components: Library (Lib) nosy: David Carlier priority: normal pull_requests: 5056 severity: normal status: open title: Blake2 module, memory clearance update type: enhancement versions: Pyth

[issue32569] Blake2 module, memory clearance update

2018-01-16 Thread David Carlier
New submission from David Carlier <dcarl...@afilias.info>: Might brings a bit of "controversy" but some oses have already unoptimizable memset like functions from their libc was thinking to just use them instead. -- ___ Pyt

[issue15115] Duplicated Content-Transfer-Encoding header when applying email.encoders

2018-01-15 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I believe so. For python3 I think it should only apply to the legacy API docs (you would use set_content (directly or indirectly) in python3, not set_payload). I've updated the versions. -- versions: +Python 3.6, Pyth

[issue32493] UUID Module - FreeBSD build failure

2018-01-09 Thread David Carlier
David Carlier <dcarl...@afilias.info> 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 <rep...@bugs.python.org> <https://

[issue32518] HTTPServer can't deal with persistent connection properly

2018-01-09 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Well, it does support a persistent connection, but that connection lasts until it is shut down from the other side. Documentation improvement suggestions are welcome. -- ___ Python t

[issue32518] HTTPServer can't deal with persistent connection properly

2018-01-09 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: In particular, if we don't already have an example of using the threading mixin we should, so a doc RFE to add that would be nice. -- ___ Python tracker <rep...@bugs.python.or

[issue32518] HTTPServer can't deal with persistent connection properly

2018-01-08 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Yes, I would say it is. Note that this isn't going to get "fixed" in 2.7, because 2.7 doesn't get new features, and the proposed change to the CLI is a new feature. As noted in that issue discussion we aren't

[issue32493] UUID Module - FreeBSD build failure

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

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2018-01-07 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I think Nick was the last one who touched the byte/string issues in urllib, so I've nosied him. We'll see what he thinks (but this tracker accepts enhancement proposals as long as they are smallish ones). -- nosy: +nc

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2018-01-07 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: We generally don't do type checking (see discussions of "duck typing"). We generally do just let the implementation detail bubble up. I don't think the encoding suggestion works, since we can't know what encoding

[issue32509] doctest syntax ambiguity between continuation line and ellipsis

2018-01-06 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Ah, I see my answer crossed with your post :) -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32509] doctest syntax ambiguity between continuation line and ellipsis

2018-01-06 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: What happens if you print a placeholder line first, before your test output? I'm not sure it will work, I seem to remember something about an ellipses starting a line just not being supported, but it was a long time ago.

[issue32501] Documentation for dir([object])

2018-01-06 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I'm not sure, but the discussion I remember was that it would require changes to an awful lot of places in the docs that would make the docs harder to read. It is very seldom in normal Python coding that an object has a

[issue32501] Documentation for dir([object])

2018-01-06 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: This is a general property of dunder methods in python3, and I think we have chosen not to change the wording when this has come up in other contexts. I'm not sure, though. -- nosy: +r.david.

[issue32498] urllib.parse.unquote raises incorrect errormessage when string parameter is bytes

2018-01-05 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: If you read the traceback the message is "correct" for some definition of correct: the right hand side controls the type of the expression, so it is objecting to trying to look for the string '%' in a bytes object. Th

[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 <dje@gmail.com> 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, addi

[issue17972] inspect module docs omits many functions

2018-01-05 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Just warnings, no docs. We've done this before for other helper functions, but it is always a judgement call whether it is worth the churn. I defer to those people who have actually done work on the module for the

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

2018-01-04 Thread David Bolen
David Bolen <db3l@gmail.com> 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.

[issue32493] UUID Module - FreeBSD build failure

2018-01-04 Thread David Carlier
New submission from David Carlier <dcarl...@afilias.info>: 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

[issue17972] inspect module docs omits many functions

2018-01-04 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: I think adding an __all__ in 3.7 would be reasonable. You are right that we can't simply rename them for backward compatibility reasons. We could rename them, and leave a stub function (that calls the renamed function) but

[issue32491] base64.decode: linebreaks are not ignored

2018-01-03 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: This reduces to the following: >>> from binascii import a2b_base64 as f >>> f(b'MTIzND\nU2Nzg5\n') b'123456789' >>> f(b'MTIzND\n') Traceback (most recent call last): File "", li

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

2018-01-03 Thread David Vitek
David Vitek <dvi...@grammatech.com> 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 f

[issue32488] Fatal error using pydoc

2018-01-03 Thread R. David Murray
Change by R. David Murray <rdmur...@bitdance.com>: -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32487] assertRaises should return the "captured" exception

2018-01-03 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: This has been proposed and rejected before, for example in issue 28135. If you want to pursue it you'll need to start a thread on python-ideas. -- nosy: +r.david.murray resolution: -> duplicate stage: needs patch -&

[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 <dje@gmail.com> 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 posixmo

[issue32452] Brackets and Parentheses used in an ambiguous way

2018-01-02 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Thanks, Mariatta. I did click on the details link, so either the restart link isn't obvious or I don't have the correct permissions to do a restart :) And thanks Emily for doing the PR. -- resolution: -> fixed sta

[issue32452] Brackets and Parentheses used in an ambiguous way

2018-01-02 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: New changeset 0e0d1017a4c8ad6f77ee42d7b640463058037f62 by R. David Murray (Miss Islington (bot)) in branch '2.7': bpo-32452: clarify term 'brackets' in generator tutorial (GH-5079) (#5082) https://github.com/python/cpython/

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

2018-01-02 Thread David Edelsohn
Change by David Edelsohn <dje@gmail.com>: -- nosy: +David.Edelsohn ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27435> ___

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

2018-01-02 Thread David Edelsohn
Change by David Edelsohn <dje@gmail.com>: -- nosy: +David.Edelsohn ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue10656> ___

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

2018-01-02 Thread David Edelsohn
Change by David Edelsohn <dje@gmail.com>: -- nosy: +David.Edelsohn ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28009> ___

[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 <dje@gmail.com> 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 /

[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 <dje@gmail.com> 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_

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

2018-01-02 Thread David Edelsohn
Change by David Edelsohn <dje@gmail.com>: -- nosy: +David.Edelsohn ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28290> ___

[issue27643] test_ctypes fails on AIX with xlc

2018-01-02 Thread David Edelsohn
Change by David Edelsohn <dje@gmail.com>: -- nosy: +David.Edelsohn ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue27643> ___

[issue32452] Brackets and Parentheses used in an ambiguous way

2018-01-02 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: It looks like the docs job hung on the 2.7 backport, but I don't see how to restart it. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32452] Brackets and Parentheses used in an ambiguous way

2018-01-02 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: New changeset f24c1857a8a1ba3efb3f957d43371bc9499e3c86 by R. David Murray (Miss Islington (bot)) in branch '3.6': bpo-32452: clarify term 'brackets' in generator tutorial (GH-5079) (#5081) https://github.com/python/cpython/

[issue32452] Brackets and Parentheses used in an ambiguous way

2018-01-01 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: New changeset f190eb59e60e2ae7a7cbd396458389a7a076e0d3 by R. David Murray (Emily Morehouse) in branch 'master': bpo-32452: clarify term 'brackets' in generator tutorial (#5079) https://github.com/python/cpython/

[issue32474] argparse nargs should support string wrapped integers too

2018-01-01 Thread R. David Murray
R. David Murray <rdmur...@bitdance.com> added the comment: Agreed. I don't think there is sufficient motivation for doing this, and there are downsides as Eric has pointed out. Rejecting. -- resolution: -> rejected stage: patch review -> resolved status: op

<    5   6   7   8   9   10   11   12   13   14   >