[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-21 Thread Fabian

Fabian added the comment:

It is consistent as in it happens on every run of the test suite. But 
unfortunately I haven't checked if it's always happening at the same place. 
Luckily we have 4 builds on Travis with 3.6 and in all it happened from the 
beginning and got  100 matches for “KeyError:”:

* https://travis-ci.org/wikimedia/pywikibot-core/jobs/71537432#L274
* https://travis-ci.org/wikimedia/pywikibot-core/jobs/71626596#L274
* https://travis-ci.org/wikimedia/pywikibot-core/jobs/71636529#L274
* https://travis-ci.org/wikimedia/pywikibot-core/jobs/71637809#L274
* https://travis-ci.org/xZise/pywikibot-core/builds/71550286#L274

Maybe I can do additional analysis but I'm pretty sure for me locally I didn't 
get failures so soon.

And no I wasn't aware about OrderedDict implemented in C. Now I haven't done 
tests in 3.5.0b3 (which seems to be the newest version of 3.5 available via 
pyenv at the moment) as it's relatively cumbersome and prevents me from doing 
any development on pywikibot at the same time. Anyway I still might do it and 
report whether I get the error too (unless OrderedDict is still implemented in 
Python in that version).

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24667
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24485] Function source inspection fails on closures

2015-07-21 Thread Yury Selivanov

Yury Selivanov added the comment:

Meador, the patch looks OK.  Could you please commit it yourself?

--
assignee:  - meador.inge

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24485
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23591] Add IntFlags

2015-07-21 Thread Ethan Furman

Ethan Furman added the comment:

My experience is that a module maintainer, or somebody claiming to speak for 
the module maintainer, can close any issue in their area at any time regardless 
of the number of core devs in favor of a change.

Whatever.  I'll leave this open and write up a spec of what IntFlags should 
look like in case somebody wants to write the patch for it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23591
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24653] Mock.assert_has_calls([]) is surprising for users

2015-07-21 Thread Robert Collins

Robert Collins added the comment:

Ok, so as a doc bug this should still be tracked here - I'm going to reopen it 
to reflect that, hope thats ok.

--
assignee:  - docs@python
components: +Documentation
nosy: +docs@python
resolution: not a bug - 
status: closed - open
title: Mock.assert_has_calls([]) incorrectly passes - 
Mock.assert_has_calls([]) is surprising for users

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24653
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2015-07-21 Thread Carl Meyer

Carl Meyer added the comment:

Er, I meant `AttributeError`, of course...

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24651
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2015-07-21 Thread Carl Meyer

Carl Meyer added the comment:

As a frequent and long-time user of mock, the `assert_*` methods being on the 
mock object itself has always struck me as an unfortunate wart on an otherwise 
great library. The change to raise `AssertionError` on `assert_*` and 
`assret_*` feels like piling an ugly band-aid on top of the wart. I'd love to 
see Robert's suggested solution of moving the assertion helpers to standalone 
functions.

--
nosy: +carljm

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24651
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12067] Doc: remove errors about mixed-type comparisons.

2015-07-21 Thread Martin Panter

Martin Panter added the comment:

Patch v15. No doc changes, but I refactored the test code:

* Manually merged with recent changes
* Separate assert_equality_only() and assert_total_order() test methods. 
Hopefully this is a bit simpler for people to understand and review, and avoids 
suggesting that partial ordering is tested.
* Dropped subTest() instances with identical parameters. The basic stack trace 
can already distinguish these.
* Eliminated is_value_comparable(); remove the ”meth” parameters from the call 
sites instead

--
versions: +Python 3.6
Added file: 
http://bugs.python.org/file39970/issue12067-expressions-py3.5_v15.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24681] Put most likely test first is set_add_entry()

2015-07-21 Thread Raymond Hettinger

New submission from Raymond Hettinger:

Since the *found_active* exit is like the *found_error* exit in that it makes 
no further use of *entry*, it can be moved before the table/entry_key check 
whose purpose is to make sure the *entry* pointer is still valid.  This change 
doesn't apply to lookkey() which makes downstream use of the entry pointer.  In 
constrast, set_add_entry() is fully self-contained now and only returns a 0 or 
-1 rather than a pointer into the set table.

