[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: cpython-source-deps was updated middle of last year, but apparently we never merged the main repo change to use it. I'll do it now. -- ___ Python tracker <https://bugs.python.org/is

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29848 pull_request: https://github.com/python/cpython/pull/31731 ___ Python tracker <https://bugs.python.org/issue44

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: Adding RMs - this should get merged before we do any security releases for issue46948 -- nosy: +lukasz.langa, pablogsal versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue44

[issue46744] installers on ARM64 suggest wrong folders

2022-03-07 Thread Steve Dower
Steve Dower added the comment: Good call on the batch file. It should be easy enough to make those options case-insensitive, and to support both forms of x86 flag. I'll leave this issue open for that if someone wants to have a go, otherwise I'll get to them at s

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 105b9ac00174d7bcc653f9e9dc5052215e197c77 by Steve Dower in branch 'main': bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31731) https://github.com/python/cpyt

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29849 pull_request: https://github.com/python/cpython/pull/31732 ___ Python tracker <https://bugs.python.org/issue44

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 58d576a43cb1800dd68f06a429d7d41f746a8c01 by Steve Dower in branch '3.10': bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732) https://github.com/python/cpyt

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29850 pull_request: https://github.com/python/cpython/pull/31733 ___ Python tracker <https://bugs.python.org/issue44

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29852 pull_request: https://github.com/python/cpython/pull/31735 ___ Python tracker <https://bugs.python.org/issue44

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +29851 pull_request: https://github.com/python/cpython/pull/31734 ___ Python tracker <https://bugs.python.org/issue44

[issue1500] Example using range doesn't give claimed results

2007-11-26 Thread Steve Jones
New submission from Steve Jones: See for yourself, on http://docs.python.org/tut/node6.html * >>> for n in range(2, 10): ... for x in range(2, n): ... if n % x == 0: ... print n, 'equals', x, '*', n/x ...

[issue2801] Py30a5 float.is_integer() raises ValueError

2011-11-04 Thread Steve Holden
Steve Holden added the comment: ValueError: (11, 'Resource temporarily unavailable') looks to me like a Cygwin error relating to Windows' DLLs and the difficulty of mapping them to unique memory locations. I very much doubt it's a real issue with Python, so closing the

[issue12418] python should inherit the library search path from the compiler for stdlib extensions

2011-06-27 Thread Steve Langasek
New submission from Steve Langasek : related to http://bugs.python.org/issue11715 python 2.7 and 3.1 now include a patch for behavior specific to Ubuntu and Debian to search in multiarch directories for libraries needed for building stdlib extensions. This distro-specific patch is

[issue12580] Documentation error in Decimal module

2011-07-17 Thread Steve Holden
New submission from Steve Holden : We see in the "Quick-Start Tutorial" (py3k section 8.4.1) the following example: >>> Decimal(3.14) Decimal('3.140124344978758017532527446746826171875') In actua; fact one would expect an exception from that code, which

[issue12580] Documentation error in Decimal module

2011-07-17 Thread Steve Holden
Changes by Steve Holden : -- components: +Documentation ___ Python tracker <http://bugs.python.org/issue12580> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12580] Documentation error in Decimal module

2011-07-17 Thread Steve Holden
Steve Holden added the comment: Sorry about that. I was using 3.1, as you will have gathered. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue6476] MSVCRT's spawnve/spawnvpe are not thread safe

2011-07-18 Thread Steve Hill
Steve Hill added the comment: Why has this bug been resolved as "won't fix"? It seems to me that this is a valid issue with something that has not been deprecated, yet it has been decided neither to fix it (despite there being an offer by the originator to submit a pat

[issue9761] stale .pyc files aren't cleaned out

2010-09-03 Thread Steve Thompson
New submission from Steve Thompson : I'm running pythong 2.6.1 on Windows XP SP3. On many occasions I have ran into cases where I've installed a new package via the package's setup.py (pylint, logilab-common, etc) and new .pyc files don't get generated when I attempt to ru

[issue9761] stale .pyc files aren't cleaned out

2010-09-03 Thread Steve Thompson
Steve Thompson added the comment: "Setup.py install". We've also seen this happen when checking our python files out of our version control system. Also seen a .pyc get used when the .py no longer exists, but I could see that being intentional behavior. On Sep 3, 2010 2:57 PM

[issue9761] stale .pyc files aren't cleaned out

2010-09-03 Thread Steve Thompson
Steve Thompson added the comment: Hmmm... this definitely sounds like the issue for version controlled files, but does not explain the issue when installing packages from source. On Sep 3, 2010 3:16 PM, "Amaury Forgeot d'Arc" wrote: Amaury Forgeot d'Arc added the comment

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2010-09-03 Thread Steve Thompson
Steve Thompson added the comment: So what's the current status of this on Windows Platforms? -- nosy: +Steve.Thompson ___ Python tracker <http://bugs.python.org/i

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2010-09-03 Thread Steve Thompson
Steve Thompson added the comment: Any idea if this will be fixed (at all) and/or back ported to 2.6.x or 2.7.x? On Fri, Sep 3, 2010 at 3:36 PM, Amaury Forgeot d'Arc wrote: > > Amaury Forgeot d'Arc added the comment: > > This is still the case: on Windows, if foo.py is

[issue10000] mark more tests as CPython specific

2010-09-30 Thread Steve Holden
Steve Holden added the comment: Of course, but better some record than none due to the overwhelming nature of the task. At least someone else can carry the torch from here. -- nosy: +holdenweb ___ Python tracker <http://bugs.python.org/issue10

[issue11438] 2to3 does not fix izip_longest

2011-03-07 Thread Steve Dower
New submission from Steve Dower : Running 2to3 on the attached file makes no modifications, which then causes an error (since itertools.izip_longest is now itertools.zip_longest) -- components: 2to3 (2.x to 3.0 conversion tool) files: test.py messages: 130304 nosy: Steve.Dower priority

[issue11920] ctypes: Strange bitfield structure sizing issue

2011-04-25 Thread Steve Thompson
New submission from Steve Thompson : Consider the following: import ctypes class struct1( ctypes.Structure ): _pack_ = 1 _fields_ = [ ( "first", ctypes.c_uint8, 1 ), ( "second", ctypes.c_uint8, 1 ),

[issue11920] ctypes: Strange bitfield structure sizing issue

2011-04-25 Thread Steve Thompson
Steve Thompson added the comment: So, knowing there's a potential cross platform inconsistency here, is there a proposed way to deal with this that doesn't involve modifying the real c code I'm interfacing with? That's not always an option. On Mon, Apr 25, 2011 at 2:4

[issue12015] possible characters in temporary file name is too few

2011-05-05 Thread Steve Ward
New submission from Steve Ward : In this revision <http://hg.python.org/cpython/rev/b6da97930f63>, the possible characters that comprise a temporary file decreased. It was noted in this thread <http://mail.python.org/pipermail/python-dev/2010-November/105452.html>. The old chara

[issue12015] possible characters in temporary file name is too few

2011-05-06 Thread Steve Ward
Steve Ward added the comment: It is an issue because... 1) Python falls out of line with most other popular systems and languages. 2) There was never a good reason to decrease the entropy in the first place. If there was, the reason of case-sensitive files systems was not given. 3) If case

[issue12015] possible characters in temporary file name is too few

2011-05-09 Thread Steve Ward
Changes by Steve Ward : Added file: http://bugs.python.org/file21950/tempfile.py.diff ___ Python tracker <http://bugs.python.org/issue12015> ___ ___ Python-bugs-list m

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-11-23 Thread Steve Moran
Steve Moran added the comment: Forgive me if this is just a stupid oversight. I'm a linguist and use UTF-8 for "special" characters for linguistics data. This often includes multi-byte Unicode character sequences that are composed as one grapheme. For example the í̵ (if

[issue10533] defaultdict constructor with a concrete value

2010-11-25 Thread Steve Holden
Steve Holden added the comment: On 11/25/2010 11:48 AM, Eric Smith wrote: > > Eric Smith added the comment: > > How about: > > from collections import defaultdict > > class defaultdict_value(defaultdict): > def __init__(self, value): > defaultdict

[issue10533] defaultdict constructor with a concrete value

2010-11-25 Thread Steve Holden
Steve Holden added the comment: On 11/25/2010 1:44 PM, Łukasz Langa wrote: > To sum up: if you don't find the idea of adding `fallbackdict' > (possibly with an different *short* name) worth it, then I'm +1 on > correcting the docs in terms of __missing__ and leaving th

[issue10703] Regex 0.1.20101210

2010-12-14 Thread Steve Moran
New submission from Steve Moran : The regex package doesn't seem to correctly implement the single grapheme match "\X" (\P{M}\p{M}*) for pre-Python 3. I'm using the string "íi-te" (i, U+0301, i, -, t, e -- where U+0301 is Unicode COMBINING ACUTE ACCENT), readin

[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Steve Moran
New submission from Steve Moran : Package doesn't want to install on Mac OS X 10.6.5 with Python 3.1 using instructions "python3.1 setup.py install" (or "sudo python3.1 setup.py install"). Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOS

[issue10704] Regex 0.1.20101210 Python 3.1 install problem Mac OS X 10.6.5

2010-12-14 Thread Steve Moran
Steve Moran added the comment: Yeah, it's not immediately clear how to bring this up at http://bugs.python.org/issue2636 On Tue, 14 Dec 2010, Alexander Belopolsky wrote: > > Alexander Belopolsky added the comment: > > Regex 0.1.20101210 is not part of the standard Python

[issue10703] Regex 0.1.20101210

2010-12-15 Thread Steve Moran
Steve Moran added the comment: (Forehead slap.) On Tue, 14 Dec 2010, Matthew Barnett wrote: > > Matthew Barnett added the comment: > > The regex module is intended to replace the re module, so its default > behaviour is the same: in Python 2, regexes default to matchin

[issue11241] ctypes: subclassing an already subclassed ArrayType generates AttributeError

2011-02-17 Thread Steve Thompson
New submission from Steve Thompson : Consider the following: python code: class my_array( ctypes.Array ): _type_= ctypes.c_uint8 _length_ = 256 class my_array2( my_array ): pass Output: class my_array2( my_array ): AttributeError: class must define a '_length_'

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2008-05-23 Thread Steve Baker
Steve Baker <[EMAIL PROTECTED]> added the comment: I'm also hitting this problem. I'm including a demo script. The minimal condition for me to reproduce this bug is that the subject contain at least 76 characters of any kind, followed by a space, followed by at least 3 charac

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2008-05-23 Thread Steve Baker
Changes by Steve Baker <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10419/test.py __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1974> __ __

[issue1974] email.MIMEText.MIMEText.as_string incorrectly folding long subject header

2008-05-23 Thread Steve Baker
Changes by Steve Baker <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10418/test __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1974> __ __

[issue3072] Assignment to list of lists gives incorrect result

2008-06-09 Thread Steve Emmert
New submission from Steve Emmert <[EMAIL PROTECTED]>: This bug is explained in the attached file. The list of lists does not behave correctly when it is defined by the makeGrid function in the attached file. When attempting to set the value of one element, it actually sets multiple el

[issue3792] Module variable overridden in child processes with multiprocessing

2008-09-05 Thread Steve Smith
New submission from Steve Smith <[EMAIL PROTECTED]>: The process variable 'p' is leaking into sub-processes when using the multiprocessing modules. The following code demonstrates the problem: import sys from multiprocessing import Process p = 'C

[issue3792] Module variable overridden in child processes with multiprocessing

2008-09-06 Thread Steve Smith
Steve Smith <[EMAIL PROTECTED]> added the comment: Ugh, sorry. Stupidity on the reporter's part. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue3831] Multiprocessing: Expose underlying pipe in queues

2008-09-10 Thread Steve Smith
New submission from Steve Smith <[EMAIL PROTECTED]>: Both Connection and Pipe objects expose their underlying file descriptors, which is useful for accessing them in an event-driven manner. However the higher-level Queue does not make the underlying pipe available; to get at them yo

[issue3831] Multiprocessing: Expose underlying pipe in queues

2008-09-11 Thread Steve Smith
Steve Smith <[EMAIL PROTECTED]> added the comment: Hi Jesse, The use-case I had is mind is enabling asyncronous (i.e. select() style) notification of data being available on the queue, which is more elegant (and efficient) than polling with get(). Example code showing how this works wi

[issue1168055] Add current dir when running try_run test program

2008-09-23 Thread Steve Lianoglou
Steve Lianoglou <[EMAIL PROTECTED]> added the comment: Sorry to bring up an old issue, but I just got bit by this when trying to install a python package. The `config` command was used to ensure that a certain function was included in the math.h on my cpu before compiling the resulting c

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Steve Lee
Changes by Steve Lee <[EMAIL PROTECTED]>: -- nosy: +slee ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4018> ___ ___ Python-bugs

[issue4018] "for me" installer problem on x64 Vista

2008-10-03 Thread Steve Lee
Steve Lee <[EMAIL PROTECTED]> added the comment: I spotted the problem on Vista Home Premium SP1 32bit As John indicates the problem with the 'all users' install is that it requires elevation to run as admin even if logged in as an administrator. That is rather non obviou

[issue4018] "for me" installer problem on x64 Vista

2008-10-03 Thread Steve Lee
Steve Lee <[EMAIL PROTECTED]> added the comment: The mozilla bug is https://bugzilla.mozilla.org/show_bug.cgi?id=371359 but looking at it now, especially comment 4, it's not much help. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue4018] "for me" installer problem on x64 Vista

2008-10-06 Thread Steve Lee
Steve Lee <[EMAIL PROTECTED]> added the comment: Works for me on Vista, Not tried on XP. Seems a reasonable temporary compromise though we are now stopping all possibility of an 'all' install but as noted there is probably little need for it when application instal

[issue1705520] pyunit should allow __unittest in locals to trim stackframes

2008-01-22 Thread Steve Purcell
Steve Purcell added the comment: This is a good idea, but slightly messy. A better solution would be for unittest to provide a decorator that could be used to mark assertion functions. Internally, that decorator may well work the way you describe. Given a corresponding patch, someone with

[issue1034053] unittest.py patch: add skipped test functionality

2008-01-22 Thread Steve Purcell
Steve Purcell added the comment: The status of this ticket is unchanged. I'm somewhat removed from the Python scene in recent times, and I'm not in a position to apply this patch or a variation of it. I still believe this would be a beneficial change to the unittest module, t

[issue2153] unittest.py modernization

2008-02-21 Thread Steve Purcell
Steve Purcell added the comment: Hi Virgil; thanks for stepping up to this. Backward compatibility was largely for the sake of compatibility with Jython, which was always lagging far behind CPython. I doubt it's a concern these days, and the unittest.py in the Python source repos

[issue2153] unittest.py modernization

2008-02-21 Thread Steve Purcell
Steve Purcell added the comment: Yes indeed - you're exactly right; just checked now. Then disregard my previous comment! __ Tracker <[EMAIL PROTECTED]> <http://bugs.python

[issue2156] TestCase.tmpdir(), TestCase.mock()

2008-02-21 Thread Steve Purcell
Steve Purcell added the comment: I agree with Raymond: -1 from me. There isn't a consensus on what "mock object" means*, and trying to provide a standardised mock object facility is a quagmire*, hence the prior rejections to which Raymond refers. It's easy to roll

[issue2156] TestCase.tmpdir(), TestCase.mock()

2008-02-21 Thread Steve Purcell
Changes by Steve Purcell: -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2156> __ ___ Python-bugs-list mailing list Uns

[issue2241] Additional Flag For Unit-Test Module: There Can Be Only One (Error)

2008-03-06 Thread Steve Purcell
Steve Purcell added the comment: Hi Brian; The module is intended for test suites where the unit tests are written to be independent of each other, which is the "standard" way to do things. Note, for instance, that there is no convenient support for changing the order in which

[issue2241] Additional Flag For Unit-Test Module: There Can Be Only One (Error)

2008-03-06 Thread Steve Purcell
Steve Purcell added the comment: I guess I don't completely agree with the rationale, because I've never wanted this feature; when running tests en-masse after refactoring, I want an overview of what was broken. If the codebase is in good shape, the test failures will be few

[issue2241] Additional Flag For Unit-Test Module: There Can Be Only One (Error)

2008-03-06 Thread Steve Purcell
Steve Purcell added the comment: Hi Brian - thanks for going into some details of your rationale! You might be surprised to hear that it's indeed possible to make all of your unit tests mutually independent; check out the area of 'mock objects'. It turns out to be possi

[issue2249] To document "assertTrue" in unittest

2008-03-08 Thread Steve Purcell
Steve Purcell added the comment: I could be convinced either way here, and Georg & Raymond always have excellent judgement. My personal inclination would probably be to add the documentation for assertTrue() and also assertFalse(), since their naming is symmetrical with that of assertE

[issue2249] To document "assertTrue" in unittest

2008-03-09 Thread Steve Purcell
Steve Purcell <[EMAIL PROTECTED]> added the comment: +1 for applying Alexander's patch, then; I'll leave the decision to a current committer. __ Tracker <[EMAIL PROTECTED]> <http://

[issue2578] Figure out what to do with unittest's redundant APIs

2008-04-08 Thread Steve Purcell
Steve Purcell <[EMAIL PROTECTED]> added the comment: Hey, I'm open to anything. If I started writing unittest from scratch knowing what I know now, I'd probably have kept the API a little slimmer. Oh, and I'd have named everthing according to Python conventions; m

[issue2578] Figure out what to do with unittest's redundant APIs

2008-04-09 Thread Steve Purcell
Steve Purcell <[EMAIL PROTECTED]> added the comment: Hey, I came to Python from Perl, Java *and* C++! I'm pretty sure the xUnits in all those other languages hold to the same basic API. Adding more TestLoaders/TestRunners sounds like an excellent move. I'd expect that o

[issue1673409] datetime module missing some important methods

2008-10-31 Thread Steve Roberts
Steve Roberts <[EMAIL PROTECTED]> added the comment: I would like to add a use case, generating random dates. Especially generating random dates/times according to different probability distributions and within ranges. It would be nicest if operations could be done directly with datetime

[issue4444] unittest - use contexts to assert exceptions

2008-11-27 Thread Steve Purcell
Steve Purcell <[EMAIL PROTECTED]> added the comment: I like this change, since assertRaises can be a bit messy when passing it a local function. I'd suggest modifying the patch such that the AssertRaisesContext class is also used when callableObj is provided, which would el

[issue4877] xml.parsers.expat ParseFile() causes segmentation fault when passed a closed file object

2009-01-07 Thread Steve Howard
New submission from Steve Howard : In Python 2.5.4 built from unmodified source: show...@showardlt:~/src/Python-2.5.4$ ./python Python 2.5.4 (r254:67916, Jan 7 2009, 20:28:41) [GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2 Type "help", "copyright", "credits" or

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue46932> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset e1639f361ee0dfbf08bb8538839d3d557c1a995c by Steve Dower in branch '3.9': bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732) https://github.com/python/cpyt

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +29853 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31736 ___ Python tracker <https://bugs.python.org/issu

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-07 Thread Steve Dower
Steve Dower added the comment: New changeset 176835c3d5c70f4c1b152cc2062b549144e37094 by Steve Dower in branch 'main': bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) https://github.com/python/cpython/commit/176835c3d5c70f4c1b152cc2062b54

[issue46890] venv does not create "python" link in python 3.11

2022-03-07 Thread Steve Dower
Steve Dower added the comment: > This could be problematic, adding a suitably named file outside of $PREFIX > breaks the python installation. Might be worth changing it then. I double/triple checked whether searching up for the zip file was the old behaviour, and it sure seemed to

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-08 Thread Steve Dower
Steve Dower added the comment: > Is there anything on our end we can do to prevent this kind of issue in the > future? Probably not, I think it's just a lesson learned about the capabilities of the MSI format and its integration with Windows (well, we could hurry up moving ever

[issue44549] Update Windows installer to use bzip2 1.0.8

2022-03-08 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46932] Please update bundled libexpat to 2.4.7 with an important fix

2022-03-08 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-11 Thread Steve Dower
Steve Dower added the comment: I'm working on what's become a rewrite of the launcher. If anyone would like to follow along, you can see my changes at https://github.com/python/cpython/compare/main...zooba:bpo-46566 It's still missing some functionality, and I'm not sur

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-11 Thread Steve Dower
Steve Dower added the comment: Hah, that's funny URL formatting. Let's see if this is any better: <https://github.com/python/cpython/compare/main...zooba:bpo-46566> -- ___ Python tracker <https://bugs.py

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: > If it's already turning into a rewrite, how feasible would it be to adopt > Brett's `py` launcher? I looked at it already, and I'd have to write literally the same code to implement what's needed :) (as well as learning Rust and c

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-14 Thread Steve Dower
Steve Dower added the comment: >> Why can't the filename of the "foo"-like file in the test be >> simply os_helper.TESTFN, as done in some other tests? > > I suppose the current working directory will be fine. I was looking to keep > the test on a NTFS

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: I'd like to, the main challenge with that is it'd invalidate the code signature on the file, which will make it basically unusable (at the very least, you'll get warnings). A simple rename does not. But yeah, it can probably go in. Hopefully

[issue46890] getpath problems with framework build

2022-03-14 Thread Steve Dower
Steve Dower added the comment: The sys module gets initialised in _PySys_UpdateConfig() in Python/sysmodule.c. It gets called later in pylifecycle.c. But it ought to just copy directly from the config. However, it's the site.py module that actually updates sys.prefix for the venv. S

[issue46785] On Windows, os.stat() can fail if called while another process is creating or deleting the file

2022-03-14 Thread Steve Dower
Steve Dower added the comment: > It would probably be better to skip tests if the filesystem of the current > working directory doesn't support the test, Yes, this would be good. Then whoever is configuring the test runner can move where tests are run to make sure it is suppo

[issue46566] Support -3.11-arm64 in py.exe launcher

2022-03-14 Thread Steve Dower
Steve Dower added the comment: > I do process the shebang to restrict searching, or did you mean something > else? That's what I meant. Guess I missed seeing it when scanning the code (probably I should've read the docs :D ) > And registry support [is > plann

[issue46950] Windows 11, VENV not working with case sensitive windows paths

2022-03-14 Thread Steve Dower
Steve Dower added the comment: As a quick (wild) guess, is it expecting the "Lib" directory to be lowercase "lib"? Could you try renaming that directory in your venv and see if it changes anything? -- ___ Python tracker <

[issue46950] Windows 11, VENV not working with case sensitive windows paths

2022-03-14 Thread Steve Dower
Steve Dower added the comment: Okay, so that means there's some code somewhere that has a lowercase "lib". If you change it back to "Lib", can you do "python -m pip"? If that works, but a direct "pip" does not, it'll be an issue in pip (or

[issue42863] Python venv inconsistent folder structure on windows

2022-03-14 Thread Steve Dower
Steve Dower added the comment: Considering you've just been encountering issues with mismatched case, you're likely aware of how much harder that will make it to fix. First you'll need a proposal on how to ensure deprecation warnings reach those who need them. I'd

[issue46907] Update Windows and MacOS installer to SQLite 3.38.1

2022-03-15 Thread Steve Dower
Steve Dower added the comment: New changeset a8c728b8b742fd8ca5a225f79d99014794b8fdf3 by Mariusz Felisiak in branch 'main': bpo-46907: Update Windows installer to SQLite 3.38.1. (GH-31655) https://github.com/python/cpython/commit/a8c728b8b742fd8ca5a225f79d9901

[issue46907] Update Windows and MacOS installer to SQLite 3.38.1

2022-03-15 Thread Steve Dower
Steve Dower added the comment: Was there any reason/need to backport this? -- ___ Python tracker <https://bugs.python.org/issue46907> ___ ___ Python-bugs-list m

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread Steve Dower
Steve Dower added the comment: The fix for this regressed the installer for the py.exe launcher, which breaks our release builds. I'm patching it now. It's going under the same issue number because it will be needed for anyone applying this patch directly and then building the

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +30011 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31920 ___ Python tracker <https://bugs.python.org/issu

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower
New submission from Steve Dower : When changes are made under the Tools/msi directory, extra tests are run in GitHub Actions to build the installer. Apparently, these tests do not fail when the launcher installer fails to build. They need to. -- assignee: steve.dower messages

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +30012 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/31921 ___ Python tracker <https://bugs.python.org/issu

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-15 Thread Steve Dower
Steve Dower added the comment: New changeset 708812085355c92f32e547d1f1d1f29aefbbc27e by Steve Dower in branch 'main': bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920) https://github.com/python/cpython/commit/708812085355c92f32e547d1f1d1f2

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower
Steve Dower added the comment: New changeset 7c776521418676c074a483266339d31c950f516e by Steve Dower in branch 'main': bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit code when part of the build fails (GH-31921) https://github.com/python/cpyt

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +30017 pull_request: https://github.com/python/cpython/pull/31926 ___ Python tracker <https://bugs.python.org/issue47

[issue47032] CI does not detect launcher installer build failure

2022-03-15 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +30018 pull_request: https://github.com/python/cpython/pull/31927 ___ Python tracker <https://bugs.python.org/issue47

[issue46890] getpath problems with framework build

2022-03-16 Thread Steve Dower
Steve Dower added the comment: > I just noticed the same. Is this intentional? Honestly, no idea. I just copied how it was designed before, and had nothing to do with the original venv implementation. At a guess, I think virtualenv did everything with a patched site.py, so when it

[issue47032] CI does not detect launcher installer build failure

2022-03-16 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46948] [CVE-2022-26488] Escalation of privilege via Windows Installer

2022-03-16 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue47037] Build problems on Windows

2022-03-16 Thread Steve Dower
Steve Dower added the comment: This sounds more like recent installation changes on your machine. Have you updated Visual Studio or something like that? Perhaps the debug UCRT has gone missing. I'm not aware of any recent compilation changes that would cause

[issue47037] Build problems on Windows

2022-03-17 Thread Steve Dower
Steve Dower added the comment: I think this is also a good enough reason to switch the GitHub CI back to a debug build, rather than release, so that assert failures are caught before they get merged. This is not the first time it's hap

<    1   2   3   4   5   6   7   8   9   10   >