[issue31748] configure fails to detect fchdir() using CFLAGS="-Werror -Wall"

2017-10-11 Thread STINNER Victor
STINNER Victor added the comment: "Different people generate ./configure different ways. Some insert runstatedir in configure, others don't. E.g. on 14 April 2017 runstatedir was added to configure, on 9 June it was removed from configure, on 29 June it was added

[issue31755] SetType is missing in the 'types' module

2017-10-11 Thread Kenji Asuka (Asuka Kenji)
New submission from Kenji Asuka (Asuka Kenji) : # Create a dict and a set d = {1: '1'} s = {1} # They have different types print(type(d)) # print(type(s)) # print(type(d) is type(s)) # False print(type(s) is type(d)) # False print(type(d) ==

[issue31748] configure fails to detect fchdir() using CFLAGS="-Werror -Wall"

2017-10-11 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +3924 stage: -> patch review ___ Python tracker ___

[issue17088] ElementTree incorrectly refuses to write attributes without namespaces when default_namespace is used

2017-10-11 Thread Rafael Ascensao
Rafael Ascensao added the comment: what's the status on this? -- nosy: +Rafael Ascensao ___ Python tracker ___

[issue31755] SetType is missing in the 'types' module

2017-10-11 Thread Kenji Asuka (Asuka Kenji)
Kenji Asuka (Asuka Kenji) added the comment: You wrote: > It only contains types that are not available as builtin. I think the opposite is true. As shown in the "Versions" field in the issue, this bug is Python 2 specific, so there is nothing to do with Python 3. My

[issue31755] SetType is missing in the 'types' module

2017-10-11 Thread Kenji Asuka (Asuka Kenji)
Kenji Asuka (Asuka Kenji) added the comment: 'set' is a built-in type, and should belong to one of the types in the 'types' module. However, in the latest 2.7 implementations, none of the names matches the 'set' type. Like 'list' and 'dict', I suppose there should be a

[issue31728] crashes in _elementtree due to unsafe decrefs of Element.text and Element.tail

2017-10-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: patch review -> backport needed versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue31748] configure fails to detect fchdir() using CFLAGS="-Werror -Wall"

2017-10-11 Thread Дилян Палаузов
Дилян Палаузов added the comment: The patch puts in "Misc/NEWS.d/next/Core and Builtins/2017-10-11-10-42-02.bpo-31748.oaEZcq.rst": +Support configure with -Wall by avoiding unused variables. but likely means "-Werror" (or both) Different people generate

[issue31742] Default to emitting FutureWarning for provisional APIs

2017-10-11 Thread Amber Brown
Amber Brown added the comment: > * asyncio & pathlib are already non-provisional, so wouldn't be affected. I was reading this and actually said "wait what I didn't know pathlib was provisional", and went back to check. The warning for it was grey next to a pair of

[issue31728] crashes in _elementtree due to unsafe decrefs of Element.text and Element.tail

2017-10-11 Thread Oren Milman
Change by Oren Milman : -- pull_requests: +3925 stage: backport needed -> patch review ___ Python tracker ___

[issue1566331] Bad behaviour in .obuf*