This puts the most likely test case first, putting it ahead of the two memory 
reloads in table/entry_key check.

Also, add an else if to the initial freeslot check to make it match the 
corresponding else if in the linear probe loop.

--
assignee: serhiy.storchaka
components: Interpreter Core
files: better_test_order.diff
keywords: patch
messages: 247086
nosy: rhettinger, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Put most likely test first is set_add_entry()
versions: Python 3.6
Added file: http://bugs.python.org/file39972/better_test_order.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24681
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24603] Update OpenSSL to 1.0.2d in Windows and OS X installer

2015-07-21 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 53c0c8914ad0 by Zachary Ware in branch '2.7':
Issue #24603: Update Windows build to use OpenSSL 1.0.2d
https://hg.python.org/cpython/rev/53c0c8914ad0

New changeset f4cd9ac378d7 by Zachary Ware in branch '3.4':
Issue #24603: Update the Windows build to use OpenSSL 1.0.2d
https://hg.python.org/cpython/rev/f4cd9ac378d7

New changeset 2930e23d729f by Zachary Ware in branch '3.5':
Issue #24603: Update the Windows build to use OpenSSL 1.0.2d
https://hg.python.org/cpython/rev/2930e23d729f

New changeset 310613b993d4 by Zachary Ware in branch 'default':
Issue #24603: Merge with 3.5
https://hg.python.org/cpython/rev/310613b993d4

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24603
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24682] Add Quick Start: Communications section to devguide

2015-07-21 Thread Carol Willing

New submission from Carol Willing:

Add a Quick Start: Communications section to devguide (or Q S: Community 
Interaction) as discussed on python-dev mailing list today.

The Quick Start: Communications section should be brief, link to other sections 
in the devguide, and give contributor's guidance about mailing list usage. It 
is possible that new sections of the devguide will be created to provide 
additional detail and be referenced by the Quick Start: Communications section. 

Rename existing devguide/#quick-start 'Quick Start' to 'Quick Start: Code 
Development'. Thanks Terry Reedy for the name suggestions.

--
assignee: willingc
components: Devguide
messages: 247090
nosy: ezio.melotti, willingc
priority: normal
severity: normal
status: open
title: Add Quick Start: Communications section to devguide
type: enhancement

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24682
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24669] inspect.getsource() returns the wrong lines for coroutine functions

2015-07-21 Thread Roundup Robot

Roundup Robot added the comment:

New changeset f02c5bf59fbb by Yury Selivanov in branch '3.5':
Issue #24669: Fix inspect.getsource() for 'async def' functions.
https://hg.python.org/cpython/rev/f02c5bf59fbb

New changeset 6629773fef63 by Yury Selivanov in branch 'default':
Merge 3.5 (Issue #24669)
https://hg.python.org/cpython/rev/6629773fef63

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24669
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24669] inspect.getsource() returns the wrong lines for coroutine functions

2015-07-21 Thread Yury Selivanov

Yury Selivanov added the comment:

Thanks, Kai!

--
resolution:  - fixed
stage: patch review - resolved
status: open - closed
versions: +Python 3.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24669
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22123] Provide a direct function for types.SimpleNamespace()

2015-07-21 Thread Berker Peksag

Changes by Berker Peksag berker.pek...@gmail.com:


--
nosy: +berker.peksag

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22123
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24619] async/await parser issues

2015-07-21 Thread Nick Coghlan

Nick Coghlan added the comment:

Patch  test cases look good to me.

I'm so used to thinking of the tokenisation phase as a linear token stream
that it never occurred to me to just count the function nesting directly to
determine if the async def tokenisation rules are in effect - it's a very
nice simplifying improvement.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24619
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2015-07-21 Thread Kevin Benton

Kevin Benton added the comment:

What about other methods/properties like called, call_count, and reset_mock? It 
seems that they should be removed as well to be consistent with the reason for 
this change.

--
nosy: +kevinbenton

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24651
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24680] typo in documentation, section extending python

2015-07-21 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 91b738cfdc2f by Zachary Ware in branch '2.7':
Issue #24680: Remove random backslash.  Patch by cdz.
https://hg.python.org/cpython/rev/91b738cfdc2f

