[issue30678] Widget variable binding does not work if mainloop is called from a different function

2017-06-16 Thread Paul Moore
Paul Moore added the comment: I suspect that the problem is somehow related to garbage collection - in your failing example you don't keep any references to v or cb. I don't know what references tkinter keeps internally, it may be that this is OK because the root window is guarante

[issue30725] Windows installer for 2.7.13 doesn't install pip when installing to C:\Program Files

2017-06-22 Thread Paul Moore
Paul Moore added the comment: Presumably you overrode the default location of C:\Python27 in favour of C:\Program Files? I'm not sure we've ever supported installing Python 2.7 in "Program Files", precisely because of the security constraints on that directory (plus the f

[issue30725] Windows installer for 2.7.13 doesn't install pip when installing to C:\Program Files

2017-06-22 Thread Paul Moore
Paul Moore added the comment: Note that even if you do get this working, you'll still need to run pip from an elevated prompt every time you want to use it to install new packages (or use --user). -- ___ Python tracker <http://bugs.py

[issue30906] os.path.join misjoins paths

2017-07-11 Thread Paul Moore
Paul Moore added the comment: This is as documented - see https://docs.python.org/3.6/library/os.path.html#os.path.join (" If a component is an absolute path, all previous components are thrown away and joining continues from the absolute path component"). In this case, &qu

[issue31055] All Sphinx generated pages could have a new "Edit This Page" link adjacent to the existing "Show Source"

2017-07-27 Thread Paul Hammant
New submission from Paul Hammant: Show Source links to: https://github.com/python/cpython/blob/path/to/resource.rst Edit This Page would link to https://github.com/python/cpython/edit/path/to/resource.rst And yes, GitHub does the right thing if you're not ordinarily permitted to c

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-27 Thread Paul Moore
Paul Moore added the comment: I've tested this on Python 3.6.1 and Python 3.6.2 on Windows 7, 64-bit, and it works as expected. I don't see the problem here - do you have any unusual environment settings or config? -- ___ Python trac

[issue31058] FileFinder fails to find modules for import if modules are created at runtime and don't result in a directory mtime update

2017-07-27 Thread Paul Goins
New submission from Paul Goins: If modules are added to a package namespace at runtime, there is a chance that they will not be properly detected if adding the module does not also result in an update to the parent directory's st_mtime attribute. This manifests in not being able to impor

[issue31055] All Sphinx generated pages could have a new "Edit This Page" link adjacent to the existing "Show Source"

2017-07-27 Thread Paul Hammant
Paul Hammant added the comment: Hi folks, I'm not explaining Github's non-commiter contribution process very well. Click this link everyone - https://github.com/BuildRadiator/BuildRadiator/edit/master/README.md - pretend to make a contribution to one of m

[issue28734] argparse: successive parsing wipes out nargs=? values

2017-07-27 Thread paul j3
paul j3 added the comment: The problem described here is restricted to `?` and `*' positionals, and is caused by the subtle way in which 'empty' optional positionals are handled. The regular handling of defaults at the start of `parse_known_args` works fine. The default is

[issue18943] argparse: default args in mutually exclusive groups

2017-07-27 Thread paul j3
paul j3 added the comment: Another manifestation of the complications in handling '?' positionals is in http://bugs.python.org/issue28734 argparse: successive parsing wipes out nargs=? values -- ___ Python tracker <http://bu

[issue31058] FileFinder fails to find modules for import if modules are created at runtime and don't result in a directory mtime update

2017-07-28 Thread Paul Goins
Paul Goins added the comment: Ack; missed that. Thanks, and sorry for the noise. -- ___ Python tracker <http://bugs.python.org/issue31058> ___ ___ Python-bug

[issue31072] add filter to zipapp

2017-07-28 Thread Paul Moore
Paul Moore added the comment: I'd propose an extra argument to zipapp.create_archive, include_file=None (feel free to bikeshed on the name). If the argument is not None, then it should be a callable which will be called with a pathlib.Path object for each file that's selected for in

[issue31072] add filter to zipapp

2017-07-28 Thread Paul Moore
Paul Moore added the comment: Yes, they can be. -- ___ Python tracker <http://bugs.python.org/issue31072> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-28 Thread Paul Moore
Paul Moore added the comment: OK, so the problem is that no-one here (or as far as I can see on the SO discussion, either) can reproduce your issue. So we have to assume that it's something wrong with your environment, and not a Python issue. If you can produce an example that allows

[issue31012] suggestion: allow termination argument in argparse to be specified as argument

2017-07-30 Thread paul j3
Changes by paul j3 : -- nosy: +paul.j3 ___ Python tracker <http://bugs.python.org/issue31012> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue29670] argparse: does not respect required args pre-populated into namespace

2017-07-30 Thread paul j3
paul j3 added the comment: Another pre-existing namespace issue http://bugs.python.org/issue28734 When positional nargs='?' or '*', the default (or []) overwrites the namespace value. That's because the posiitonals are always 'seen' (by an empty str

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Paul Moore
Paul Moore added the comment: OK, so this is the first time (I believe) you have mentioned that you are using the embedded distribution - which is not designed for general scripting use, but very specifically for embedding Python in a custom application. Can you reproduce with the standard

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Paul Moore
Paul Moore added the comment: Hmm, never mind. This is expected behaviour because the embedded distribution includes a ".pth" file which overrides the standard sys.path. For details, see https://docs.python.org/3.6/using/windows.html#finding-modules and https://docs.python.org

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Paul Moore
Paul Moore added the comment: I'm not Steve, but thanks for the compliment :-) You're still running an embedded Python. There's a _python36.pth file next to the executable, that's causing the behaviour you're seeing (and it's there by design - it's what mak

[issue31056] Import Module Not Working According To Documentation Python 3.6.2

2017-07-31 Thread Paul Moore
Paul Moore added the comment: No problem - glad it's all clear now. -- ___ Python tracker <http://bugs.python.org/issue31056> ___ ___ Python-bugs-list m

[issue31012] suggestion: allow termination argument in argparse to be specified as argument

2017-08-01 Thread paul j3
paul j3 added the comment: argparse roughly follows POSIX practice: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html Guideline 10: The first -- argument that is not an option-argument should be accepted as a delimiter indicating the end of options. Any

[issue31101] os.remove() auto add \ in Windows2012R2

2017-08-02 Thread Paul Moore
Paul Moore added the comment: There are two problems with your code and bug report: 1. By using a single quoted string, some of the backslashes in the path are being interpreted as starting a special character (specifically \t is interpreted as a tab character). You should either double the

[issue31012] suggestion: allow termination argument in argparse to be specified as argument

2017-08-03 Thread paul j3
paul j3 added the comment: The earlier issue for '--' as arguement http://bugs.python.org/issue14364 With the patch I suggested there '-f--' and '--foo=--' work as arguments. '--foo --' is still interpreted as a positionals switch. In optpars

[issue31148] Can we get an MSI installer for something past 3.4.4?

2017-08-09 Thread Paul Moore
Paul Moore added the comment: To be clear, Steve *is* our main Windows developer, and specifically the person who developed the Windows installers we now use. They work perfectly for many people, including myself, so there certainly isn't a general issue with them. I myself routinely in

[issue31072] add filter to zipapp

2017-08-09 Thread Paul Moore
Paul Moore added the comment: New changeset b811d664defed085d16951088afb579fb649c58d by Paul Moore (Jeffrey Rackauckas) in branch 'master': bpo-31072: Add filter to zipapp (#3021) https://github.com/python/cpython/commit/b811d664defed085d16951088afb57

[issue31072] add filter to zipapp

2017-08-09 Thread Paul Moore
Paul Moore added the comment: Thanks to Jeffrey Rackauckas for the implementation of this feature. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue31072] add filter to zipapp

2017-08-09 Thread Paul Moore
Paul Moore added the comment: Good point - I wasn't even aware of the filterfunc argument in PyZipFile. I'll rename the argument. I wasn't initially sure about a what's new entry. I'll add one - and thanks for the re

[issue31072] add filter to zipapp

2017-08-09 Thread Paul Moore
Changes by Paul Moore : -- pull_requests: +3084 ___ Python tracker <http://bugs.python.org/issue31072> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31072] add filter to zipapp

2017-08-09 Thread Paul Moore
Paul Moore added the comment: I've created a new PR 3049 adding the fixes you suggested (and tightening up the tests, as I noticed an untested aspect of the change while editing). -- ___ Python tracker <http://bugs.python.org/is

[issue31072] add filter to zipapp

2017-08-11 Thread Paul Moore
Paul Moore added the comment: Zipapp uses path objects throughout, so making the filter function take a path object is consistent with that. I guess modifying PyZipFile to take either a string or a path object would be possible. As for the relative path, that's deliberate as I expect t

[issue31072] add filter to zipapp

2017-08-11 Thread Paul Moore
Paul Moore added the comment: Sounds reasonable :-) I'm not going to be checking mails for a week or so, so I'll revisit this once I get back. -- ___ Python tracker <http://bugs.python.o

[issue31222] datetime.py implementation of .replace inconsistent with C implementation

2017-08-16 Thread Paul G
New submission from Paul G: In the .py implementation of datetime.replace (and date.replace and time.replace), the new datetime is created using the datetime type: https://github.com/python/cpython/blob/master/Lib/datetime.py#L1578 But in the C source, it is created from type(self): https

[issue31222] datetime.py implementation of .replace inconsistent with C implementation

2017-08-16 Thread Paul G
Paul G added the comment: @r.david.murray In the other thread, you mention that the full test suite is run against the C and Python implementations, so that answers the question of how to write the tests. I think treating it as an enhancement in Python 3.7 makes a reasonable amount of sense

[issue31072] add filter to zipapp

2017-08-26 Thread Paul Moore
Paul Moore added the comment: OK. There's been no further comments, and I think the differences with PyZipFile's filterfunc are sufficient to warrant using a different name. I'm going to go with "filter". It's

[issue31072] add filter to zipapp

2017-08-26 Thread Paul Moore
Paul Moore added the comment: New changeset 0780bf7578dc4c9c3852dc5e869aba515a2c65b1 by Paul Moore in branch 'master': bpo-31072: Rename the new filter argument for zipapp.create_archive. (#3049) https://github.com/python/cpython/commit/0780bf7578dc4c9c3852dc5e869aba

[issue31289] File paths in exception traceback resolve symlinks

2017-08-27 Thread Paul Pinterits
New submission from Paul Pinterits: The file paths displayed in exception tracebacks have their symlinks resolved. I would prefer if the "original" path could be displayed instead, because resolved symlinks result in unexpected paths in the traceback and can be quite confusing.

[issue31330] argparse.RawTextHelpFormatter does not maintain lines separated by more than one newline

2017-09-02 Thread paul j3
paul j3 added the comment: I've seen this before, either in another bug/issue or a Stackoverflow question. The basic change in RawTextHelpFormatter is to turn off the line wrapping for texts like the description. Multiple newlines are preserved at this step. But after assembling al

[issue31330] argparse.RawTextHelpFormatter does not maintain lines separated by more than one newline

2017-09-02 Thread paul j3
paul j3 added the comment: http://bugs.python.org/issue17113 argparse.RawDescriptionHelpFormatter should not delete blank lines This provides more details on why this is happening. I suggest using adding a space between newlines, thus: '\n \n'. HelpFormatter.format_help is just l

[issue30421] argparse: relative include of config files

2017-09-02 Thread paul j3
Changes by paul j3 : -- nosy: +paul.j3 ___ Python tracker <http://bugs.python.org/issue30421> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue26121] Use C99 functions in math if available

2017-09-15 Thread Paul Romano
Changes by Paul Romano : -- pull_requests: +3594 ___ Python tracker <https://bugs.python.org/issue26121> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28247] Add an option to zipapp to produce a Windows executable

2018-11-24 Thread Paul Moore
Paul Moore added the comment: While I can see your point, I'm a little skeptical that anyone who's able to write C source code and compile it can't work out how to combine two binary files... :-) -- ___ Python tracker <https

[issue35317] test_email: test_localtime_daylight_false_dst_true() fails depending on the timezone

2018-11-26 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker <https://bugs.python.org/issue35317> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35327] Using skipTest with subTest gives a misleading UI.

2018-11-27 Thread Paul Ganssle
New submission from Paul Ganssle : It seems that if you call skipTest *anywhere* in a test function, even in a subTest, the *entire* function gets marked as "skipped", even if only one sub-test is skipped. Example: import unittest class SomeTest(unittest.TestCase):

[issue35327] Using skipTest with subTest gives a misleading UI.

2018-11-27 Thread Paul Ganssle
Paul Ganssle added the comment: As "prior art" the way that pytest does this is to have parametrized tests show up as separate tests: import pytest @pytest.mark.parametrize("i", range(1, 3)) def test_something(i): if i > 1: pyt

[issue35327] Using skipTest with subTest gives a misleading UI.

2018-11-27 Thread Paul Ganssle
Paul Ganssle added the comment: @Rémi Interesting. Your suggested output does look clearer than the existing one, but it still doesn't indicate that anything *passed*. I think I like the way pytest does it the best, but if we can't expose the subtests as separate tests, I'd p

[issue30410] Documentation for sys.stdout encoding does not reflect the new Windows behavior in Python 3.6+

2018-11-30 Thread Paul Moore
Paul Moore added the comment: The proposed wording seems a bit over-complex to me. Maybe the following re-wording would be easier to understand? The character encoding is platform-dependent. Non-Windows platforms use the locale encoding (see locale.getpreferredencoding

[issue35385] time module: why not using tzname from the glibc?

2018-12-03 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker <https://bugs.python.org/issue35385> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35406] calendar.nextmonth and calendar.prevmonth functions doesn't check if the month is valid

2018-12-04 Thread Paul Ganssle
Paul Ganssle added the comment: Might it be worth moving `nextmonth` and `prevmonth` to `calendar._nextmonth` and `calendar._prevmonth` to make it more clear that these are private methods? Due to Hyrum's Law, people will be using them anyway, but it could have a short deprecation p

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2018-12-04 Thread Paul Ganssle
Paul Ganssle added the comment: This is another manifestation of issue 32417. The biggest complication, to me, is that adding a `timedelta` to a datetime always returns a `datetime.datetime` rather than the subclass that it was added to. I *think* most if not all people would consider this

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2018-12-04 Thread Paul Ganssle
Paul Ganssle added the comment: > This is not easy problem, ant it doesn't have right solution. Different > decisions were made for the result type of alternate constructors and > operators for different classes. It's certainly true that it occasionally makes sense to do

[issue20371] datetime.datetime.replace bypasses a subclass's __new__

2018-12-04 Thread Paul Ganssle
Paul Ganssle added the comment: This issue was fixed in Python 3.7, and it turns out issue 31222 was a duplicate of it. It can be closed now. -- nosy: +p-ganssle ___ Python tracker <https://bugs.python.org/issue20

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2018-12-04 Thread Paul Ganssle
Paul Ganssle added the comment: Another thing to note: I'm pretty sure this was a mistake in the first place. There are many examples of places where the datetime module was just not designed with inheritance in mind, for example: - issue 32404 / issue 32403 - fromtimestamp not ca

[issue32417] fromutc does not respect datetime subclasses

2018-12-04 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +10142 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue32417> ___ ___ Py

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2018-12-04 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +10143 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35364> ___ ___ Py

[issue22005] datetime.__setstate__ fails decoding python2 pickle

2018-12-07 Thread Paul Ganssle
Paul Ganssle added the comment: I'm not sure I agree with how this was resolved. We're adding complexity to the datetime unpickler to support unpickling pickles created in Python 2 in Python 3? I also don't really understand the encoding parts of it, but it smells very fishy

[issue22005] datetime.__setstate__ fails decoding python2 pickle

2018-12-07 Thread Paul Ganssle
Paul Ganssle added the comment: @Serhiy Any chance we can roll these back before the release so that they can have some time for discussion? I have serious concerns about having to support some Python 2/3 compatibility hack in datetime for the next 6 years. If this is worth doing at all, I

[issue22005] datetime.__setstate__ fails decoding python2 pickle

2018-12-07 Thread Paul Ganssle
Paul Ganssle added the comment: I do not care enough about this to fight about it. The issue has been open long enough that I do not think it justified the urgency of rushing through a patch just before the release and merging without review, but now that it is in the release of multiple

[issue22005] datetime.__setstate__ fails decoding python2 pickle

2018-12-07 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: -p-ganssle ___ Python tracker <https://bugs.python.org/issue22005> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32417] fromutc does not respect datetime subclasses

2018-12-07 Thread Paul Ganssle
Paul Ganssle added the comment: I am somewhat uneasy about backporting this to Python 2.7 because changing the return type of `SomeDateTime + timedelta` could be seen as a breaking change. I have sent a message to the datetime-SIG mailing list about this for more visibility. If it is

[issue32417] fromutc does not respect datetime subclasses

2018-12-07 Thread Paul Ganssle
Paul Ganssle added the comment: Ah, that's my mistake. I have always been under the impression that "Versions" meant "versions affected", not "versions that this needs to be fixed for". I usually just selected the ones where I had verified that it's a

[issue32417] fromutc does not respect datetime subclasses

2018-12-07 Thread Paul Ganssle
Paul Ganssle added the comment: > What's the use case for subclassing DateTime? These classes were not designed > with subclassing as a use case in mind. There are several reasons for doing it, of various levels of legitimacy. The overall theme is that people want different beh

[issue34977] Release Windows Store app containing Python

2018-12-07 Thread Paul Moore
Paul Moore added the comment: > > Steve, assuming that I can access the Store, should I be able to install > > both PSF 3.7.2 and Windows Store 3.7.2 simultaneously? So I could test > > both IDLEs that beginners might install? > > Yes, absolutely. (To be clear, b

[issue34977] Release Windows Store app containing Python

2018-12-07 Thread Paul Moore
Paul Moore added the comment: Thanks for the clarification. > In all the cases I've tested, regular Python install shows up first. If it's > not installed, the Store app shows up much of the time. This feels like the > right design (with the caveat about "much of the

[issue34977] Release Windows Store app containing Python

2018-12-08 Thread Paul Moore
Paul Moore added the comment: > Yeah, and these are all essentially my fault (though I documented the > embeddable package relatively well, modulo a few uses I hadn't imagined). > Maybe my holiday writing project can be some better docs for choosing how to > install Python,

[issue31727] FTP_TLS errors when use certain subcommands

2018-12-18 Thread Paul Wilkinson
Paul Wilkinson added the comment: This issue does appear to be related to the FTP server (or presumably the SSL library on the FTP server). A test against `test.rebex.net` works with OpenSSL 1.0.1t (on Debian) and LibreSSL 2.2.7 (macOS 10.14.2) while a test against my web host fails on both

[issue35535] time.strptime() unexpectedly gives the same result for %U and %W for 2018

2018-12-19 Thread Paul Keating
New submission from Paul Keating : This was originally reported on StackOverflow (53829118) and I believe the poster has found a genuine issue. He reported a problem converting from Python 2.3 to Python 2.7 in which strptime() produced a different result for %U in the two versions. For lack

[issue35535] time.strptime() unexpectedly gives the same result for %U and %W for 2018

2018-12-19 Thread Paul Ganssle
Paul Ganssle added the comment: I don't really know what Python was doing in version 2.3, and I don't have immediate access to a Python 2.3 interpreter, but at least for %U and %W, datetime is calling the platform's `strftime` under the hood, so presumably if this is a bu

[issue35442] Chain of several subcommands in argparse

2018-12-26 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue35442> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35495] argparse does not honor default argument for nargs=argparse.REMAINDER argument

2018-12-26 Thread paul j3
paul j3 added the comment: argparse.REMAINDER matches an empty list of arguments, just like '?' and '*'. So they are always 'filled', even by `parse_args([])`. '?' and '*' have some special handling of defaults in this case, see in

[issue8538] Add FlagAction to argparse

2018-12-27 Thread paul j3
paul j3 added the comment: Let me highlight something about https://stackoverflow.com/a/15008806/169947 The original question was how to implement an Action that accepts 'True' or 'False' as an argument. Users often try `type=bool`, which doesn't work because of t

[issue35066] Inconsistency between dangling '%' handling in time.strftime() and datetime.strftime()

2019-01-10 Thread Paul Ganssle
Paul Ganssle added the comment: I agree with Victor on this. In the future, I'd really like to see us do our best to add cross-platform uniformity to Python's strftime and strptime support. If there really is a platform out there that doesn't support a trailing `%`, I l

[issue35723] Add "time zone index" cache to datetime objects

2019-01-11 Thread Paul Ganssle
New submission from Paul Ganssle : When examining the performance characteristics of pytz, I realized that pytz's eager calculation of tzname, offset and DST gives it an implicit cache that makes it much faster for repeated queries to .utcoffset(), .dst() and/or .tzname() though the

[issue35723] Add "time zone index" cache to datetime objects

2019-01-11 Thread Paul Ganssle
Change by Paul Ganssle : -- keywords: +patch pull_requests: +11122 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35723> ___ ___ Py

[issue35723] Add "time zone index" cache to datetime objects

2019-01-11 Thread Paul Ganssle
Paul Ganssle added the comment: One other thing I might mention here is that I did explore the idea of storing this cache on the tzinfo implementation itself, but it is problematic for a number of reasons: 1. It would either need to use some sort of expiring cache (lru, ttl) or require a

[issue35723] Add "time zone index" cache to datetime objects

2019-01-14 Thread Paul Ganssle
Paul Ganssle added the comment: > I dislike adding a public API for an optimization. Would it be possible to > make it private? Would it make sense? tzidx => _tzidx. This also would have been my preference, but it is unfortunately not possible because of the way tzinfo works. tzi

[issue35801] venv in 3.7 references python3 executable

2019-01-21 Thread Paul Watson
New submission from Paul Watson : The documentation for venv in Python 3.7 references using `python3` to run venv. I do not find a `python3` executable in the kit. https://docs.python.org/3.7/library/venv.html#module-venv -- assignee: docs@python components: Documentation messages

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-24 Thread Paul Moore
Paul Moore added the comment: I'm not particularly happy with the statement that "However, the latter is out of scope here since the entry-point launchers are in distlib." If Python is changing the semantics of __PYVENV_LAUNCHER__ in such a way that it breaks 3rd party code,

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-24 Thread Paul Moore
Paul Moore added the comment: Steve - thanks for the clarification. If it's only affecting launching with relative paths, then agreed it's minor (although I do recall recent discussions somewhere about using launchers with relative paths - that use case may need checking, but w

[issue35811] py.exe should unset the __PYVENV_LAUNCHER__ environment variable

2019-01-24 Thread Paul Moore
Paul Moore added the comment: > The script executable redirects to run `"path\to\python.exe" > "path\to\.exe"`. But if I understood what Steve said, only if path\to\python.exe is a *relative* pathname? --

[issue35829] datetime: parse "Z" timezone suffix in fromisoformat()

2019-01-25 Thread Paul Ganssle
Paul Ganssle added the comment: You can see the discussion in bpo-15873 for the full rationale of why "Z" was omitted - to quote from https://bugs.python.org/issue15873#msg307607 : > We can have further discussion later about what exactly should be supported > in Python 3.

[issue35829] datetime: parse "Z" timezone suffix in fromisoformat()

2019-01-25 Thread Paul Ganssle
Paul Ganssle added the comment: > I can see your point in not causing confusion about what this method is > meant to be used for. In this case, making it easy to explain what it does is less important than making the scope and contract of the function clear so that we don't hav

[issue35829] datetime: parse "Z" timezone suffix in fromisoformat()

2019-01-27 Thread Paul Ganssle
Paul Ganssle added the comment: > It seems a little odd to need to pull in a third-party library for this; it > seems far more tempting for me to just do > "datetime.fromisoformat(str.replace('Z', '+00:00'))" instead since I know my > dates are pr

[issue35841] Datetime strftime() does not return correct week numbers for 2019

2019-01-28 Thread Paul Ganssle
Paul Ganssle added the comment: Possibly related to 35535. -- nosy: +p-ganssle ___ Python tracker <https://bugs.python.org/issue35841> ___ ___ Python-bugs-list m

[issue35841] Datetime strftime() does not return correct week numbers for 2019

2019-01-28 Thread Paul Ganssle
Paul Ganssle added the comment: I think this is not a bug. bpo-35535 is probably also intended behavior, but that is less certain. The misunderstanding here is that %W does not give you the ISO week number, from the documentation: %W: Week number of the year (Monday as the first day of

[issue35533] argparse standard error usage for exit / error

2019-02-03 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue35533> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35895] the test suite of pytest failed with 3.8.0a1

2019-02-04 Thread Paul Moore
Paul Moore added the comment: Is this relevant? https://bugs.python.org/issue33416 It's a backward incompatible change to the AST in 3.8 (according to the 3.8 changelog). -- nosy: +paul.moore ___ Python tracker <https://bugs.python.org/is

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker <https://bugs.python.org/issue35893> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Paul Ganssle
Paul Ganssle added the comment: @Ronald The module you've linked to seems to be using flit and doesn't have any C extensions. Did you change over the build process, or am I missing something? -- ___ Python tracker <https://bu

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Paul Ganssle
Paul Ganssle added the comment: @Ronald Ah, interesting, I missed that. In my experience, distutils is pretty static and it's not particularly common to merge changes into it. Whether or not this is in scope for distutils, it's definitely in scope for setuptools - do you mind

[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-02-04 Thread Paul Ganssle
Paul Ganssle added the comment: Well, there's some tentative plan for `setuptools` to completely adopt distutils, so in some sense all distutils bugs are setuptools bugs as well. That said, the reason to report it in setuptools as well is that setuptools still supports Python 2.7, 3.

[issue35920] Windows 10 ARM32 platform support

2019-02-06 Thread Paul Monson
Change by Paul Monson : -- nosy: +Paul Monson ___ Python tracker <https://bugs.python.org/issue35920> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35740] openssl version 1.1.1 need to be there in cpython-source-deps for windows ARM64

2019-02-06 Thread Paul Monson
Change by Paul Monson : -- nosy: +Paul Monson ___ Python tracker <https://bugs.python.org/issue35740> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35705] libffi support is not there for windows on ARM64

2019-02-06 Thread Paul Monson
Change by Paul Monson : -- nosy: +Paul Monson ___ Python tracker <https://bugs.python.org/issue35705> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35926] Need openssl 1.1.1 support on Windows for ARM and ARM64

2019-02-06 Thread Paul Monson
New submission from Paul Monson : Need code and test changes to match https://bugs.python.org/issue35740 -- assignee: christian.heimes components: SSL, Windows messages: 334998 nosy: Paul Monson, christian.heimes, paul.moore, steve.dower, tim.golden, zach.ware priority: normal

[issue35533] argparse standard error usage for exit / error

2019-02-07 Thread paul j3
paul j3 added the comment: The proposed PR does not address this issue. It just adds comments to the method code, which aren't really needed. The method is short and obvious. We don't need, at this time, to get into questions of whether comments in argparse.py conform to one o

[issue24087] Documentation doesn't explain the term "coroutine" (PEP 342)

2019-02-08 Thread Paul Moore
Paul Moore added the comment: I'm OK that the basic glossary item is now covered. I don't know about any of the other issues Martin mentioned. I've closed the issue as my original comment is addressed, but if Martin wants to reopen it to address his concerns, I'm OK

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11790 ___ Python tracker <https://bugs.python.org/issue32417> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35364] Datetime “fromtimestamp()” ignores inheritance if timezone is not None

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11794 ___ Python tracker <https://bugs.python.org/issue35364> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11790, 11791, 11792 ___ Python tracker <https://bugs.python.org/issue32417> ___ ___ Python-bugs-list mailin

[issue32417] fromutc does not respect datetime subclasses

2019-02-08 Thread Paul Ganssle
Change by Paul Ganssle : -- pull_requests: +11790, 11791 ___ Python tracker <https://bugs.python.org/issue32417> ___ ___ Python-bugs-list mailing list Unsub

<    7   8   9   10   11   12   13   14   15   16   >