2017-10-11 Thread Richard Aplin
Richard Aplin added the comment: Hi there yes this is very much an issue on Arm linux (e.g. Armbian). Calling any function that triggers a call to _ssize(..) - a function which is clearly intended to have no side-effects - instead resets the number of channels (and sample

[issue31741] backports import path can not be overridden in Windows (Linux works fine)

2017-10-11 Thread Paul Moore
Paul Moore added the comment: > I did use `pip` to install packages as you'll see in the screenshot. Sorry, I don't see any pip commands. Please could you include sample commands inline as text, and not as screenshots, as attached files aren't accessible from emails...

[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-11 Thread Brian Sidebotham
Brian Sidebotham added the comment: I'm not sure any of my emails came through to this ticket from my mail client. I think this can be closed and filed under "not a bug". Here are the mails I sent.: Hi Marc-Andre, Thanks for engaging. I fixed RPATH and now things

[issue30457] Allow retrieve the number of waiters pending for most of the asyncio lock primitives

2017-10-11 Thread pfreixes
pfreixes added the comment: You are right, having the `pop` after the `set` it would remove the key from the events. Despite the workaround that you proposes is quite clean, it is kinda implicit. The nature of the `pending` method is to give to the developer a way to

[issue6135] subprocess seems to use local encoding and give no choice

2017-10-11 Thread Andrew Clegg
Andrew Clegg added the comment: I meant the former; I'll look a bit more at the documentation and submit an issue/patch. As regards the 'text' flag - universal_newlines is actually exactly that already. I've just checked the code of subprocess.py and the

[issue25612] nested try..excepts don't work correctly for generators

2017-10-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I tried the following code: def g(): yield 1 raise yield 2 i = g() try: 1/0 except: next(i) next(i) Currently it raises: Traceback (most recent call last): File "", line 5, in File "", line 2, in

[issue6135] subprocess seems to use local encoding and give no choice

2017-10-11 Thread Nick Coghlan
Nick Coghlan added the comment: This discussion should probably be submitted as a new RFE (requesting "text" as a more obvious and beginner friendly alias for universal_newlines), but I'll also add a note regarding precedent for a simple binary/text toggle: the mode

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-11 Thread Andrew Clegg
New submission from Andrew Clegg : Following on from https://bugs.python.org/issue6135 The subprocess module by default returns bytes from subprocess calls. It has a text mode, but this can only be accessed by slightly tangential arguments (setting encoding, errors

[issue6135] subprocess seems to use local encoding and give no choice

2017-10-11 Thread Andrew Clegg
Andrew Clegg added the comment: RFE submitted as issue31756 , thanks -- ___ Python tracker ___

[issue31271] an assertion failure in io.TextIOWrapper.write

2017-10-11 Thread Oren Milman
Change by Oren Milman : -- pull_requests: +3926 stage: backport needed -> patch review ___ Python tracker ___

[issue31751] Support for C++ 11 and/or C++ 14 in python.org installer

2017-10-11 Thread Ned Deily
Ned Deily added the comment: No rush! And I didn't mean to imply that how the macOS installers are built is perfect or updates shouldn't be considered. But we should understand what the issue here is, independent of potential changes. --

[issue31755] SetType is missing in the 'types' module

2017-10-11 Thread Christian Heimes
Christian Heimes added the comment: The types modules is not suppose to hold all known types. It only contains types that are not available as builtin. The DictType member is a relict from the past. Before Python 2.2, the dict builtin and dict type were different things.

[issue31754] Documented type of parameter 'itemsize' to PyBuffer_FillContiguousStrides is incorrect.

2017-10-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy stage: -> needs patch versions: +Python 2.7, Python 3.7 ___ Python tracker

[issue31744] Python 2.7.14 Fails to compile on CentOS/RHEL7

2017-10-11 Thread Ned Deily
Change by Ned Deily : -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31490] assertion failure in ctypes in case an _anonymous_ attr appears outside _fields_

2017-10-11 Thread Oren Milman
Change by Oren Milman : -- pull_requests: +3927 stage: resolved -> patch review ___ Python tracker ___

[issue31741] backports import path can not be overridden in Windows (Linux works fine)

2017-10-11 Thread R. David Murray
R. David Murray added the comment: Ah, so backports is a package on pypi. You should report this problem wherever they do their bug tracking. It is *possible* there is some problem in 2.7 on windows, but it is much more likely to be a bug in backports on windows. In

[issue31752] Assertion failure in timedelta() in case of bad __divmod__

2017-10-11 Thread Louie Lu
Louie Lu added the comment: I got a different result in latest commit: eeb5ffd54e5 ➜ cpython git:(master) ✗ ./python test.py Traceback (most recent call last): File "test.py", line 15, in timedelta(hours=BadInt(1)) SystemError: returned NULL without setting an error Do

[issue31314] email throws exception with oversized header input

2017-10-11 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: -3911 ___ Python tracker ___ ___

[issue10496] Python startup should not require passwd entry

2017-10-11 Thread STINNER Victor
STINNER Victor added the comment: user.py: short Python script to reproduce the bug. It runs Python as user 12345, group 12345 and unset the HOME environment variable to reproduce the bug. The python binary must be readable and executable by any user, especially uid

[issue28157] Document time module constants (timezone, tzname, etc.) as deprecated.

2017-10-11 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +3928 ___ Python tracker ___

[issue31728] crashes in _elementtree due to unsafe decrefs of Element.text and Element.tail

2017-10-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f15058a697de12b0efe6c7ebc38fe61a993bb5d5 by Serhiy Storchaka (Oren Milman) in branch '2.7': [2.7] bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of Element.text and Element.tail (GH-3924) (#3950)

[issue28157] Document time module constants (timezone, tzname, etc.) as deprecated.

2017-10-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset 703ff381ffa946c23e7e25b0ae93a636a2607a40 by Berker Peksag (Cheryl Sabella) in branch 'master': bpo-28157: Improvements for the time module documentation (GH-928)

[issue31766] Python 3.5 missing from documentation

2017-10-11 Thread Ned Deily
Ned Deily added the comment: The documentation for 3.5 was deliberated removed from the pull down lists of current docsets as 3.5 is now in security-fix-only mode; the 3.5 documentation is only updated when a new security release is made and general doc changes to it are no

[issue31757] Tutorial: Fibonacci numbers start with 1, 1

2017-10-11 Thread Steven D'Aprano
Change by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___

[issue31767] Windows Installer fails with error 0x80091007 when trying to install debugging symbols

2017-10-11 Thread Ned Deily
Change by Ned Deily : -- components: +Windows -Installation nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue31766] Python 3.5 missing from documentation

2017-10-11 Thread Anthony Flury
New submission from Anthony Flury : In the Python version pull down list on docs.python.org, Python3.5 used to be listed, but has now been removed; the list only contains 2.7, 3.6 & 3.7. Python 3.5 is still the official Python 3.5 release in the Ubuntu repository,

[issue31767] Windows Installer fails with error 0x80091007 when trying to install debugging symbols

2017-10-11 Thread Igor Skochinsky
New submission from Igor Skochinsky : Trying to install 3.6.3 on Windows 10 and getting this error. Repro steps: 1. Download python-3.6.3.exe or python-3.6.3-amd64.exe, run it 2. Select "Customize Installation" 3. Next 4. In Advanced Options, select [x] Install for all

[issue30744] Local variable assignment is broken when combined with threads + tracing + closures

2017-10-11 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: +gvanrossum ___ Python tracker ___ ___

[issue31741] backports import path can not be overridden in Windows (Linux works fine)

2017-10-11 Thread Chris Caron
Chris Caron added the comment: -- Download Instructions * 64 Bit ver of Python v2.7 for Windows https://www.python.org/ftp/python/2.7/python-2.7.amd64.msi * Microsoft Visual C++ Compiler for Python 2.7: https://www.microsoft.com/en-ca/download/details.aspx?id=44266. --

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread caveman
caveman added the comment: When | is dropped, it means that the arguments/options are no longer mutually exclusive, which renders the resultant help menu incorrect. -- ___ Python tracker

[issue31749] Request: Human readable byte amounts in the standard library

2017-10-11 Thread Jason Stelzer
Jason Stelzer added the comment: I often speak in generalizations and half thoughts. Feel free to cherry pick as much or a little as you want. Including a core shim of whatever is agreed to be the minimalist functionality with a SEE ALSO note or clue as to where to

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread caveman
New submission from caveman : if you execute the code below, mutually exclusive agrs are separated by '|' as expected. but if you uncomment the 1 line down there, then the args list will be too long, and as argparse tries to wrap the args around, it drops all '|'s

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread Eric V. Smith
Eric V. Smith added the comment: Removing versions 3.4 and 3.8. Attaching a reproducing script. Run it with a parameter of the number of arguments to add. The behavior changes between 7 and 8, although I'm not sure either is wrong, just different. This is from Windows:

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread Eric V. Smith
Eric V. Smith added the comment: Good point. -- ___ Python tracker ___ ___

[issue31759] re wont recover nor fail on runaway regular expression

2017-10-11 Thread Matthew Barnett
Matthew Barnett added the comment: You shouldn't assume that just because it takes a long time on one implementation that it'll take a long time on all of the others, because it's sometimes possible to include additional checks to reduce the problem. (I doubt you

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread caveman
caveman added the comment: forgot to add: when you execute the code, pass the argument '-h' in order to have the script generate the help menu text. -- ___ Python tracker

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-11 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list

[issue28647] python --help: -u is misdocumented as binary mode

2017-10-11 Thread Berker Peksag
Berker Peksag added the comment: Thank you for the patch, Gareth. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28647] python --help: -u is misdocumented as binary mode