New changeset cf0011b6ebbd by Zachary Ware in branch '3.4':
Issue #24680: Remove random backslash.  Patch by cdz.
https://hg.python.org/cpython/rev/cf0011b6ebbd

New changeset d7229f26dbdb by Zachary Ware in branch '3.5':
Issue #24680: Merge with 3.4
https://hg.python.org/cpython/rev/d7229f26dbdb

New changeset 96910e822266 by Zachary Ware in branch 'default':
Closes #24680: Merge with 3.5
https://hg.python.org/cpython/rev/96910e822266

--
nosy: +python-dev
resolution:  - fixed
stage: commit review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24680
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24680] typo in documentation, section extending python

2015-07-21 Thread cdz

New submission from cdz:

In section 3. Building C and C++ Extensions with distutils there is 
unnecessary \ in the middle of the line. Seems to be bulk (re)formatting 
issue.

Simple patch fixing the issue is attached.

--
assignee: docs@python
components: Documentation
files: extending_doc_typo.diff
keywords: patch
messages: 247080
nosy: cdz, docs@python
priority: normal
severity: normal
status: open
title: typo in documentation, section extending python
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file39971/extending_doc_typo.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24680
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21750] mock_open data is visible only once for the life of the class

2015-07-21 Thread Robert Collins

Robert Collins added the comment:

So the 1.1.4 behaviour matches that of a VFS most closely. But, see the earlier 
messages, it does do only and precisely because it breaks regular mock idioms. 
Thus I think we're better off with the new patch, which addresses the issue 
with reuse of the mocks in subclassed tests(with the patch decorator), as well 
as with repeated opens, while still preserving the basic structure and feel of 
'Mock'.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12067] Doc: remove errors about mixed-type comparisons.

2015-07-21 Thread Berker Peksag

Berker Peksag added the comment:

I think we can commit documentation and tests separately. I just did a quick 
review of the test changes and I will add some review comments later (sorry, 
lack of time :)).

--
nosy: +berker.peksag

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12067
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24053] Define EXIT_SUCCESS and EXIT_FAILURE constants in sys

2015-07-21 Thread Martin Panter

Martin Panter added the comment:

FWIW I have wondered in the past why these constants were missing. I would be 
more likely to use them when checking an exit status than when setting one. I 
typically do “raise SystemExit()” or “raise SystemExit('Error message')”, which 
implicitly sets the status.

My preference would be to put EXIT_SUCCESS and EXIT_FAILURE in the “os” module, 
next to the existing EX_ codes. But I guess the “sys” module would also work.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24053
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24680] typo in documentation, section extending python

2015-07-21 Thread Martin Panter

Martin Panter added the comment:

Nice and obvious fix, looks like it also applies to Python 2.

--
nosy: +vadmium
stage:  - commit review
versions: +Python 2.7, Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24680
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24680] typo in documentation, section extending python

2015-07-21 Thread Zachary Ware

Zachary Ware added the comment:

Fixed! Thanks for the report and patch, cdz, and thanks for the triage, Martin.

--
nosy: +zach.ware

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24680
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2015-07-21 Thread Felipe

Felipe added the comment:

Not sure it's my place to comment here, but here are my 2 cents: I think 
Robert's proposal to have module functions is the only way to have a 
user-friendly and robust API, and it solves more than just the assert typo 
problem. (And yes, it would require moving the mock public API entirely to 
functions/classmethods).

To me, there's an underlying fragility in mock since the current API for `Mock` 
is not cleanly separated from the mocked API. This issue creates the problem of 
the  assert typos, and also creates problems with name conflicts (I've always 
thought the `.call_count` attribute was particularly likely to be clobbered).

The only bullet-proof way I can think of to ensure such a conflict does not 
take place is to separate the namespaces altogether, by moving the data out of 
the Mock object and into a global structure. E.g., `mock.Mock` could have a 
class attribute (say `mock.Mock.call_log`) tracking all of the calls to all 
mocks, and there could be a series of classmethods to query this store. 
Unfortunately, this design goes seriously against the grain of OOP, but we're 
essentially back to Robert's proposal.

