[issue24278] Docs on Parsing arguments should say something about mem mgmt for formatters returning C strings

2016-08-06 Thread Martin Blais
Martin Blais added the comment: Thank you Martin! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue27688] Expand documentation about Any in the typing module

2016-08-06 Thread Guido van Rossum
Changes by Guido van Rossum : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27688] Expand documentation about Any in the typing module

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset cbcab1fb1b8a by Guido van Rossum in branch '3.5': Better docs for typing.Any by Michael Lee. Fixes issue #27688. https://hg.python.org/cpython/rev/cbcab1fb1b8a New changeset f60e16663f6e by Guido van Rossum in branch 'default': Better docs for

[issue13829] exception error in _scproxy.so when called after fork

2016-08-06 Thread Evan Jones
Evan Jones added the comment: This is effectively the same as issue 27126. The discussion there convinced me that this may not be working around, since it isn't the only place this can happen! This same crash, caused by libdispatch not being fork compatible, also happens with sqlite and tk.

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Sworddragon
Sworddragon added the comment: If we decide to word it this way eventually the sentence for "Windows only" needs to be updated too. Not sure about the other sentences as they sound a bit if they would guarantee what they say. Maybe somebody else knows more. --

[issue22557] Local import is too slow

2016-08-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue26754] PyUnicode_FSDecoder() accepts arbitrary iterable

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 818f22f9ab02 by Serhiy Storchaka in branch 'default': Issue #26754: Undocumented support of general bytes-like objects https://hg.python.org/cpython/rev/818f22f9ab02 -- ___ Python tracker

[issue26800] Don't accept bytearray as filenames part 2

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1e01ca34a42c by Serhiy Storchaka in branch 'default': Issue #26800: Undocumented support of general bytes-like objects https://hg.python.org/cpython/rev/1e01ca34a42c -- ___ Python tracker

[issue27695] Long constant calculations stall compilation

2016-08-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue21074. -- ___ Python tracker ___ ___ Python-bugs-list

[issue27568] "HTTPoxy", use of HTTP_PROXY flag supplied by attacker in CGI scripts

2016-08-06 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Hans-Peter, In 3.3 (95b09ccc8a3e) and 3.4 (3c19023c9fec) the change completely removes any variant of http_proxy if REQUEST_METHOD is set. The only way to have http based proxy in cgi environment by using ProxyHandler method. This is solution introduced

[issue27695] Long constant calculations stall compilation

2016-08-06 Thread Brett Cannon
Changes by Brett Cannon : -- title: Compilation doesnt' end -> Long constant calculations stall compilation ___ Python tracker ___

[issue27700] Document asyncio.AbstractEventLoop, not asyncio.BaseEventLoop

2016-08-06 Thread Yury Selivanov
Yury Selivanov added the comment: I think we should fix this. BaseEventLoop is just an implementation detail of asyncio (I think we shouldn't have exposed it in asyncio.__all__ at all). -- ___ Python tracker

[issue27700] Document asyncio.AbstractEventLoop, not asyncio.BaseEventLoop

2016-08-06 Thread Guido van Rossum
Guido van Rossum added the comment: Cross-reference: this came up in https://github.com/python/typeshed/issues/452 -- ___ Python tracker ___

[issue27700] Document asyncio.AbstractEventLoop, not asyncio.BaseEventLoop

2016-08-06 Thread Guido van Rossum
New submission from Guido van Rossum: The asyncio docs currently document the event loop interface as belonging to BaseEventLoop. But the intention of PEP 3156 was for the interface to belong to AbstractEventLoop. In typeshed we ended up exporting only AbstractEventLoop, but this runs into

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Ram Rachum
Ram Rachum added the comment: Okay, but consider that if there are no tests, this code will never be run during testing. Consider that if there's a bug in that code that causes an exception to be raised (unlikely, I know, but maybe from the call to getLevelName) it won't be discovered until a

[issue27373] logging.handlers.SysLogHandler with TCP not working on rsyslog5.8

2016-08-06 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: IMO it's not really worth adding tests for __repr__() - because no external code should depend on the exact representation of instances of these kinds of classes. -- ___ Python tracker

[issue27350] Compact and ordered dict

2016-08-06 Thread INADA Naoki
INADA Naoki added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: patch for 3.6 with the comment of Sworddragon. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file44032/issue23105.diff ___ Python tracker

[issue24626] please sync cgi.parse document

2016-08-06 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report! The default values of fp and environ parameters are already documented in the function signature in Python 3: cgi.parse(fp=None, environ=os.environ, keep_blank_values=False, strict_parsing=False) In Python 2, the function signature

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Ram Rachum
Ram Rachum added the comment: If you want, I can implement them. -- ___ Python tracker ___ ___

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Ram Rachum
Ram Rachum added the comment: Vinay: Looks good to me. What do you think about adding tests? -- ___ Python tracker ___

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I am working on it. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27699] spam

2016-08-06 Thread SilentGhost
Changes by SilentGhost : Removed file: http://bugs.python.org/file44031/image001.jpg ___ Python tracker ___

[issue27699] spam

2016-08-06 Thread SilentGhost
Changes by SilentGhost : -- nosy: -drkirkby resolution: -> not a bug stage: -> resolved status: open -> closed title: very important news -> spam ___ Python tracker

[issue27699] very important news

2016-08-06 Thread SilentGhost
Changes by SilentGhost : -- Removed message: http://bugs.python.org/msg272092 ___ Python tracker ___

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: If you read the documentation from glibc-2.24, these options are only available on BSD and not on Linux. """ The remaining operating modes are BSD extensions. They exist only on some systems. On other systems, these macros are not defined. Macro: int

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Link to the documentation of glibc: http://www.gnu.org/software/libc/manual/html_node/Open_002dtime-Flags.html -- ___ Python tracker

[issue23542] Update PEP 476 for using urllib2.build_opener()

2016-08-06 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, but I prefer keeping the section shorter. Also, note that disabling verification globally is discouraged in the PEP. -- nosy: +berker.peksag resolution: -> rejected stage: -> resolved status: open -> closed

[issue27698] socketpair not in socket.__all__ on Windows

2016-08-06 Thread SilentGhost
Changes by SilentGhost : -- components: +Windows nosy: +paul.moore, pitrou, steve.dower, tim.golden, zach.ware stage: -> needs patch type: -> behavior ___ Python tracker

[issue23105] os.O_SHLOCK and os.O_EXLOCK are not available on Linux

2016-08-06 Thread Berker Peksag
Changes by Berker Peksag : -- keywords: +easy stage: -> needs patch versions: +Python 3.6 -Python 3.4 ___ Python tracker ___

[issue12946] PyModule_GetDict() claims it can never fail, but it can

2016-08-06 Thread Berker Peksag
Berker Peksag added the comment: I've changed the dead code to assert(d != NULL); and added the following sentence to PyModule_GetDict documentation: If *module* is not a module object (or a subtype of a module object), :exc:`SystemError` is raised and *NULL* is returned.

[issue25459] EAGAIN errors in Python logging module

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: I will close this as not a bug. If you have custom signal handling which interacts with logging in an undesirable way, you will need to subclass the handler. The use case isn't common enough to be addressed in the base handler, IMO. -- resolution: ->

[issue21699] Windows Python 3.4.1 pyvenv doesn't work in directories with spaces.

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: I'll close this as it doesn't seem to be a Python bug. -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed ___ Python tracker

[issue25785] TimedRotatingFileHandler missing rotations

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: This is not a bug. For example, if you set up a rotating handler to rollover every minute but only log once every two minutes, you won't get any empty log files for the minutes where logging didn't happen. The behaviour of the handler isn't expected to keep

[issue27698] socketpair not in socket.__all__ on Windows

2016-08-06 Thread Vedran Čačić
New submission from Vedran Čačić: It seems socketpair is added for Windows in Py3.5, but it isn't imported with `from socket import *`. Can it be added to __all__? -- components: Library (Lib) messages: 272084 nosy: veky priority: normal severity: normal status: open title: socketpair

[issue21999] shlex: bug in posix mode handling of empty strings

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: After the patch for issue 1521950 was applied, this problem no longer occurs on default/3.6. Removing 3.4 as it's in "security patches only" mode. -- versions: -Python 3.4 ___ Python tracker

[issue27373] logging.handlers.SysLogHandler with TCP not working on rsyslog5.8

2016-08-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: For me, it's an issue with the management of the protocol in rsyslog and not with the logging library. You can close the issue. -- nosy: +matrixise status: pending -> open ___ Python tracker

[issue27373] logging.handlers.SysLogHandler with TCP not working on rsyslog5.8

2016-08-06 Thread Vinay Sajip
Vinay Sajip added the comment: If no more information is available, I will close this issue soon as "not a bug". -- status: open -> pending ___ Python tracker

[issue22829] Add --prompt option to venv

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6703847eeb31 by Vinay Sajip in branch 'default': Closes #22829: Added --prompt option to venv. https://hg.python.org/cpython/rev/6703847eeb31 -- nosy: +python-dev resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue27650] Implement `__repr__` methods for logging.Logger and others

2016-08-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6c304a2ca139 by Vinay Sajip in branch 'default': Closes #27650: Implemented repr methods for logging objects. https://hg.python.org/cpython/rev/6c304a2ca139 -- nosy: +python-dev resolution: -> fixed stage: patch review -> resolved status:

[issue27696] win_add2path.py does not add user site directory

2016-08-06 Thread SilentGhost
Changes by SilentGhost : -- components: +Demos and Tools, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware stage: -> patch review ___ Python tracker