2017-10-11 Thread Gareth Rees
Gareth Rees added the comment: You're welcome. -- ___ Python tracker ___ ___

[issue23532] add example of 'first match wins' to regex "|" documentation?

2017-10-11 Thread Berker Peksag
Change by Berker Peksag : -- stage: -> resolved status: open -> closed ___ Python tracker ___

[issue31760] Re-definition of _POSIX_C_SOURCE with Fedora 26.

2017-10-11 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Hi all, Is it problematic ? if it is not the case, we can close it. In file included from /home/stephane/src/github.com/python/cpython/Modules/expat/expat_config.h:8:0, from

[issue28647] python --help: -u is misdocumented as binary mode

2017-10-11 Thread Berker Peksag
Berker Peksag added the comment: Pull request for issue 30404 has been merged so we only need the documentation patch for the 3.6 branch (unfortunately 3.5 is now in security-fix-only mode) I've opened PR 3954. -- versions: -Python 3.5, Python 3.7

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-11 Thread Steve Dower
Steve Dower added the comment: > just an alias Which I recognise is in the bug title. My point is that the enhancement itself is less relevant than the rationale and the documentation. Without a doc patch, there's really nothing to discuss here other than

[issue28647] python --help: -u is misdocumented as binary mode

2017-10-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset 5f908005ce16b06d5af7b413264009c4b062f33c by Berker Peksag in branch '3.6': bpo-28647: Update -u documentation (GH-3954) https://github.com/python/cpython/commit/5f908005ce16b06d5af7b413264009c4b062f33c --

[issue31415] Add -X option to show import time

2017-10-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +3930 ___ Python tracker ___ ___

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-11 Thread Steve Dower
Steve Dower added the comment: Really, this is just an alias for universal_newlines in Popen.__init__. So we add the parameter and: +if text: +universal_newlines = True self.universal_newlines = universal_newlines And 99% of the change is making it

[issue30821] unittest.mock.Mocks with specs aren't aware of default arguments

2017-10-11 Thread Max Rothman
Max Rothman added the comment: Hi, I'd like to wrap this ticket up and get some kind of resolution, whether it's accepted or not. I'm new to the Python community, what's the right way to prompt a discussion about this sort of thing? Should I have taken it to one of

[issue31741] backports import path can not be overridden in Windows (Linux works fine)

2017-10-11 Thread Chris Caron
Chris Caron added the comment: Just to point out, i forgot the instructions of installing pip (right before) the following entry in my last post: >> ** Heads up >> So at this point, the C:\Python27\Lib\site-packages will contain the >>> >> following: pip, setuptools, and

[issue31558] gc.freeze() - an API to mark objects as uncollectable

2017-10-11 Thread INADA Naoki
INADA Naoki added the comment: >> This is only useful if the parent process has a lot of memory that's never >> used by the child processes right? Otherwise, you would lose via refcounting >> COWs. > > What we saw in prod is that memory fragmentation caused by gc is

[issue31558] gc.freeze() - an API to mark objects as uncollectable

2017-10-11 Thread Zekun Li
Zekun Li added the comment: So what we did is: We keep gc **disabled** on parent process and freeze after warmup, enable gc on child process. The reason not to do a full collection is mentioned in previous comments/original ticket - (I called it) memory fragmentation.

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Mike Gilbert added the comment: To resolve this, I suggest clearing CFLAGS/CXXFLAGS before performing the ptheads check, and restoring them afterward. -- ___ Python tracker

[issue31558] gc.freeze() - an API to mark objects as uncollectable

2017-10-11 Thread INADA Naoki
INADA Naoki added the comment: As Instagram's report, disabling cycler GC really helps even if there is refcont. All application have some cold data: imported but never used modules, functions. -- ___ Python tracker

[issue31558] gc.freeze() - an API to mark objects as uncollectable

2017-10-11 Thread INADA Naoki
INADA Naoki added the comment: Should gc.freeze() do gc.collect() right before freezing? Or should we document `gc.collect(); gc.freeze();` idiom? I don't like `gc.freeze(collect=False)`. So if there is at least one use case of `gc.freeze()` without `gc.collect()`, I'm

[issue2506] Add mechanism to disable optimizations

2017-10-11 Thread Alex Gaynor
Alex Gaynor added the comment: If anyone has needed a workaround in the past 9 years and hasn't yet found one: https://github.com/pyca/cryptography/pull/3968/commits/3b585f803891e750d0ca5861b5a29e16b779bc16 -- nosy: +alex ___

[issue31759] re wont recover nor fail on runaway regular expression

