[issue12154] PyDoc Partial Functions

2018-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Adding my analysis here which is also at related issue : issue30129. On the attached program written by @skip.montanaro both c.sum and Child.sum return None for inspect.getdocs thus docstrings in pydoc are empty which can be fixed in both

[issue30129] functools.partialmethod should look more like what it's impersonating.

2018-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I did some analysis with the given example script. Related issue where Aaron has some analysis : issue12154 . The patch doesn't break anything since there are no tests for this that also could be added. 1. When we do inspect.getdoc(c.sum) it looks

[issue35174] Calling for super().__str__ seems to call self.__repr__ in list subclass

2018-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: list inherits __str__ from object. object.__str__() calls __repr__() which can be overridden in subclasses. So if you want repr() and str() returned the same, you need to define only the __repr__() method. This is a feature, not a bug. -- nosy:

[issue35143] Annotations future requires unparse, but not accessible from Python

2018-11-05 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34897] distutils test errors when CXX is not set

2018-11-05 Thread Tal Einat
Tal Einat added the comment: Michael, please read more about comparisons[1] and the None object[2]. [1] https://docs.python.org/3/library/stdtypes.html#comparisons [2] https://docs.python.org/3/library/stdtypes.html#the-null-object -- ___ Python

[issue33578] cjkcodecs missing getstate and setstate implementations

2018-11-05 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue17185] unittest mock create_autospec doesn't correctly replace mocksignature

2018-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this being worked on or can I try fixing this? My analysis so far is as below : 1. For functions : inspect.signature looks for attribute __signature__ for functions and while creating the mock for a function since we already have the

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: Although I appreciate the confidence placed in me, I think I'm not exactly the most competent person to make changes to such an important project. I know what -probably- could be improved (from my very narrow point of view) but I don't even know where or how

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: Yes, my last message is a trimmed version of my next to last message (which itself is a trimmed version of all the verbose of the build, showing just after the PGO interpreter wakes up). Although, obviously they where run at different times (one run completed

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset ffbce43c1aa457b5976665eb2e47771198c7af06 by Miss Islington (bot) in branch '2.7': closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH-10347)

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset d0e3105f7ca3fc54b167edc756ce545cbab0ce95 by Miss Islington (bot) in branch '3.6': closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH-10347)

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset ca592bcf56fca9321033132fe20fdeff985a by Miss Islington (bot) in branch '3.7': closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH-10347)

[issue35174] Calling for super().__str__ seems to call self.__repr__ in list subclass

2018-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Adding the related StackOverflow question here for some context : https://stackoverflow.com/questions/53156623/calling-for-super-str-seem-to-call-self-repr-in-list-subclass Thanks -- nosy: +xtreak ___

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9658 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9659 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9657 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f1b9ad3d38c11676b45edcbf2369239bae436e56 by Benjamin Peterson (Alexey Izbyshev) in branch 'master': closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some systems. (GH-10347)

[issue23220] IDLE: Document how Shell displays user code output

2018-11-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +9656 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset 54bcb6c0f185be29b2a626d2f1430c110c823a7d by Miss Islington (bot) in branch '3.6': bpo-35099: Update idlelib/help.html (GH-10353) https://github.com/python/cpython/commit/54bcb6c0f185be29b2a626d2f1430c110c823a7d --

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset 4a46295a95bc2e7a93bcf0ce4cdaeeeb48729069 by Miss Islington (bot) in branch '3.7': bpo-35099: Update idlelib/help.html (GH-10353) https://github.com/python/cpython/commit/4a46295a95bc2e7a93bcf0ce4cdaeeeb48729069 --

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9655 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9654 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f1d3efc2fba704692d539acc3cb0376a1dd9d98f by Terry Jan Reedy in branch 'master': bpo-35099: Update idlelib/help.html (#10353) https://github.com/python/cpython/commit/f1d3efc2fba704692d539acc3cb0376a1dd9d98f --

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Steve Dower
Steve Dower added the comment: If you're able, you might be the best person to do some of those updates right now :) The rest of us will have to set aside time to get back up to speed on some of the details, and while we'll likely have to do that to review changes anyway, at least that's

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-05 Thread Steve Dower
Steve Dower added the comment: How much have you edited the error messages you are posting? Those two build commands shouldn't be next to each other (the tests should be in between), so perhaps something is wrong in that script? Or maybe you trimmed the output before pasting it? --

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +9653 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9731] Add ABCMeta.has_methods and tests that use it