A more OOP-friendly approach sacrifices the '100% clash-proof guarantee' and 
only provides a 'highly unlikely to clash' guarantee instead: Mangle the mock 
API namespace. Mock currently does this for its internal attributes (e.g., 
`._mock_parent`) but not for its public API (e.g., `.assert_called_once_with`). 
To remain user-friendly, of course we wouldn't require users to mangle names by 
hand, but would provide convenience functions to access these mangled 
attributes/methods, which puts us right back at Robert's proposal.

--
nosy: +fov

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24651
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24678] raiseExceptions typo fix in logging tests

2015-07-21 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

I would use test.support.swapattr().

--
nosy: +serhiy.storchaka

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24678
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21750] mock_open data is visible only once for the life of the class

2015-07-21 Thread Robert Collins

Robert Collins added the comment:

Fixup patch. I've tested this with the reported failures and they all work.

--
Added file: http://bugs.python.org/file39967/issue-21750-2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-21 Thread Fabian

Fabian added the comment:

Yes see the tests/README.rst. And afaik do you only need to have requests and 
six installed.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24667
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2015-07-21 Thread Patrick Westerhoff

Changes by Patrick Westerhoff patrickwesterh...@gmail.com:


--
nosy: +poke

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24651
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24678] raiseExceptions typo fix in logging tests

2015-07-21 Thread Jacek Kołodziej

New submission from Jacek Kołodziej:

The typo in test_logging was discovered while working on #23883: in two tests 
the addCleanup call reverts the raiseEx*ec*ptions value (instead of 
raiseExceptions) in logging module and apparently that didn't manifest itself 
in any way.

Patch attached.

--
components: Tests
files: test_logging_typo.patch
keywords: patch
messages: 247047
nosy: Unit03, vadmium, vinay.sajip
priority: normal
severity: normal
status: open
title: raiseExceptions typo fix in logging tests
versions: Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file39966/test_logging_typo.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24678
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21750] mock_open data is visible only once for the life of the class

2015-07-21 Thread Robert Collins

Robert Collins added the comment:

But - its worth discussing. Perhaps we should roll this all back, and just say 
'use a vfs layer for tests like this'. The problem in doing that, is that the
@patch
def test_foo...

use case is actually pretty common IME, and this conflicts with the 
@patch
...
A = open()
B = open()
A.read()
B.read()

case where the reset in the open() side effect will cause B.read to end up 
returning ''.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24613] array.fromstring Use After Free

2015-07-21 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Minimal example:

import array
a = array.array(B)
a.fromstring(b'x'*0x1)
a.fromstring(a)
a.fromstring(a)

In 3.x it doesn't work. An exception is raised:

Traceback (most recent call last):
  File stdin, line 1, in module
BufferError: cannot resize an array that is exporting buffers

I think it would be better to raise an exception in 2.7 too.

--
type: security - crash

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24613
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24678] raiseExceptions typo fix in logging tests

2015-07-21 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

LGTM.

--
assignee:  - serhiy.storchaka
stage:  - commit review
type:  - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24678
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24678] raiseExceptions typo fix in logging tests

2015-07-21 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 20e2b980bb87 by Serhiy Storchaka in branch '3.4':
Issue #24678: Fixed raiseExceptions typo in logging tests.
https://hg.python.org/cpython/rev/20e2b980bb87

New changeset 7a54e400155f by Serhiy Storchaka in branch '3.5':
Issue #24678: Fixed raiseExceptions typo in logging tests.
https://hg.python.org/cpython/rev/7a54e400155f

New changeset 83b45ea19d00 by Serhiy Storchaka in branch 'default':
Issue #24678: Fixed raiseExceptions typo in logging tests.
https://hg.python.org/cpython/rev/83b45ea19d00

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24678
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24678] raiseExceptions typo fix in logging tests

2015-07-21 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you for your contribution Jacek.

--
resolution:  - fixed
stage: commit review - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24678
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-21 Thread Eric Snow

Eric Snow added the comment:

Thanks for the extra info.  I'm going to see if I can reproduce the issue by 
running the pywikibot test suite locally.  What's the best way to set that up?  
Are there instructions somewhere?

As to the C implementation, it was first released (as a special exception) in 
3.5b2.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24667
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21750] mock_open data is visible only once for the life of the class

2015-07-21 Thread Paul Koning

Paul Koning added the comment:

Sure, you can use a vfs.  That's true for a lot of mock functions; the benefit 
of mock, including mock_open, is that it provides an easier and better packaged 
way.  The behavior expected is be like a file.  So in that last example, if 
you open it twice, you've got two views of the same file data, independent of 
each other, and reads of each file will see that data in full.  A.read() has no 
effect on B.read().

I don't think I understand what the latest discussion/issue is all about.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24653] Mock.assert_has_calls([]) is surprising for users

2015-07-21 Thread Antti Haapala

Changes by Antti Haapala an...@haapala.name:


--
nosy: +ztane

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24653
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24678] raiseExceptions typo fix in logging tests

2015-07-21 Thread Jacek Kołodziej

Jacek Kołodziej added the comment:

s/swapattr/swap_attr/g :) Done.

--
Added file: http://bugs.python.org/file39968/test_logging_typo.v2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24678
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14373] C implementation of functools.lru_cache

2015-07-21 Thread Serhiy Storchaka

Changes by Serhiy Storchaka storch...@gmail.com:


--
priority: normal - release blocker

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2015-07-21 Thread Antti Haapala

Changes by Antti Haapala an...@haapala.name:


--
nosy: +ztane

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24651
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Steve Dower

Steve Dower added the comment:

Afraid it's not possible - that error comes from the loader, so we haven't had 
a chance to run anything yet.

One option would be to put some sort of readme into the zip, but that seems to 
be optimising for the wrong behavior. If I were legitimately embedding this 
from the zip file, that would be something I'd want to remove from my app 
distribution. But maybe it wouldn't be such a big deal - really need to get 
some data on people actually using this vs. getting it incorrectly.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall

Cody Piersall added the comment:

Agreed. An ounce of data is worth a pound of theory as the saying goes.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall

New submission from Cody Piersall:

Whenever I tried to run the embeddable zip file from 
https://www.python.org/downloads/windows/ for Python 3.5.0b3, the program 
crashes with the message

 The program can't start because api-ms-win-crt-math-l1-1-0.dll is missing 
 from your computer. Try reinstalling the program to fix this problem.

I suspect that this happens because I don't have any version of Visual Studio 
on my computer, but I'm not sure what causes it.  It happens with both the 
32-bit and 64-bit zip file.

Steps to reproduce:

1. Download the zip file 
https://www.python.org/ftp/python/3.5.0/python-3.5.0b3-embed-win32.zip
2. Extract the contents
3. Click on the Python executable
4. Do not have Visual Studio installed on your computer

I am running Windows 7 Enterprise, 64-bit
I have attached a screenshot of the error message.

--
files: bug.PNG
messages: 247063
nosy: Cody Piersall, steve.dower
priority: normal
severity: normal
status: open
title: Windows embeddable Python zip file crashes (cannot find a dll)
Added file: http://bugs.python.org/file39969/bug.PNG

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread R. David Murray

R. David Murray added the comment:

You shouldn't need visual studio to install python using the installer.

What verison of windows are you using?

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread R. David Murray

R. David Murray added the comment:

Woops, I see you already said and I missed it.  We'll have to wait for Steve to 
take a look.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Steve Dower

Steve Dower added the comment:

That's exactly the use case, and I might borrow your summary for the docs 
that I'll eventually write for it because you've summed it up really well.

My biggest worry right now is that people will treat it as a portable install 
and run into exactly the issue that you hit. Putting embed in the name is my 
best idea for preventing that (next idea is removing the .exe files, but that 
would hurt legitimate uses).

--
resolution:  - not a bug
stage:  - resolved
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall

Cody Piersall added the comment:

Yeah, having embeddable in the name is a good hint, I think.  It was almost 
enough for me to not even try downloading it.

Is it possible / even worth the time to give a more helpful error message?  I'm 
not sure that it's possible, based on when the dll is laoded, or if it were 
possible whether it's worth doing.  It might require more code than it's worth 
to maintain.  You'd have to...