2017-10-11 Thread Tim Peters
Tim Peters added the comment: Sure! The OP was obviously asking about the engine that ships with Python, so that's what I talked about. Raphaël, Matthew develops an excellent replacement ("regex") for Python's re module, which you can install via, e.g., "pip install regex"

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
New submission from Mike Gilbert : When testing for ptheads support in the compiler, configure includes the CFLAGS value from the environment. If CFLAGS contains -pthread, or an option which implies -pthread (like -fopenmp), this will cause configure to not include

[issue31567] Inconsistent documentation around decorators

2017-10-11 Thread Daisuke Miyakawa
Change by Daisuke Miyakawa : -- keywords: +patch pull_requests: +3935 stage: -> patch review ___ Python tracker ___

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-11 Thread Nick Coghlan
Nick Coghlan added the comment: As far as docs phrasing goes, it probably makes sense to frame it as "text" being the preferred argument name in 3.7+, with "universal_newlines" retained indefinitely as a compatibility preserving alias. After all, if that wasn't our

[issue14369] make __closure__ writable

2017-10-11 Thread Nick Coghlan
Nick Coghlan added the comment: Thinking about the interaction between this idea and https://bugs.python.org/issue30744 made me realise that there's a subtlety here that would probably need to be spelled out more clearly in the docs for __closure__ than it is for

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Change by Mike Gilbert : Added file: https://bugs.python.org/file47215/configure.log ___ Python tracker ___

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Mike Gilbert
Change by Mike Gilbert : Added file: https://bugs.python.org/file47216/build.log ___ Python tracker ___

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Arfrever Frehtes Taifersar Arahesis
Change by Arfrever Frehtes Taifersar Arahesis : -- assignee: -> twouters nosy: +twouters ___ Python tracker ___

[issue31558] gc.freeze() - an API to mark objects as uncollectable

2017-10-11 Thread INADA Naoki
INADA Naoki added the comment: > So my understand is that gc frees some objects and makes some memory pages > becomes available to allocate in child process. Allocation on the shared > memory pages will cause the copy-on-write even without gc. > > Though this behavior

[issue31741] backports import path can not be overridden in Windows (Linux works fine)

2017-10-11 Thread Zachary Ware
Zachary Ware added the comment: Note that your instructions start with downloading the installer for 2.7.0, whereas the latest version of 2.7 is 2.7.14, which includes pip. backports is a strange beast of a package, which tries to emulate Python 3's namespace packages

[issue13802] IDLE font settings: use multiple character sets in examples

2017-10-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: I decided to do the needed rearrangement of frames in this issue, leaving revision of widgets other than the sample to #24776. PR3960 initially puts the following in the sample box. I believe it should cover most Python users.

[issue30767] logging must check exc_info correctly

2017-10-11 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker ___ ___

[issue31768] argparse drops '|'s when the arguments are too long

2017-10-11 Thread Louie Lu
Louie Lu added the comment: the format of usage is do at argparse.py:296. So how do we format this kind of situation, to be like this, if the group also too long? usage: test.py [-h] [-v | -q | -x [X] | -y [Y] | Z | Z | Z | Z | Z | Z | Z |

[issue31769] configure includes user CFLAGS testing detecting pthreads support

2017-10-11 Thread Arfrever Frehtes Taifersar Arahesis
Change by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___

[issue31769] configure includes user CFLAGS when detecting pthreads support

2017-10-11 Thread Mike Gilbert
Change by Mike Gilbert : -- title: configure includes user CFLAGS testing detecting pthreads support -> configure includes user CFLAGS when detecting pthreads support ___ Python tracker

[issue13802] IDLE Prefernces/Fonts: use multiple alphabets in examples

2017-10-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +3937 stage: needs patch -> patch review ___ Python tracker ___

[issue30404] Make stdout and stderr truly unbuffered when using -u option

2017-10-11 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +3939 ___ Python tracker ___ ___

[issue28647] python --help: -u is misdocumented as binary mode

2017-10-11 Thread Berker Peksag
Change by Berker Peksag : -- pull_requests: +3929 ___ Python tracker ___ ___

[issue31728] crashes in _elementtree due to unsafe decrefs of Element.text and Element.tail

2017-10-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Oren! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue28157] Document time module constants (timezone, tzname, etc.) as deprecated.

2017-10-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset 764969a4b9ed7c6d2adbc04269f9b4fa392a1eed by Berker Peksag (Miss Islington (bot)) in branch '3.6': [3.6] bpo-28157: Improvements for the time module documentation (GH-928)

[issue31762] Issue in login

2017-10-11 Thread Nikhil
New submission from Nikhil : I have included the screen shot -- files: Screenshot_20171011_222848.png messages: 304164 nosy: Nik101 priority: normal severity: normal status: open title: Issue in login Added file:

[issue31759] re wont recover nor fail on runaway regular expression

2017-10-11 Thread Raphaël Riel
Raphaël Riel added the comment: Results for my local computer: ``` Attempting test_01 Done in 0.12ms Attempting test_02 Done in 1.52ms Attempting test_03 Done in 26.24ms Attempting test_04 Done in 432.32ms Attempting test_05 Done in 886.3ms Attempting test_06 Done in

[issue31727] FTP_TLS errors when

2017-10-11 Thread Jonathan
Jonathan added the comment: Just tested this with Python 3.7.0a1. I'm afraid it makes no difference. Exact same error: *cmd* 'LIST' *put* 'LIST\r\n' *get* '150 Accepted data connection\n' *resp* '150 Accepted data connection' Traceback (most recent call last): File

[issue31327] bug in dateutil\tz\tz.py

2017-10-11 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Is this similar to issue 29097? -- ___ Python tracker ___

[issue31761] Possible error in devguide part about tests

2017-10-11 Thread Denis Osipov
New submission from Denis Osipov : In Developer Guide says: "If you don’t have easy access to a command line, you can run the test suite from a Python or IDLE shell: >>> from test import autotest" But I can't run test from IDLE: Traceback (most recent call last): File

[issue31758] various refleaks in _elementtree

2017-10-11 Thread Oren Milman
Change by Oren Milman : -- keywords: +patch pull_requests: +3931 stage: needs patch -> patch review ___ Python tracker ___

[issue31761] Possible error in devguide part about tests

2017-10-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +haypo ___ Python tracker ___ ___

[issue31415] Add -X option to show import time

2017-10-11 Thread STINNER Victor
STINNER Victor added the comment: > Why global _PyTime_GetWinPerfCounterWithInfo() is needed at all? It seems to > me that _PyTime_GetPerfCounterWithInfo() can be used instead. Smaller API is > better. I chose to expose _PyTime_GetWinPerfCounterWithInfo() to make my

[issue31327] bug in dateutil\tz\tz.py

2017-10-11 Thread Tim Peters
Tim Peters added the comment: The docs for the `time` module say: """ Although this module is always available, not all functions are available on all platforms. Most of the functions defined in this module call platform C library functions with the same name. It may

[issue31758] various refleaks in _elementtree

2017-10-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +eli.bendersky, scoder, serhiy.storchaka stage: -> needs patch versions: +Python 2.7, Python 3.6 ___ Python tracker

[issue31756] subprocess.run should alias universal_newlines to text

2017-10-11 Thread Andrew Clegg
Andrew Clegg added the comment: OK great, I'll get working on a patch. -- ___ Python tracker ___

[issue31327] bug in dateutil\tz\tz.py

2017-10-11 Thread Tim Peters
Tim Peters added the comment: Since this is a pretty common gotcha, I'd prefer to add it as an example to the text I already quoted; e.g., add: """ For example, the native Windows C libraries do not support times before the epoch, and `localtime(n)` for negative `n` raises

[issue31327] bug in dateutil\tz\tz.py

2017-10-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you, I will provide a PR for this issue and close it once it's over. -- ___ Python tracker

[issue31327] bug in dateutil\tz\tz.py

2017-10-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Steve, I have added you on this issue because it's related to Windows. Maybe you could check it. -- nosy: +matrixise, steve.dower ___ Python tracker

[issue31757] Tutorial: Fibonacci numbers start with 1, 1

2017-10-11 Thread Mark Dickinson
Mark Dickinson added the comment: Is there any particular reason you want to start with 1? While not universal, it's standard to define `Fib(0) = 0`, and to start the sequence at `0`. (And note that Python usually starts indexing things from 0, so it makes sense to start

[issue31415] Add -X option to show import time

2017-10-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why global _PyTime_GetWinPerfCounterWithInfo() is needed at all? It seems to me that _PyTime_GetPerfCounterWithInfo() can be used instead. Smaller API is better. _PyTime_GetPerfCounter() is a simple wrapper around

  1   2   >