2018-11-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: -9633 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I either removed or augmented occurrences of 'console' in the renamed section. -- dependencies: -IDLE Doc: Text consumes unlimited RAM, consoles likely not, IDLE: Document how Shell displays user code output resolution: -> fixed stage: patch review

[issue35174] Calling for super().__str__ seems to call self.__repr__ in list subclass

2018-11-05 Thread Camion
New submission from Camion : I don't know if this is by design (for what reason ?) or if it is a bug, but I have noticed this quite counter-intuitive behaviour : Doing that, it seems that the logical way to make the __repr__ and __str__ methods, would be to override respectively the parent

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset 927a113ae2be33a9dd929569930f28948aa5c965 by Miss Islington (bot) in branch '3.6': bpo-35099: Improve the doc about IDLE running user code. (GH-10350) https://github.com/python/cpython/commit/927a113ae2be33a9dd929569930f28948aa5c965 --

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset a437c285fa4f21720802e7a91770b2281d576554 by Miss Islington (bot) in branch '3.7': bpo-35099: Improve the doc about IDLE running user code. (GH-10350) https://github.com/python/cpython/commit/a437c285fa4f21720802e7a91770b2281d576554 --

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9652 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9651 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5e7909032491cef17754a3208872655fe350e9be by Terry Jan Reedy in branch 'master': bpo-35099: Improve the doc about IDLE running user code. (#10350) https://github.com/python/cpython/commit/5e7909032491cef17754a3208872655fe350e9be --

[issue35099] Improve the IDLE - console differences doc

2018-11-05 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +9650 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue35119] Customizing module attribute access example raises RecursionError

2018-11-05 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35119] Customizing module attribute access example raises RecursionError

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset 558dc8adbec0b85e0ff257fcedc85c5d89cd2825 by Miss Islington (bot) in branch '3.7': bpo-35119: Fix RecursionError in example of customizing module attribute access. (GH-10323)

[issue22276] pathlib glob ignores trailing slash in pattern

2018-11-05 Thread E Kawashima
Change by E Kawashima : -- keywords: +patch pull_requests: +9649 stage: test needed -> patch review ___ Python tracker ___ ___

[issue22021] shutil.make_archive() root_dir do not work

2018-11-05 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Is anybody working on this or can I submit a PR? -- nosy: +lys.nikolaou ___ Python tracker ___

[issue35119] Customizing module attribute access example raises RecursionError

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9648 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35119] Customizing module attribute access example raises RecursionError

2018-11-05 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 0bee3c36d406e47fa9f99cfc1e07b701512c4f3f by Ivan Levkivskyi (Denis Osipov) in branch 'master': bpo-35119: Fix RecursionError in example of customizing module attribute access. (GH-10323)

[issue35168] shlex punctuation_chars inconsistency

2018-11-05 Thread Raymond Hettinger
Raymond Hettinger added the comment: It makes sense to me that information used in an expensive one-time setup should be specified in advance where other parameters that are more easily changed are specified downstream. The API reflects the a sensible way to use the tool. Making it to

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33462] reversible dict

2018-11-05 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33462] reversible dict

2018-11-05 Thread INADA Naoki
INADA Naoki added the comment: New changeset 6531bf6309c8fda1954060a0fb5ea930b1efb656 by INADA Naoki (RĂ©mi Lapeyre) in branch 'master': bpo-33462: Add __reversed__ to dict and dict views (GH-6827) https://github.com/python/cpython/commit/6531bf6309c8fda1954060a0fb5ea930b1efb656 --