1. In the main function in C, check whether you're running the embedded Python 
(probably with an #ifdef)
2. If so, check that the required CRT is found (which probably requires 
_another_ #ifdef for 32/64 bit, and maybe Python version)
3. If it isn't found, create a message box using the Windows API explaining the 
problem.  Which may require including the GUI libraries into the Python 
executable, and I don't think those are small things.

I'm not sure if that is either possible or desirable, though.  Or if what I 
explained would even work; I'm not sure if the DLLs are loaded right when the 
executable starts, or only as needed whenever functions from the DLLs are 
called.  And I have _no_ idea how to check for the presence of the CRT.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21750] mock_open data is visible only once for the life of the class

2015-07-21 Thread Robert Collins

Robert Collins added the comment:

@pkoning in Python3.3 == mock 1.0.1, 
 m = mock_open(read_data='f')
 m().read()
'f'
 m().read()
'f'
 x = m()
 x.read()
'f'
 x.read()
'f'
 x = m()
 y = m()
 x.read()
'f'
 y.read()
'f'

in 3.4 == mock 1.1.{0,1,2,3}, and 1.2.0
 m = mock_open(read_data='f')
 m().read()
'f'
 m().read()
''
 x = m()
 x.read()
''
 x.read()
''
 x = m()
 y = m()
 x.read()
'f'
 y.read()
''

Right now, in 3.5==mock 1.1.4
 m = mock_open(read_data='f')
 m().read()
'f'
 m().read()
'f'
 x = m()
 x.read()
'f'
 x.read()
''
 x = m()
 y = m()
 x.read()
'f'
 y.read()
'f'


With the patch I just attached:
 m = mock_open(read_data='f')
 m().read()
'f'
 m().read()
'f'
 x = m()
 x.read()
'f'
 x.read()
''
 x = m()
 y = m()
 x.read()
'f'
 y.read()
''

All different points in the solution space :)
HTH

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall

Changes by Cody Piersall cody.piers...@gmail.com:


--
components: +Windows
nosy: +paul.moore, tim.golden, zach.ware
type:  - crash

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23287] ctypes.util.find_library needlessly call crle on Solaris

2015-07-21 Thread John Beck

John Beck added the comment:

First, there are two related but somewhat separate issues here.

Regarding the patches attached to http://bugs.python.org/issue20664
they seem fine.  In theory, they should not be needed, as though it
is true that dump(1) moved from /usr/ccs/bin to /usr/bin in Solaris
11, /usr/ccs/bin still exists as a sym-link to /usr/bin.  But the
patches are written in a cautious manner, so the Right Thing [tm]
should happen in all circumstances.

Regarding my assertion that 'the default library path is a constant
on Solaris: /lib/64:/usr/lib/64 in 64-bit mode and /lib:/usr/lib
in 32-bit mode', I stand by that but will clarify what I meant by
default.  What I meant was this is what the system provides, though
users may customize as needed.

I hope that helps.  If not, I'm happy to continue the conversation.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23287
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Cody Piersall

Cody Piersall added the comment:

Ah! That makes sense. I still think the embeddable Python could be useful, but 
I don't actually have a vested interest in it at the moment.  Mostly I feel 
like it would be useful if Python is an implementation detail of an 
application, and you want to make sure that the user of your application 
doesn't mess up the Python installation.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23574] datetime: support leap seconds

2015-07-21 Thread dlroo

dlroo added the comment:

If you are using mx.DateTime make certain you do not use the .strftime method.  
If you use .strftime method and have a 60th second in your DateTime object it 
will crash python with no error message.  This occurs because the .strftime 
method is fully inherited from Python's datetime.datetime.

--
nosy: +dlroo
versions: +Python 2.7 -Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23574
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24485] Function source inspection fails on closures

2015-07-21 Thread Meador Inge

Meador Inge added the comment:

Will do.  Thanks for the review.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24485
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23287] ctypes.util.find_library needlessly call crle on Solaris

2015-07-21 Thread Jeff Quast

Jeff Quast added the comment:

John, What do you think of the patches attached to 
http://bugs.python.org/issue20664 ?

crle is not needed at all because the default library path is
a constant on Solaris

I don't believe this to be true, source? crle is absolutely needed to add 
additional library lookup paths on Solaris, did this recently change?

crle is most certainly especially in regards to zones: a zone is unable to 
modify any of the system library paths, it wouldn't be able to install any new 
libraries in those given paths (/usr/lib and /lib are often shared read-only by 
the global zone), and crle must be used to add a library path to a writable 
mountpoint, such as /usr/local/lib, and often /opt and other various deviations 
must occur to accommodate gnu tools, etc.

--
nosy: +jquast

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23287
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24679] Windows embeddable Python zip file crashes (cannot find a dll)

2015-07-21 Thread Steve Dower

Steve Dower added the comment:

Yeah, I need to clearly document that you are responsible for installing the C 
Runtime yourself.

My current theory is that embedding applications will also require the CRT (at 
least those that intend to load python3.dll or python35.dll directly), and so 
it's better for them to install the CRT if necessary (which it won't be on 
Windows 10, or any up-to-date Vista or later).

In my opinion, there's no better way to handle this. We can't redistribute the 
CRT without an installer, and if we statically link it into this particular 
version of Python:
* builds take longer
* tests take longer (we need to rerun the entire test suite for statically 
linked CRT, as it can differ from dynamically linked)
* binaries are larger, memory usage is higher, downloads are larger, etc.
* embedders now have to deal with potential CRT incompatibilities

In short, unless the embedder also installs the CRT themselves, the zip file is 
useless and I'll simply stop producing them.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24679
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23287] ctypes.util.find_library needlessly call crle on Solaris

2015-07-21 Thread Jeff Quast

Jeff Quast added the comment:

I looked over the focus on default path, thank you for clarifying!

Sadly, I can't help you move either of these patches forward, best wishes!

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23287
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22000] cross type comparisons clarification

2015-07-21 Thread Martin Panter

Martin Panter added the comment:

Actually, this is about a different section of the documentation. But it might 
still be best to update /Doc/reference/expressions.rst first in Issue 12067, 
and then sort out /Doc/library/stdtypes.rst to match.

Why do we need a dedicated section in Built-in Types about Comparisons? I think 
it might make more sense to just document how comparisons work separately for 
each type (Numeric, Sequence, Text, etc), if this is not already done.

--
dependencies: +Doc: remove errors about mixed-type comparisons.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22000
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-21 Thread Fabian

Fabian added the comment:

Okay I did a test run on all three 3.5 betas available to me through pyenv. The 
beta 3 failed as Python 3.6 does that popitem() raises a KeyError. The beta 2 
had the bug that popitem() does not support keyword arguments so I wasn't able 
to test it there. And the beta 1 works fine so it looks like the C 
implementation is the cause of this.

--
versions: +Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24667
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24651] Mock.assert* API is in user namespace

2015-07-21 Thread Ben Finney

Changes by Ben Finney ben+pyt...@benfinney.id.au:


--
nosy: +bignose

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24651
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-21 Thread Eric Snow

Eric Snow added the comment:

I've thus far been unsuccessful in running the pywikibot test suite.  I'm 
guessing there are some prerequisites (e.g. an account on some wiki site).  Is 
there a way to run the tests without network access?  Also, I ran into some 
trouble with i18n.__file__, but hacked my way around it.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24667
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21750] mock_open data is visible only once for the life of the class

2015-07-21 Thread Paul Koning

Paul Koning added the comment:

So if I understand right, it seems to me the 3.5/mock 1.1.4 behavior is 
correct.  mock_open(read_data=f) acts like a file that contains f, and m() 
acts like an open() of that file.  So if I call open once, I should read the f, 
then EOF.  If I open twice, then each stream (x and y) is independent, and each 
sees f then EOF.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21750
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14010] deeply nested filter segfaults

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14010
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22609
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23655] Memory corruption using pickle over pipe to subprocess

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23655
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21076] Turn signal.SIG* constants into enums

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21076
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23591] Add IntFlags

2015-07-21 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Why have you rejected this issue Ethan? I think this is useful feature and must 
be in Python, and other core developers agreed with this. Only minor 
implementation details are discussable.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23591
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17963] Deprecate the frame hack for implicitly getting module details

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17963
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22867] document behavior of calling atexit.register() while atexit._run_exitfuncs is running

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22867
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22656] `help` ignores `__doc__` of descriptors

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22656
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6549] ttk.Style -- minor issues with element_names and configure

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
versions: +Python 3.5 -Python 2.7, Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6549
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22738] improve 'python -h' documentation for '-c'

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22738
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21406] Some socket constants are not enums

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
resolution:  - rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21406
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24195] Add `Executor.filter` to concurrent.futures

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24195
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17546] Document the circumstances where the locals() dict get updated

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17546
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24052] sys.exit(code) returns success to the OS for some nonzero values of code

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24052
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14376] sys.exit documents argument as integer but actually requires subtype of int

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14376
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21327] socket.type value changes after using settimeout()

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21327
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24045] Behavior of large returncodes (sys.exit(nn))

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24045
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17576] PyNumber_Index() is not int-subclass friendly (or operator.index() docos lie)

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17576
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23123] Only READ support for Decimal in json

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23123
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22680] Blacklist FunctionTestCase from test discovery

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22680
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19624] Switch constants in the errno module to IntEnum

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
resolution:  - rejected
stage: needs patch - 
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19624
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1615] PyObject_GenericGetAttr suppresses AttributeErrors in descriptors

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
resolution:  - not a bug
stage: patch review - 
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1615
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13124] Add Running a Build Slave page to the devguide

2015-07-21 Thread Carol Willing

Carol Willing added the comment:

Closing this issue since a newer issue #24440 addresses devguide documentation 
of installing and running a buildbot. Thanks to R. David Murray for submitting 
the patch to #24440.

--
nosy: +willingc
resolution:  - duplicate
stage: patch review - resolved
status: open - closed
superseder:  - Move the buildslave setup information from the wiki to the 
devguide

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13124
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24665] CJK support for textwrap

2015-07-21 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

What textwrap does not take into account the width of characters is not the 
only problem. It also does not take into account combining characters and 
control codes. Implementing all this will significantly complicate the code and 
possibly should lie outside the standard library. Such large change obviously 
is new feature. I believe that we should first provide a common interface to 
determine the width of the line (issue12499) and allow to determine the 
appropriate algorithm at the application level. Also provide helper functions 
like in issue12568.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24665
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22625] When cross-compiling, don’t try to execute binaries

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22625
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23699] Add a macro to ease writing rich comparisons

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23699
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24056] Better expose closure, generator coroutine status of functions

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24056
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23572] functools.singledispatch fails when not BaseClass is True

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23572
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18173] Add MixedTypeKey to reprlib

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18173
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22698] Add constants for ioctl request codes

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22698
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23556] Scope for raise without argument is different in Python 2 and 3

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23556
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22790] some class attributes missing from dir(Class)

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22790
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17044] Implement PEP 422: Simple class initialisation hook

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17044
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17421] Drop restriction that meta.__prepare__() must return a dict (subclass)

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17421
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16508] include the object type in the lists of documented types

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16508
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10614] ZipFile: add a filename_encoding argument

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10614
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue22555] Tracking issue for adjustments to binary/text boundary handling

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22555
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15582
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11477] Incorrect operand precedence when implementing sequences in C

2015-07-21 Thread Ethan Furman

Changes by Ethan Furman et...@stoneleaf.us:


--
nosy:  -ethan.furman

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11477
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-21 Thread Fabian

Fabian added the comment:

Well as I described in the opening post:

I don't think versions before Python 3.6 are affected as we had tests running 
on Python 3.5 (before Travis switched to 3.6 recently) and these all worked.

Now tbh I don't know if a version of 3.5 is affected but was never tested by 
Travis. And if then the 3.6 branch was branched of that version. If that how it 
works. As I'm using pyenv I could easily test this on Python 3.5b3. By the way 
the last official test run on Pyhton 3.5 using Travis was using 3.5a4+: 
https://travis-ci.org/wikimedia/pywikibot-core/jobs/71443578#L144

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24667
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >