[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file43502/idle-news.diff ___ Python tracker ___

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Larry, there is a slight reversion in 3.5.2rc that I think should be fixed: idlelib/NEWS.txt will not display from About IDLE dialog because it had a couple of non-ascii chars. idle_news-35.diff has the full patch. A minimal fix for 3.5.2 final would

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : Added file: http://bugs.python.org/file43503/idle-news-27.diff ___ Python tracker ___

[issue22228] Adapt bash readline operate-and-get-next function

2016-06-21 Thread Martin Panter
Martin Panter added the comment: For the record, this “operate-and-get-next” function is documented in Bash at . It is supposed to finish entering the

[issue22463] Warnings when building on AIX

2016-06-21 Thread Martin Panter
Martin Panter added the comment: FWIW on the current AIX buildbot I don’t see any cPickle.c warnings. (Nor on the earliest build available on that buildbot, from Nov 2015.) -- resolution: -> fixed stage: -> resolved

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- keywords: +patch Added file: http://bugs.python.org/file43502/idle-news.diff ___ Python tracker ___

[issue27365] Allow non-ascii chars in IDLE NEWS.txt (for contributor names)

2016-06-21 Thread Terry J. Reedy
New submission from Terry J. Reedy: A month ago, for 3.5 and 3.6, I added a test file by Westley Martínez (note accent on i) and then his name into Misc/NEWS and idlelib/NEWS.txt. As a result, the latter will not display when the button on About IDLE is clicked. Instead, a

[issue27344] zipfile *does* support utf-8 filenames

2016-06-21 Thread Daniel Holth
Daniel Holth added the comment: This is a simple documentation bug about the ZIP file format supporting utf-8 and 'no encoding' filenames depending on whether two bits are set in a flag inside the archive member. Bug 10614 appears to be a different issue about out-of-band encoding information

[issue22463] Warnings when building on AIX

2016-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffe866aa86a8 by Martin Panter in branch '2.7': Issue #22463: Cure unused function warnings on AIX https://hg.python.org/cpython/rev/ffe866aa86a8 -- ___ Python tracker

[issue22463] Warnings when building on AIX

2016-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset b1c1c297bead by Martin Panter in branch '2.7': Issue #22463: Correct #endif placement; patch by Senthil Kumaran https://hg.python.org/cpython/rev/b1c1c297bead -- ___ Python tracker

[issue27051] Create PIP gui

2016-06-21 Thread Nick Coghlan
Nick Coghlan added the comment: pip_gui.pip_tkinter.utils.runpip has indeed switched to using subprocess (and yes, the PyPA crew are significantly more careful with backwards compatibility there), but there are still a couple of other API imports in that module:

[issue22463] Warnings when building on AIX

2016-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b63465a1796 by Martin Panter in branch '2.7': Issue #22463: Backport compiler warning fixes and workarounds https://hg.python.org/cpython/rev/0b63465a1796 -- nosy: +python-dev ___ Python tracker

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-21 Thread Robert Collins
Robert Collins added the comment: Chris, I suggested altering assertAlmostEqual in http://bugs.python.org/issue27198#msg267187 :) - I took your agreement with that as a good thing and didn't reply because I had nothing more to add. IMO the status of this issue is as you indicated: you needed

[issue27344] zipfile *does* support utf-8 filenames

2016-06-21 Thread R. David Murray
R. David Murray added the comment: See issue 10614 for the current state of play. This issue should probably be closed in favor of that one. -- nosy: +r.david.murray ___ Python tracker

[issue27198] Adding an assertClose() method to unittest.TestCase

2016-06-21 Thread Chris Barker
Chris Barker added the comment: Did my comments not get posted, or are they not being read? Anyway: Could we keep the issues separate here? 1) If you don't like the name, propose another name -- no none has defended this name since an objection was first raised. I"m sure we can find one that

[issue24137] Force not using _default_root in IDLE

2016-06-21 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue24137] Force not using _default_root in IDLE

2016-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 064b29dde096 by Terry Jan Reedy in branch 'default': Issue #24137: Run IDLE, test_idle, and htest with tkinter default root disabled. https://hg.python.org/cpython/rev/064b29dde096 -- nosy: +python-dev

[issue27051] Create PIP gui

2016-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I rechecked #23351 and in msg249924 Donald did disclaim any guarantee that using main() would work forever. He suggested instead using subprocess and the command line interface as presumably more stable. In tem_pip_v3.py Upendra switched to using subprocess

[issue26974] Crash in Decimal.from_float

2016-06-21 Thread Stefan Krah
Stefan Krah added the comment: I'll look at it soon -- I just don't have much time right now. -- assignee: -> skrah ___ Python tracker ___

[issue26556] Update expat to 2.1.1

2016-06-21 Thread Carson Lam
Changes by Carson Lam : -- title: Update expat to 2.2.1 -> Update expat to 2.1.1 ___ Python tracker ___

[issue26975] Decimal.from_float works incorrectly for non-binary floats

2016-06-21 Thread Stefan Krah
Stefan Krah added the comment: Let's close it then. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue26975] Decimal.from_float works incorrectly for non-binary floats

2016-06-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: I vote for ignoring this and calling it not-a-bug. In a way, it is no more interesting than a dict like object defining __hash__ to return a random number. The intention for from_float() is to convert binary floats. It was not meant to be generalized to

[issue24137] Force not using _default_root in IDLE

2016-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Conditioned NoDefaultRoot() on use_subprocess. Ran through menu. Will push soon after rechecking patches with Rietveld. Thanks for the additional review. I don't know that this caught any real bugs in IDLE itself. But many of the htests needed upgrading

[issue27033] Change the decode_data default in smtpd to False

2016-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can this issue be closed? -- ___ Python tracker ___ ___ Python-bugs-list

[issue27007] Alternate constructors bytes.fromhex() and bytearray.fromhex() return an instance of base type

2016-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue26974] Crash in Decimal.from_float

2016-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Stefan? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue18726] json functions have too many positional parameters

2016-06-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset db5fe5c4d09d by Serhiy Storchaka in branch 'default': Issue #18726: All optional parameters of the dump(), dumps(), https://hg.python.org/cpython/rev/db5fe5c4d09d -- nosy: +python-dev ___ Python tracker

[issue23591] Add IntFlags

2016-06-21 Thread Ethan Furman
Ethan Furman added the comment: Just look briefly through your patches, and they look pretty good. I'll take a more in-depth look in the next couple weeks. (Feel free to ping again if you don't see any activity from me, and thanks for your patience.) --

[issue27364] Deprecate invalid unicode escape sequences

2016-06-21 Thread Emanuel Barry
New submission from Emanuel Barry: Attached patch deprecates invalid escape sequences in unicode strings. The point of this is to prevent issues such as #27356 (and possibly other similar ones) in the future. Without the patch: >>> "hello \world" 'hello \\world' With the patch: >>> "hello

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-21 Thread Berker Peksag
Berker Peksag added the comment: This was discussed on python-ideas before: * https://groups.google.com/forum/#!msg/python-ideas/MbvpK21nUNA/DwYpOFOVuYMJ * https://groups.google.com/forum/#!msg/python-ideas/JVLuo-L0reU/zLNnBa9THqgJ I don't think there was an agreement on the idea so I suggest

[issue23545] Turn on extra warnings on GCC

2016-06-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___

[issue24821] The optimization of string search can cause pessimization

2016-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ping. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27051] Create PIP gui

2016-06-21 Thread Nick Coghlan
Nick Coghlan added the comment: Unfortunately, Ned's right in highlighting a potential pip integration problem here: pip DOES NOT expose a supported Python API, but pip_tkinter currently imports APIs from within the pip package. This means that somebody doing "pip install --upgrade pip" may

[issue23591] Add IntFlags

2016-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What should be done for landing this in 3.6? -- ___ Python tracker ___

[issue23839] Clear caches after every test

2016-06-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.6 -Python 3.4 ___ Python tracker ___

[issue23034] Dynamically control debugging output

2016-06-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue23545] Turn on extra warnings on GCC

2016-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could anyone please make a review? -- versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue27172] Add skip_bound_arg argument to inspect.Signature.from_callable()

2016-06-21 Thread Nick Coghlan
Nick Coghlan added the comment: Hi Ryan, sorry for the delayed response. My own concern with this proposal is that I don't understand the use case for it. We changed the inspect.signature behaviour away from that of inspect.getfullargspec because we considered the latter behaviour to be

[issue27363] Complex with negative zero imaginary part

2016-06-21 Thread Mark Dickinson
Mark Dickinson added the comment: Related: #17336, #22548, #25839 -- ___ Python tracker ___ ___

[issue27363] Complex with negative zero imaginary part

2016-06-21 Thread Mark Dickinson
Mark Dickinson added the comment: This has been discussed in multiple issues before this one. Currently, `complex` from a string provides one of two ways to get a complex number with the correct signs for the real and imaginary parts; I'd hate to change that to give wrong results instead.

[issue27363] Complex with negative zero imaginary part

2016-06-21 Thread Vedran Čačić
New submission from Vedran Čačić: Look: >>> complex('1-0j') (1-0j) >>> 1-0j (1+0j) Yes, I understand what's going on, and it's probably wrong / too much to expect 1-0j to work properly, but I'd really like the complex from string constructor to be consistent with that. Even

[issue27350] Compact and ordered dict

2016-06-21 Thread Mark Dickinson
Mark Dickinson added the comment: > That doesn't sound right. It should be available always. To elaborate: assuming not Windows, the configure script has two checks: if AC_CHECK_TYPE(int32_t, ...) succeeds (which should happen whenever int32_t is defined in either stdint.h or inttypes.h), it

[issue27350] Compact and ordered dict

2016-06-21 Thread Mark Dickinson
Mark Dickinson added the comment: > I found PY_INT32_T in pyport.h. It seems only available when stdint.h is > available. That doesn't sound right. It should be available always. -- nosy: +mark.dickinson ___ Python tracker

[issue27309] Visual Styles support to tk/tkinter file and message dialogs

2016-06-21 Thread Steve Dower
Steve Dower added the comment: > Would it be possible to tie this to _tkinter.pyd instead of python{w}.exe? Afraid not, Windows needs to load a different version of a particular DLL for the entire process. But at this stage it shouldn't negatively affect anyone. I'd even be okay adding it

[issue27353] Add nroot function to math

2016-06-21 Thread Mark Dickinson
Mark Dickinson added the comment: [Serhiy] > ... nroot() wouldn't help too much to implement geometric mean It's fine, so long as it's only being called once or twice at the end of the calculation (it's even helpful to have the last operation be an nth root call, since that's a contracting

[issue27353] Add nroot function to math

2016-06-21 Thread Mark Dickinson
Mark Dickinson added the comment: [Raymond, quoting Matlab] > in cases where both real and complex roots exist, power returns only the > complex roots. Yes, this would be the main motivation for me, too, if only to be able to answer the many StackOverflow questions like this one:

[issue27309] Visual Styles support to tk/tkinter file and message dialogs

2016-06-21 Thread Zachary Ware
Zachary Ware added the comment: I wonder whether this manifest change would affect other GUI toolkit packages (though frankly I'm having trouble finding any others that work with Python 3 on Windows...), positively or negatively. Would it be possible to tie this to _tkinter.pyd instead of

[issue27309] Visual Styles support to tk/tkinter file and message dialogs

2016-06-21 Thread Steve Dower
Steve Dower added the comment: If someone wants to make a patch, the manifest we embed is in PC/python.manifest -- ___ Python tracker ___

[issue27285] Document the deprecation of pyvenv in favor of `python3 -m venv`

2016-06-21 Thread Brett Cannon
Brett Cannon added the comment: No one is working on it, Steve, so feel free to write a patch. -- ___ Python tracker ___

[issue27350] Compact and ordered dict

2016-06-21 Thread INADA Naoki
INADA Naoki added the comment: As I posted to python-dev ML, this compact ordered dict doesn't keep insertion order for key-shared dict. >>> class A: ... ... ... >>> a = A() >>> b = A() >>> a.a = 1 >>> a.b = 2 >>> b.b = 3 >>> b.a = 4 >>> a.__dict__.items() dict_items([('a', 1), ('b', 2)])

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-21 Thread Daniel Ward
Daniel Ward added the comment: I don't think I explained the response very well, effectively the __json__ call would return an object which is JSON-serializable. This would include dict objects containing JSON-serializable objects albeit natively-supporting JSON serialisation or by means of

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-21 Thread Steven D'Aprano
Steven D'Aprano added the comment: For starters, dunder names like __json__ are reserved for Python's own use, so you would have to get the core developers to officially bless this use. But... I'm not really sure that "the responsibility of determining how an object should be represented in

[issue9156] socket._fileobject: read raises AttributeError when closed in another thread

2016-06-21 Thread Martin Panter
Martin Panter added the comment: IMO closing an OS-level file descriptor in one thread while it is in use by another thread is a bad idea, full of race conditions and undefined behaviour. An AttributeError sounds like a best-case scenario. It is like freeing a memory allocation in one thread

[issue20631] python readline module crashing on NULL access

2016-06-21 Thread Martin Panter
Martin Panter added the comment: I think an answer to Benjamin’s question is necessary to move this forward. The code already checks the index before calling history_get(). How do you manage to get null pointers returned for every history item? In the LLVM bug thread, I noticed “libedit”

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-21 Thread Emanuel Barry
Emanuel Barry added the comment: So __json__ returns a string meant to be serializable. I'm not too keen on using a dunder name (although my word doesn't weigh anything ;) and I'd personally prefer something like as_json_string(). I think the idea in general is good, though. Mind submitting a