[issue35173] Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module path according to the shared library

2018-11-05 Thread Ali Rizvi-Santiago
Change by Ali Rizvi-Santiago : -- title: Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module path -> Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module path

[issue35173] Re-use already existing functionality to allow Python 2.7.x (both embedded and standalone) to locate the module path

2018-11-05 Thread Ali Rizvi-Santiago
New submission from Ali Rizvi-Santiago : This is specific to the Windows platform as it's the only platform that uses the registry and other path hacks to identify the default module path. This patch is mostly intended for embedded Python, but is also applicable to a stand-alone Python. A

[issue35172] Add support for other MSVC compiler versions to distutils. distutils makes two incorrect assumption that MSVC compiler versions scale linearly and that the crt's are the same.

2018-11-05 Thread Ali Rizvi-Santiago
New submission from Ali Rizvi-Santiago : Distutils makes a few incorrect assumptions that prevent it from supporting the newer Microsoft-y C compilers. This patch fixes it up till MSVC 14.0. There are 2 assumptions that are made by distutils and they are as follows. The first one is that

[issue30533] missing feature in inspect module: getmembers_static

2018-11-05 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- nosy: +lys.nikolaou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +9647 stage: -> patch review ___ Python tracker ___ ___

[issue35171] test_TimeRE_recreation_timezone failure on systems with non-default posixrules

2018-11-05 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : I've got the following on OpenSUSE Tumbleweed (glibc 2.27): == FAIL: test_TimeRE_recreation_timezone (test.test_strptime.CacheTests)

[issue35145] sqlite3: "select *" should optionally sniff and autoconvert TEXT datetime fields

2018-11-05 Thread Robert Pollak
Robert Pollak added the comment: Paul, the sniffing would be only active for people who explicitly add a connect() argument like detect_types=DETECT_DATETIME, which can have the appropriate warning in the docs. You can also extend the sniffing to all values, not just the first non-missing

[issue34897] distutils test errors when CXX is not set

2018-11-05 Thread Michael Felt
Michael Felt added the comment: Thx. So, while "" is not None (i.e., "" is not False), it does test as a Boolean expression as 'False' so the test for None or "" is the same as testing for "" (but not the same as testing for None). I accept your logic - and shall make the change in the

[issue31793] Allow to specialize smart quotes in documentation translations

2018-11-05 Thread Julien Palard
Change by Julien Palard : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35170] 3.7.1 compile failure on CentOS 6.10; _ctypes did not build

2018-11-05 Thread lana.deere
New submission from lana.deere : When I try to compile 3.7.1 on CentOS6.10 it fails to build _ctypes, but I can't find any indication of why. There are several mentions of _ctypes during compiles, building '_ctypes_test' extension creating

[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-11-05 Thread Elvis Pranskevichus
Elvis Pranskevichus added the comment: I don't think that breaking the .pyc contract by assumption is a good thing. The desired behavior of never checking the .pyc freshness can be achieved by using unchecked hash-based compilation, or using hash-based compilation and

[issue35168] shlex punctuation_chars inconsistency

2018-11-05 Thread Vinay Sajip
Vinay Sajip added the comment: I agree that it's inconsistent, but quite a bit of setting up is done when punctuation_chars is provided, as per the link in msg329312. One could convert the attribute to a property and have a setter that does the equivalent set up, but some of the setup is

[issue35154] subprocess.list2cmdline() does not allow running some commands.

2018-11-05 Thread Roffild
Roffild added the comment: Yes, my mistake. 3.6/Lib/subprocess.py:970 -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue17560] problem using multiprocessing with really big objects?

2018-11-05 Thread Oleksandr Buchkovskyi
Change by Oleksandr Buchkovskyi : -- keywords: +patch pull_requests: +9646 stage: -> patch review ___ Python tracker ___ ___

[issue35169] Improve error messages for assignment

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9645 stage: -> patch review ___ Python tracker ___ ___

[issue35169] Improve error messages for assignment

2018-11-05 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : This is a follow up of issue34641. >>> f(lambda x: x = 1) File "", line 1 SyntaxError: lambda cannot contain assignment >>> f(x.y = 1) File "", line 1 SyntaxError: keyword can't be an expression The error message "keyword can't be an expression"

[issue35167] Specify program for gzip and json.tool command line options

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker ___

[issue35168] shlex punctuation_chars inconsistency

2018-11-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. The code was added with c1f974c944a3e73cbc9102356d8700a190dcafb3 and self._pushback_chars is declared only when punctuation_chars is passed to shlex.shlex in the constructor as you have mentioned in

[issue35167] Specify program for gzip and json.tool command line options

2018-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8c5f14d9c137fbffbb9de7c62ca834df2e9fbf2a by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': [3.6] bpo-35167: Specify program for json.tool command line options. (GH-10332) (GH-10338) (GH-10339)

[issue35168] shlex punctuation_chars inconsistency

2018-11-05 Thread tphh
New submission from tphh : The newly added shlex.punctuation_chars is special compared to the other public instance variables: It can ONLY be used when constructing a shlex instance, unlike other public instance variables, such as commenters, which can ONLY be set later. >>> s =

[issue35125] asyncio shield: remove inner callback on outer cancellation

2018-11-05 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +9644 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue35145] sqlite3: "select *" should optionally sniff and autoconvert TEXT datetime fields

2018-11-05 Thread Paul Ganssle
Paul Ganssle added the comment: With regards to automatically deducing column types, I am -1 on that. It has way too many dangerous edge cases, and I know of countless bugs in software that are the direct result of stringly-typed data being coerced into a specific data type based on its

[issue35167] Specify program for gzip and json.tool command line options

2018-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6ad277b2592cfac0f138e9adca4374dd1f354bdf by Serhiy Storchaka in branch '3.7': [3.7] bpo-35167: Specify program for json.tool command line options. (GH-10332) (GH-10338)

[issue35167] Specify program for gzip and json.tool command line options

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9643 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: One more thing: point in case #6 does credit a revision IMO. The build_pgo.bat file does not exist. -- ___ Python tracker ___

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: Thank you, I think that will suffice. At least guide folks like myself who want to build from source and with optimizations in the right direction (on which folder to work on and which commands to issue to the terminal) Please keep me posted. --

[issue35167] Specify program for gzip and json.tool command line options

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9642 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-05 Thread Jorge Ramos
Jorge Ramos added the comment: Hi: Hmm.. but the installation does fail ("PGO run did not succeed (no python36!*.pgc files) and there is no data to merge"): * Total duration: 35 min 2 sec Tests result: FAILURE

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 2.7 ___ Python tracker ___

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 3e3e1a27f769b3385853fbcad6749e71ca7f3ce3 by Serhiy Storchaka in branch '2.7': [2.7] bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) (GH-10335) (GH-10336)

[issue35167] Specify program for gzip and json.tool command line options

2018-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 083a7a172b8c252d72031f21dcfea3c0d73f by Serhiy Storchaka in branch 'master': bpo-35167: Specify program for gzip and json.tool command line options. (GH-10332)

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9641 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9731] Add ABCMeta.has_methods and tests that use it

2018-11-05 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7054e5c80b6e98cd44e22d1bc2d7f0a94343089d by Serhiy Storchaka in branch '3.6': [3.6] bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284) (GH-10335)

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9640 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread miss-islington
miss-islington added the comment: New changeset 7beb8c54ede7669a59bb9b912ba0ffd8aa3998c6 by Miss Islington (bot) in branch '3.7': bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)

[issue35156] Consider revising documentation on Python Builds from source

2018-11-05 Thread Steve Dower
Steve Dower added the comment: Most people building Python from the devguide are doing it for contributions, so I'd be very hesitant to change the default recommendations. But we should highlight how to make a working installable build (including the extra dependencies) and the common

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +9639 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d by Serhiy Storchaka in branch 'master': bpo-35133: Fix mistakes when concatenate string literals on different lines. (GH-10284)

[issue35157] Missing pyconfig.h when building from source and pgo flag is enabled

2018-11-05 Thread Steve Dower
Steve Dower added the comment: Those are just the distutils tests failing, which probably means the extra environment variables or paths involved in the PGO profiling run are confusing the logic for detecting when it is running in a source tree. We should fix it, but it won't affect either

[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-11-05 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- keywords: +patch pull_requests: +9638 stage: -> patch review ___ Python tracker ___ ___

[issue34726] Add support of checked hash-based pycs in zipimport

2018-11-05 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- pull_requests: +9637 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue25711] Rewrite zipimport from scratch

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35167] Specify program for gzip and json.tool command line options

2018-11-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +9636 stage: -> patch review ___ Python tracker ___ ___

[issue35167] Specify program for gzip and json.tool command line options

2018-11-05 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently command line options for gzip and json.tool are listed as general command line options, together with other options for the Python interpreter. They should be listed as options of separate programs. See "command line option" on

[issue9371] pulldom doesn't provide END_DOCUMENT or COMMENT nodes.

2018-11-05 Thread Jonathan Gossage
Change by Jonathan Gossage : -- pull_requests: +9635 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35133] Bugs in concatenating string literals on different lines

2018-11-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a script used for searching and fixing such errors. It produces a large number of false detections, so it need manual work for clearing the result. In general this can't be automated, because the correctness depends on the context. --

[issue35164] socket.getfqdn and socket.gethostbyname fail on MacOS

2018-11-05 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with Ned. The code fragment works for me as well on 10.14.1 and I've used simular code in the past on different versions of macOS as well. @ssbarnea: - What is the hostname as shown in the "Sharing" preference pane? Does the name include special

[issue25711] Rewrite zipimport from scratch

2018-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: Noticed this was still open when reviewing Elvis's zipimport patch for issue 34022. Given the Python implementation has been merged, should we close this as resolved, and open new issues for any further changes (performance or otherwise)? -- nosy:

[issue32512] Add an option to profile to run library module as a script

2018-11-05 Thread Mario Corchero
Change by Mario Corchero : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32512] Add an option to profile to run library module as a script

2018-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1 by Nick Coghlan (Mario Corchero) in branch 'master': bpo-32512: Add -m option to profile for profiling modules (#5132) https://github.com/python/cpython/commit/ad1a25f499362eaf9cbfcafa0b8e2454eb43dcf1

[issue35134] Move !Py_LIMITED_API to Include/pycapi/

2018-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: On actually looking at the initial changes in the PR: * declarations that aren't part of the stable ABI in any version (i.e. "#ifndef PY_LIMITED_API", "#if !defined(PY_LIMITED_API)") should move to the new directory * declarations that are part of the stable

[issue35145] sqlite3: "select *" should optionally sniff and autoconvert TEXT datetime fields

2018-11-05 Thread Robert Pollak
Robert Pollak added the comment: I have created the attached sqlite database file (with SQLiteStudio) for testing. I contains a table `t` with a TEXT column `x` and a DATETIME (according to SQLiteStudio) column `y`. The table contains a single row with the value `2018-11-05 12:20:30` for

[issue35134] Move !Py_LIMITED_API to Include/pycapi/

2018-11-05 Thread Nick Coghlan
Nick Coghlan added the comment: > To be honest, I'm not sure that I understand how "Py_LIMITED_API+0 >= > 0x0305" works and should be used. It's described here: https://docs.python.org/3/c-api/stable.html If a stable ABI consumer just declares "#define PY_LIMITED_API 1", then they'll

[issue35134] Move !Py_LIMITED_API to Include/pycapi/

2018-11-05 Thread Nick Coghlan
Change by Nick Coghlan : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >