[issue20087] Mismatch between glibc and X11 locale.alias

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -602 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -579 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29619] st_ino (unsigned long long) is casted to long long in posixmodule.c:_pystat_fromstructstat

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -599 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue28692] gettext: deprecate selecting plural form by fractional numbers

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -605 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29139] operator.concat/iconcat could only work if left operand is a sequence

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: -590 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue29822] inspect.isabstract does not work on abstract base classes during __init_subclass__

2017-03-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this an alternate fix of issue29638? -- components: +Library (Lib) nosy: +yselivanov stage: -> patch review type: -> behavior versions: +Python 3.5, Python 3.6 ___ Python tracker

[issue29638] Spurious failures in test_collections in releak hunting mode after typing is imported

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue29139] operator.concat/iconcat could only work if left operand is a sequence

2017-03-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: I think it is too late in the game to change the semantics of this function. Changing it now will only break code. The time for API discussion is before a release, not after. Also, we have no indication from actual users that there is an actual problem h

[issue20104] expose posix_spawn(p)

2017-03-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: All I'm really saying is that someone who wants this should provide a patch/PR with unittests. :) I can help review and go from there. It does make sense to me for it to be available as part of the subprocess API if it is available at all, likely an alternati

[issue29842] Executor.map should not submit all futures prior to yielding any results

2017-03-17 Thread Josh Rosenberg
Josh Rosenberg added the comment: Nosying folks suggested by GitHub, hope that's the right etiquette. For the record, filled out contributor agreement ages ago, but hadn't linked (or even created) GitHub account until after I got the warning. I've linked this account to my GitHub username now,

[issue29734] nt._getfinalpathname handle leak

2017-03-17 Thread Mark Becwar
Changes by Mark Becwar : -- pull_requests: +628 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue29842] Executor.map should not submit all futures prior to yielding any results

2017-03-17 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +627 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29842] Executor.map should not submit all futures prior to yielding any results

2017-03-17 Thread Josh Rosenberg
New submission from Josh Rosenberg: As currently implemented, Executor.map is not particularly lazy. Specifically, if given huge argument iterables, it will not begin yielding results until all tasks have been submitted; if given an infinite input iterable, it will run out of memory before yie

[issue29822] inspect.isabstract does not work on abstract base classes during __init_subclass__

2017-03-17 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Serhiy, sorry for a distraction, but it looks like here is one more situation where inspect.isabstract is problematic, similar to what was discussed in http://bugs.python.org/issue29638 recently. -- nosy: +levkivskyi, serhiy.storchaka ___

[issue20087] Mismatch between glibc and X11 locale.alias

2017-03-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The main purpose of the alias table is to support normalization and this is used for getdefaultencoding() which was created to be able to determine the default encoding based on what X.org uses as default without doing temporary setlocale() tricks. Now, n

[issue24037] Argument Clinic: add the boolint converter

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue29615] SimpleXMLRPCDispatcher._dispatch mangles tracebacks when invoking RPC calls through _dispatch

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue8256] input() doesn't catch _PyUnicode_AsString() exception; io.StringIO().encoding is None

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue29683] _PyCode_SetExtra behaviour wrong on allocation failure and after realloc

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +617 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28876] bool of large range raises OverflowError

2017-03-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In issue29840 proposed an alternate and more general solution. But I think that nb_bool should be implemented for range objects since issue29840 is 3.7 only and nb_bool is faster. -- stage: needs patch -> patch review ___

[issue28598] RHS not consulted in `str % subclass_of_str` case.

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +619 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29568] undefined parsing behavior with the old style string formatting

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: -588 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue24037] Argument Clinic: add the boolint converter

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: -601 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29703] Fix asyncio to support instantiation of new event loops in subprocesses

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: -593 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27593] Deprecate sys._mercurial and create sys._git

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: -578 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue9303] Migrate sqlite3 module to _v2 API to enhance performance

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: -583 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28682] Bytes support in os.fwalk()

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: -580 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue26121] Use C99 functions in math if available

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +622 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue7769] SimpleXMLRPCServer.SimpleXMLRPCServer.register_function as decorator

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +625 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29645] webbrowser module import has heavy side effects

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +626 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28893] Make sure exceptions raised in __aiter__ are properly chained in ceval

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +624 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29438] use after free in key sharing dict

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +621 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29576] Improve some deprecations in the importlib

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +618 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29602] complex() on object with __complex__ function loses sign of zero imaginary part

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +620 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29714] can't interpolate byte string with \x00 before replacement identifier

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +616 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29532] functools.partial is not compatible between 2.7 and 3.5

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +612 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26915] Test identity first in membership operation of ItemsView, ValuesView and Sequence in collections.abc

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +609 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29534] _decimal difference with _pydecimal

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +610 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28298] can't set big int-like objects to items in array 'Q', 'L' and 'I'

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +604 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29800] functools.partial segfaults in repr when keywords attribute is abused

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +623 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28518] execute("begin immediate") throwing OperationalError

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +608 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28692] gettext: deprecate selecting plural form by fractional numbers

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +605 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29684] Minor regression in PyEval_CallObjectWithKeywords()

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +614 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29546] A more helpful ImportError message

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +615 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue24037] Argument Clinic: add the boolint converter

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +601 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue20087] Mismatch between glibc and X11 locale.alias

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +602 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29607] Broken stack_effect for CALL_FUNCTION_EX

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +613 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29347] Python could crash while creating weakref for a given object

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +607 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29742] asyncio get_extra_info() throws exception

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +596 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28929] Provide a link from documentation back to its source file

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +600 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29579] Windows Python 3.7 installer broken by README.txt renamed to README.rst

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +611 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28963] Use-after-free in _asyncio_Future_remove_done_callback() of _asynciomodule.c

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +598 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue25008] Deprecate smtpd (based on deprecated asyncore/asynchat)

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +603 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue22807] uuid.uuid1() should use uuid_generate_time_safe() if available

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +606 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29623] configparser.ConfigParser.read() does not accept Pathlib path as a single argument.

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +594 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29110] [patch] Fix file object leak in `aifc.open` when given invalid AIFF file.

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +597 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29615] SimpleXMLRPCDispatcher._dispatch mangles tracebacks when invoking RPC calls through _dispatch

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +595 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29619] st_ino (unsigned long long) is casted to long long in posixmodule.c:_pystat_fromstructstat

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +599 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29723] 3.6.1rc1 adds the current directory to sys.path when running a subdirectory's __main__.py; previous versions did not

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +585 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29695] Weird keyword parameter names in builtins

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +589 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29703] Fix asyncio to support instantiation of new event loops in subprocesses

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +593 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29271] Task.current_task(None) returns unexpected result

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +591 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29139] operator.concat/iconcat could only work if left operand is a sequence

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +590 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29463] Add `docstring` field to AST nodes

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +584 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29704] Can't read data from Transport after asyncio.SubprocessStreamProtocol closes

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +592 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28682] Bytes support in os.fwalk()

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +580 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27593] Deprecate sys._mercurial and create sys._git

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +578 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28231] zipfile does not support pathlib

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +587 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue8256] input() doesn't catch _PyUnicode_AsString() exception; io.StringIO().encoding is None

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +577 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue29568] undefined parsing behavior with the old style string formatting

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +588 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue28856] %b format for bytes does not support objects that follow the buffer protocol

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +582 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29376] threading._DummyThread.__repr__ raises AssertionError

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +581 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29572] Upgrade installers to OpenSSL 1.0.2k

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +579 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue9303] Migrate sqlite3 module to _v2 API to enhance performance

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +583 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue28624] Make the `cwd` argument to `subprocess.Popen` accept a `PathLike`

2017-03-17 Thread Larry Hastings
Changes by Larry Hastings : -- pull_requests: +586 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29841] errors raised by bytes and bytearray constructors for invalid size argument

2017-03-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I worked on this issue. The simplest solution is calling PyNumber_AsSsize_t() with NULL rather than PyExc_OverflowError in bytes and bytearray constructors. Then both constructors will raise ValueError for large negative size and bytearray() will raise Memor

[issue29832] Don't refer to getsockaddrarg in error messages

2017-03-17 Thread Oren Milman
Oren Milman added the comment: note that #15988 also left 3 changes for this issue to fix, as can be seen by searching for '29832' in the comments of PR 668. for example, this issue should also fix the following inconsistent error messages: >>> socket.socket(family=socket.AF_INET6).bind(('::1',

[issue29352] provide the authorative source for s[i:j] negative slice indices (<-len(s)) behavior for standard sequences

2017-03-17 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: -- pull_requests: +576 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29840] Avoid raising OverflowError in bool()

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Avoid raising OverflowError in len() when __len__() returns negative large value keywords: +patch Added file: http://bugs.python.org/file46731/bool-overflow.diff ___ Python tracker

[issue29841] errors raised by bytes and bytearray constructors for invalid size argument

2017-03-17 Thread Oren Milman
New submission from Oren Milman: currently (on my Windows 10): >>> bytes(-1 << 1000) Traceback (most recent call last): File "", line 1, in OverflowError: cannot fit 'int' into an index-sized integer >>> bytes(-1) Traceback (most recent call last): File "", line 1, in ValueError: negative c

[issue29839] Avoid raising OverflowError in len() when __len__() returns negative large value

2017-03-17 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I was going to say that this is an API change, but given that without this, folks would have to catch both exceptions and now only have to catch one of them, it isn't. -- nosy: +barry ___ Python tracker

[issue29840] Avoid raising OverflowError in bool()

2017-03-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: For now bool() raises OverflowError if __bool__ is not defined and __len__ returns large value. >>> class A: ... def __len__(self): ... return 1 << 1000 ... >>> bool(A()) Traceback (most recent call last): File "", line 1, in OverflowError:

[issue29352] provide the authorative source for s[i:j] negative slice indices (<-len(s)) behavior for standard sequences

2017-03-17 Thread Akira Li
Akira Li added the comment: I prefer the wording in the current patch. Though I don't have strong feelings one way or the other as long as the behavior is specified explicitly. -- ___ Python tracker __

[issue29833] Avoid raising OverflowError if possible

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- dependencies: +Avoid raising OverflowError in len() when __len__() returns negative large value ___ Python tracker ___ _

[issue29839] Avoid raising OverflowError in len() when __len__() returns negative large value

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +575 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue29839] Avoid raising OverflowError in len() when __len__() returns negative large value

2017-03-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: For now len() raises ValueError if __len__() returns small negative integer and OverflowError if __len__() returns large negative integer. >>> class NegativeLen: ... def __len__(self): ... return -10 ... >>> len(NegativeLen()) Traceback (most

[issue29838] Check that sq_length and mq_length return non-negative result

2017-03-17 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +574 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue28876] bool of large range raises OverflowError

2017-03-17 Thread Akira Li
Akira Li added the comment: > Akira, could you open a pull request on GitHub? Done. PR 699 -- ___ Python tracker ___ ___ Python-bugs-

[issue29838] Check that sq_length and mq_length return non-negative result

2017-03-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Following PR adds several asserts for checking that sq_length and mq_length either return non-negative result or raise an exception. One assert already was in PySequence_GetItem(). -- components: Interpreter Core messages: 289777 nosy: haypo, serhi

[issue28876] bool of large range raises OverflowError

2017-03-17 Thread Akira Li
Changes by Akira Li <4kir4...@gmail.com>: -- pull_requests: +572 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20104] expose posix_spawn(p)

2017-03-17 Thread John Jones
John Jones added the comment: I agree with everything you're saying Gregory, however I don't think the significance of the memory doubling is as inconsequential as you might first think. For example, i have on my 64bit Linux system 128Gb of RAM, and a numpy table that's around 70Gb. Spawning a

[issue29836] Remove nturl2path from test_sundry and amend its docstring

2017-03-17 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue29830] pyexpat.errors doesn't have __spec__ and __loader__ set

2017-03-17 Thread Manuel Jacob
Manuel Jacob added the comment: You're of course right that pyexpat is an extension module and not a builtin module. I was confused because on PyPy it's a builtin module. But the same question applies for ExtensionFileLoader.is_package(). It returns False in the case of pyexpat. This functi

[issue29830] pyexpat.errors doesn't have __spec__ and __loader__ set

2017-03-17 Thread Brett Cannon
Brett Cannon added the comment: The BuiltinImporter's assumption is reasonable because there are no built-ins that are packages. :) In pyexpat's case it's an extension module, not a built-in. As for the expat issue, a patch that backfills the missing info would probably be reviewed.

[issue28876] bool of large range raises OverflowError

2017-03-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Akira, could you open a pull request on GitHub? -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue29757] The loop in utility `socket.create_connection()` swallows previous errors

2017-03-17 Thread Kostis Anagnostopoulos
Kostis Anagnostopoulos added the comment: > When the list of errors is passed as a second argument to the exception, how > is it rendered? This is how my latest ec887c0c3 looks on Linux: >>> import socket >>> socket.create_connection(('localhost', 12345)) Traceback (most recent c

[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Vinay Sajip
Changes by Vinay Sajip : -- pull_requests: +569 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Vinay Sajip
Changes by Vinay Sajip : -- pull_requests: +570 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue20104] expose posix_spawn(p)

2017-03-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: I think someone wanting this will need to put forward a patch adding it to be reviewed and mulled over. As Alex mentioned in msg22571 - https://github.com/dreid/posix_spawn/ exists as does the code Danek pointed at in the next comment. try those. I sugges

[issue29808] SyslogHandler: should not raise exception in constructor if connection fails

2017-03-17 Thread Vinay Sajip
Vinay Sajip added the comment: Sorry, I was a bit too hasty closing the issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing

  1   2   >