[issue27213] Rework CALL_FUNCTION* opcodes

2016-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Issue27358 is too complex, more complex than this issue. But I think the simple fix the regression in case of the single **kw is checking wherever the sum dict is empty. -if (with_call) { +if (with_call && PyDict_Size(sum)) {

[issue19613] test_nntplib: sporadic failures, test_article_head_body()

2016-06-21 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue10116] Sporadic failures in test_urllibnet

2016-06-21 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue27358] BUILD_MAP_UNPACK_WITH_CALL is slow

2016-06-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think this kills the optimization effect for non-dicts. See on PyDict_Merge(). It takes the boolean parameter that controls the behavior in case of matching keys. I think the best would be to rename it to say _PyDict_MergeEx(), extend the boolean

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-21 Thread Ollie Ford
Changes by Ollie Ford : -- nosy: +Ollie Ford ___ Python tracker ___ ___

[issue22463] Warnings when building on AIX

2016-06-21 Thread David Edelsohn
David Edelsohn added the comment: These look like false positives or noise to me as well. -- ___ Python tracker ___

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-21 Thread Daniel Ward
Daniel Ward added the comment: Sure, so for example: = import json class ObjectCounter: def __init__(self, name, count): self.name = name self.count = count def __json__(self): return '[{name}] {count}'.format(name=self.name, count=self.count)

[issue26990] file.tell affect decoding

2016-06-21 Thread Martin Panter
Martin Panter added the comment: See also the second part of Issue 25863, a similar symptom with the iso-2022-jp codec. I suspect many of the multibyte CJK type codecs don’t properly support saving and restoring their state. -- nosy: +martin.panter

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-21 Thread Emanuel Barry
Emanuel Barry added the comment: I'm not too familiar with the json package, but what should __json__ return when called? -- nosy: +ebarry stage: -> test needed versions: +Python 3.6 ___ Python tracker

[issue27358] BUILD_MAP_UNPACK_WITH_CALL is slow

2016-06-21 Thread Emanuel Barry
Emanuel Barry added the comment: `dict` subclasses can be hashable - it's a very bad idea, but not guarded against. If you were to do this, I'd suggest going the exception way, à la StopIteration. I wonder how feasible it would be for e.g. dict.__setitem__ to check if a key already exists;

[issue27362] json.dumps to check for obj.__json__ before raising TypeError

2016-06-21 Thread Daniel Ward
New submission from Daniel Ward: To help prevent retrospective JSONEncoder overrides when failing to serialize a given object, the intention of this issue is to propose that the JSON encoder checks if a given object has a __json__ attribute, using that rather than raising a TypeError. This

[issue27358] BUILD_MAP_UNPACK_WITH_CALL is slow

2016-06-21 Thread Demur Rumed
Demur Rumed added the comment: (returning None wouldn't work because that may be the key, but something like returning the dict itself (ie an unhashable) or keeping this as a C API & returning NULL would work) -- ___ Python tracker

[issue27358] BUILD_MAP_UNPACK_WITH_CALL is slow

2016-06-21 Thread Demur Rumed
Demur Rumed added the comment: mapaca2 heavy handily deals with the must-work-with-all-mappings by converting any non dict mappings on the stack with dicts when with_call is true I'm not sure if it'd be better to seek a less opcode centric fix-- ie introduce a method to dictobject which

[issue26290] fileinput and 'for line in sys.stdin' do strange mockery of input buffering

2016-06-21 Thread Martin Panter
Martin Panter added the comment: Issue 15068 as been fixed in 3.5+ and 2.7, and it looks like it fixes the fileinput aspect of this bug. That leaves the sys.stdin aspect, which only affects Python 2, and I think is a duplicate of Issue 1633941. -- nosy: +martin.panter resolution: ->

[issue24364] Not all defects pass through email policy

2016-06-21 Thread R. David Murray
R. David Murray added the comment: test_email/test_email tests the compat32 policy. test_defect_handling tests the default policy. Thus they are not redundant, except of course that they are...it would be better to run the same test with both policies in turn, but I never got as far as

[issue27201] expose the ABI name as a config variable

2016-06-21 Thread Petr Viktorin
Changes by Petr Viktorin : -- nosy: +encukou ___ Python tracker ___ ___ Python-bugs-list

[issue27051] Create PIP gui

2016-06-21 Thread Upendra Kumar
Upendra Kumar added the comment: Sorry for trouble. I think I messed up with my Python installation. I reinstalled Python and pip. The "pip install command issue" is fixed. -- ___ Python tracker

[issue14826] urlopen URL with unescaped space

2016-06-21 Thread Martin Panter
Martin Panter added the comment: I think this should be treated as a feature, not a bug, since as Christian said, the documentation currently does not support this case. -- title: urllib2.urlopen fails to load URL -> urlopen URL with unescaped space type: -> enhancement versions:

[issue22463] Warnings when building on AIX

2016-06-21 Thread Martin Panter
Martin Panter added the comment: Looking closer at cPickle.c (after upgrading my GCC), I think there are two warnings happening, when Pdata_clear() is inlined into each of noload_reduce() and noload_setitem(). I think both cases are false positives; there is no actual signed overflow

[issue27051] Create PIP gui

2016-06-21 Thread Upendra Kumar
Upendra Kumar added the comment: Hey, can anyone help me with this code : ### Python 3.4.3 (default, Oct 14 2015, 20:33:09) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import

[issue22463] Warnings when building on AIX

2016-06-21 Thread Martin Panter
Martin Panter added the comment: The most serious of these IMO is the signed overflow warnings in Modules/cPickle.c. I get the same warnings if I disable the “gcc -fwrapv” mode: /media/disk/home/proj/python/cpython/Modules/cPickle.c: In function ‘Unpickler_noload’:

[issue27285] Document the deprecation of pyvenv in favor of `python3 -m venv`

2016-06-21 Thread Steve Piercy
Steve Piercy added the comment: I'd like to take on this issue and submit a patch for consideration by 2016-06-26. Please let me know if anyone is working on it. -- ___ Python tracker

[issue27360] _deque and _islice are sometimes None

2016-06-21 Thread SilentGhost
SilentGhost added the comment: This seems to have been reported on riak's tracker: https://github.com/basho/riak-python-client/issues/449 -- nosy: +SilentGhost resolution: -> third party stage: -> resolved status: open -> closed type: crash -> behavior

[issue24137] Force not using _default_root in IDLE

2016-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: I made htest run without default root, just list test_idel, and found a few more. I grepped for 'Toplevel()'. Also for bad Tk() calls. I still need to move the call in pyshell and check this over. But I think it close. -- Added file:

[issue27361] ValueError on eval after 'from pandas import *'

2016-06-21 Thread SilentGhost
SilentGhost added the comment: Pandas is not part of the standard library. Their issue tracker is at https://github.com/pydata/pandas/issues -- nosy: +SilentGhost resolution: -> third party stage: -> resolved status: open -> closed ___ Python

[issue15730] Silence unused value warnings under Mac OS X 10.8/clang

2016-06-21 Thread Martin Panter
Martin Panter added the comment: Revisions 12e53abec5d0 and 0c7fff783b32 look like they do the same thing as Benno’s patch. Perhaps we can close this? -- nosy: +martin.panter resolution: -> out of date ___ Python tracker

[issue27361] ValueError on eval after 'from pandas import *'

2016-06-21 Thread Eric Sprigg
New submission from Eric Sprigg: Using 'from pandas import *' leads to a ValueError exception being raised when eval tries to execute an expression like eval("df['Country'] == 'Brazil'") When the alternative form 'import pandas' is used, the expression evaluates as expected. The test

[issue27360] _deque and _islice are sometimes None

2016-06-21 Thread David Delassus
New submission from David Delassus: With Python 3.4.3-r1 (on Gentoo x86_64), I have encountered a strange behavior with the library "riak==2.5.3". When closing the client connection, the library calls ``self._stop.set()`` where ``self._stop`` is a ``threading.Event``. The following error is

[issue26090] More correct string truncating in PyUnicode_FromFormat()

2016-06-21 Thread Adam Bartoš
Changes by Adam Bartoš : -- nosy: +Drekin ___ Python tracker ___ ___ Python-bugs-list

[issue1690201] Added support for custom readline functions

2016-06-21 Thread Martin Panter
Martin Panter added the comment: See also Issue 1175004, proposing the same sort of custom function, but called “py_callback”. -- nosy: +martin.panter ___ Python tracker

[issue19613] test_nntplib: sporadic failures, test_article_head_body()

2016-06-21 Thread Martin Panter
Martin Panter added the comment: I presume the original report was due to testing when the server happened to return an article with an empty body. The failing test is # XXX this could exceptionally happen... self.assertNotIn(article.lines[-1], (b".", b".\n", b".\r\n")) The test code already