[issue3027] if extended c module is calling Windows API waitForSingleObject, it will block other thread.

2008-06-02 Thread patrick
New submission from patrick <[EMAIL PROTECTED]>: The c extend module is as the attached file "WindowsFuncs.cpp", it wraps some Windows event APIs The python script is as the attached file "test.py", run that script, we could find in the new thread,

[issue3027] if extended c module is calling Windows API waitForSingleObject, it will block other thread.

2008-06-02 Thread patrick
patrick <[EMAIL PROTECTED]> added the comment: Yes, after wrapping the calling to block operation with marco Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS, that issue is gone. Thank you. ___ Python tracker <[EMAIL PROTECTED]> <http://

[issue2438] subprocess.Popen with wildcard arguments

2008-03-20 Thread Patrick
New submission from Patrick <[EMAIL PROTECTED]>: When using wildcards as arguments to the processes being spawned by Popen, it seems to interpret them as hard literals. IE, when doing something like: >>> import subprocess >>> output = subprocess.Popen(['ls&#

[issue10296] ctypes catches BreakPoint error on windows 32

2012-03-12 Thread Patrick
Patrick added the comment: This affects me too. -- nosy: +pjlbyrne ___ Python tracker <http://bugs.python.org/issue10296> ___ ___ Python-bugs-list mailin

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2013-02-03 Thread Patrick
Patrick added the comment: Forgive me if I'm not following the correct process. But I believe I have seen this issue again in 3.3. Not sure I captured exactly what is needed from the command line. The file being openeed is from the Python Hands On Class Examples http://anh.cs.luc.edu/p

[issue10365] IDLE Crashes on File Open Dialog when code window closed before other file opened

2013-02-04 Thread Patrick
Patrick added the comment: Thanks for the pointer to the other issue. It looks spot on. -- ___ Python tracker <http://bugs.python.org/issue10365> ___ ___ Pytho

[issue8900] IDLE crashes if Preference set to At Startup -> Open Edit Window

2013-02-04 Thread Patrick
Patrick added the comment: I am seeing this as well. It does not repro 100% of the time, but frequently enough that its hard to get anything done. My repro is a little simpler and might help understanding the fix. Win7 Python 3.3 I start IDLE normally from the shortcut in the install. Ctrl-N

[issue46820] SyntaxError on `1not in...`

2022-02-21 Thread Patrick Reader
New submission from Patrick Reader : The following code gives a SyntaxError in 3.10, but used to work fine before (I have tested it in 2.7, 3.8, 3.9): 1not in [2, 3] It seems to be only the `not in` syntax which is affected; all other keywords still work correctly: 1in [2, 3

[issue1366] popen spawned process may not write to stdout under windows

2007-10-31 Thread Patrick Mézard
New submission from Patrick Mézard: Let child.py be: """ import sys sys.stdout.write('1:stdout\n') sys.stdout.flush() sys.stderr.write('2:stderr\n') sys.stderr.flush() sys.stdout.write('3:stdout\n') sys.stdout.flush() """ and parent.

[issue1366] popen spawned process may not write to stdout under windows

2007-11-08 Thread Patrick Mézard
Patrick Mézard added the comment: pythonmeister: I never expected stderr to be redirected, just *all stdout* to be captured. But... gagenellina: you are completely right about the failure. Still, this issue happened with a real world application written in C, and redirecting manually stderr to

[issue13142] Add support for other HTTP methods in urllib.request

2011-10-09 Thread Patrick Westerhoff
New submission from Patrick Westerhoff : Hey, I would like to request the support of other HTTP methods (other than GET and POST) in urllib.request. While it’s actually simple enough to override the Request class to add such a possibility, I think it is far too simple to leave it out of the

[issue13142] Add support for other HTTP methods in urllib.request

2011-10-09 Thread Patrick Westerhoff
Patrick Westerhoff added the comment: Oh sorry, I didn’t see that one. :) -- ___ Python tracker <http://bugs.python.org/issue13142> ___ ___ Python-bugs-list m

[issue1673007] urllib2 requests history + HEAD support

2011-10-09 Thread Patrick Westerhoff
Changes by Patrick Westerhoff : -- nosy: +poke ___ Python tracker <http://bugs.python.org/issue1673007> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1673007] urllib2 requests history + HEAD support

2011-10-11 Thread Patrick Westerhoff
Patrick Westerhoff added the comment: Senthil, I highly disagree with what you said: > The next problem comes when a user has specified both data and method="GET". > This becomes an invalid scenario, but a decision has been to taken as what > should be given preference

[issue13280] argparse should use the new Formatter class

2011-10-27 Thread Patrick Westerhoff
New submission from Patrick Westerhoff : Hey, according to PEP 3101, the new string.Formatter class is supposed to replace the old string formatting with %. At least that is what I was always thinking. Given that argparse is a Python 3.2+ exclusive module, I think it should make use of that

[issue13674] crash in datetime.strftime

2011-12-29 Thread patrick vrijlandt
New submission from patrick vrijlandt : This causes a crash in python 3.2.2 and 3.2, but not in 2.7.2 C:\Python32>python Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license"

[issue13674] crash in datetime.strftime

2011-12-29 Thread patrick vrijlandt
patrick vrijlandt added the comment: Is it relevant that 2.7.2 _does_ throw a correct exception? -- ___ Python tracker <http://bugs.python.org/issue13

[issue13674] crash in datetime.strftime

2011-12-30 Thread patrick vrijlandt
patrick vrijlandt added the comment: Somewhere in the code is also/still a seperate check concerning strftime: PythonWin 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further

[issue6210] Exception Chaining missing method for suppressing context

2012-01-12 Thread Patrick Westerhoff
Patrick Westerhoff added the comment: Yeah, I would really like that solution, especially as it separates from the `from X` syntax that sets the exception’s cause. Also I would prefer a syntax solution over a class method simply because the exception context is something that is implicitely

[issue12321] documentation of ElementTree.find

2011-06-13 Thread patrick vrijlandt
New submission from patrick vrijlandt : >From the python docs for version 3.2: 19.12.3. ElementTree Objects find(match) [...] Same as getroot().find(match). [...] This is not true: tree.find accepts an absolute path (like "/*") , whereas element.find doesn't. Also appl

[issue12322] ElementPath 1.3 expressions documentation

2011-06-13 Thread patrick vrijlandt
New submission from patrick vrijlandt : Python 3.2 supports ElementPath version 1.3. The relevant documentation is http://effbot.org/zone/element-xpath.htm. It says: .. (New in 1.3) Selects the parent element. However, a CHANGES document says: The engine also provides limited support for

[issue12323] ElementPath 1.3 expressions

2011-06-13 Thread patrick vrijlandt
New submission from patrick vrijlandt : >From http://effbot.org/zone/element-xpath.htm: [position] (New in 1.3) Selects all elements that are located at the given position. The position can be either an integer (1 is the first position), the expression “last()” (for the last posit

[issue12321] documentation of ElementTree.find

2011-06-19 Thread patrick vrijlandt
patrick vrijlandt added the comment: [...] Same as getroot().find(match). [...] -> [...] For a relative path, this is equivalent to getroot().find(match). Additionally, this form accepts an absolute path. [...] This is easy, but might not be a very good solution. Random thoughts/Points

[issue10045] poor cStringIO.StringO seek performance

2010-10-07 Thread Patrick Strawderman
New submission from Patrick Strawderman : cStringIO.StringO's seek method has O(n) characteristics in certain, albeit pathological, cases, while the pure Python implementation and cStringIO.StringI's seek methods both execute in constant time in all cases. When the file offset is s

[issue10045] poor cStringIO.StringO seek performance

2010-10-07 Thread Patrick Strawderman
Changes by Patrick Strawderman : -- components: +None type: -> performance ___ Python tracker <http://bugs.python.org/issue10045> ___ ___ Python-bugs-list mai

[issue10045] poor cStringIO.StringO seek performance

2010-10-07 Thread Patrick Strawderman
Changes by Patrick Strawderman : -- components: -None ___ Python tracker <http://bugs.python.org/issue10045> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10045] poor cStringIO.StringO seek performance

2010-10-07 Thread Patrick Strawderman
Patrick Strawderman added the comment: The second sentence should have said "the gap is filled in with n null bytes" -- ___ Python tracker <http://bugs.python.o

[issue10045] poor cStringIO.StringO seek performance

2010-10-08 Thread Patrick Strawderman
Patrick Strawderman added the comment: Fair enough, but there is a great deal of existing code that already uses cStringIO. -- ___ Python tracker <http://bugs.python.org/issue10

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2011-04-02 Thread Patrick Gansterer
Patrick Gansterer added the comment: I can reproduce this on WinXP with 2.5, 2.7 and 3.2. On my other box (Win7 64bit) the same code works without problems. This problem happens only when I make a subprocess.call() to executables from my msysgit installation (e.g. echo, git). A call to

[issue11784] multiprocessing.Process.join: timeout argument doesn't specify time unit.

2011-04-06 Thread Patrick Sabin
New submission from Patrick Sabin : The documentation of multiprocessing.Process.join doesn't tell the user of which time unit the timeout argument is. It seems to be seconds. -- assignee: docs@python components: Documentation files: join-timeout-doc-improvement.patch keywords:

[issue11987] queue.Queue.put should acquire mutex for unfinished_tasks

2011-05-03 Thread patrick vrijlandt
New submission from patrick vrijlandt : Line 154 in standard library's queue.py, in the definition of Queue.put() is: self.unfinished_tasks += 1 This line should be protected by acquiring the all_tasks_done lock. Theoretically, the increment could occur somewhere during task

[issue11987] queue.Queue.put should acquire mutex for unfinished_tasks

2011-05-03 Thread patrick vrijlandt
patrick vrijlandt added the comment: I agree. Please close the ticket. Thanks, Patrick 2011/5/3 Raymond Hettinger > > Raymond Hettinger added the comment: > > > This line should be protected by acquiring the all_tasks_done lock. > > All of three of the condition var

[issue6210] Exception Chaining missing method for suppressing context

2010-12-30 Thread Patrick W.
Patrick W. added the comment: Nick Coghlan (ncoghlan) at 2010-12-29 08:46 (UTC): > No, the context must always be included unless explicitly suppressed. Then there should be some actually working way to suppress it, right? I think the standard behaviour that automatically sets

[issue6210] Exception Chaining missing method for suppressing context

2010-12-30 Thread Patrick W.
Patrick W. added the comment: Antoine Pitrou (pitrou) at 2010-12-30 18:32 (UTC) > We are talking about context, not cause. Yes, but - as said before - obviously the cause takes a higher precedence than context (otherwise it wouldn't show a context message when you explicitely set t

[issue8010] tkFileDialog.askopenfiles crashes on Windows 7

2010-02-24 Thread Patrick Holz
New submission from Patrick Holz : When using the function "tkFileDialog.askopenfiles()" on Windows 7 (32-bit) the following error occurs after choosing one or more arbitrary files: Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit(Intel)] on win32 Type "he

[issue8230] Lib/test/sortperf.py fails to run

2010-03-25 Thread Patrick Sabin
New submission from Patrick Sabin : There is a test file Lib/test/sortperf.py, which isn't properly updated to python3, because it considers map and range returning a list instead of an iterator and therefore throwing an exception when run. I have attached a patch to f

[issue8277] ElementTree won't parse comments

2010-03-31 Thread Patrick W.
New submission from Patrick W. : When using xml.etree.ElementTree to parse external XML files, all XML comments within that file are being stripped out. I guess that happens because there is no comment handler in the expat parser. Example: test.xml test.py --- from

[issue8277] ElementTree won't parse comments

2010-04-01 Thread Patrick W.
Patrick W. added the comment: Thanks for your reply, Amaury. That page really might mean that it was not intended for ElementTree to parse such things by default. Although it might be nice if there was some easy way to simply enable it, instead of having to hack it into there and depending

[issue8546] The parameter buffering in _pyio.open doesn't work the same as in the builtin open

2010-04-27 Thread Patrick Sabin
New submission from Patrick Sabin : As far as I understand the _pyio.open function should resemble the builtin open, but in case of the buffering parameter, it doesn't. The builtin version doesn't allow None as argument, but this is the default in the _pyio.open signature. I attach

[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Patrick Bureau
New submission from Patrick Bureau: In Python 2.4, retrieving sched's scheduler.queue class member would return a time ordered list of events as expected. Since Python 2.5, the same operation retrieves a list of unordered scheduled events. This makes it difficult to know which event

[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Patrick Bureau
Patrick Bureau added the comment: Indeed, the queue is not directly exposed by a method, but the information is nonetheless interesting for monitoring the content. If it's not a bug, then maybe this could be changed to a feature request for a new method to retrieve the queue

[issue5063] python-2.6.spec doesn't build properly

2009-01-25 Thread Patrick Toal
New submission from Patrick Toal : Attempting to build an RPM with the python-2.6.spec contained in the python-2.6.1 distribution tar fails. The following diff's enabled me to cleanly build the rpm's on a standard CentOS 5.1 installation. -- components: Build files: py

[issue5243] Missing dependency in distutils build

2009-02-13 Thread Patrick Gerken
New submission from Patrick Gerken : When running the command install_lib, the command build_clib is not run. If a package contains clibs they can be dependencies for extension libs, at least that is stated in the module docstring of build_clib. In real life you can see it when trying to run

[issue5243] Missing dependency in distutils build

2009-02-15 Thread Patrick Gerken
Patrick Gerken added the comment: The attached test works breaks without the patch and passes with the patch. I am not sure whether the test itself is written following best practice. I would be more than happy for a review, with hints what should be done better. Added file: http

[issue47147] Allow `return yield from`

2022-03-28 Thread Patrick Reader
New submission from Patrick Reader : I would like to be able to use a `yield from` expression in a `return` statement without parentheses, as a small quality of life tweak, i.e.: return yield from gen instead of return (yield from gen) I think this makes sense, since `yield from

[issue47147] Allow `return yield from`

2022-03-28 Thread Patrick Reader
Patrick Reader added the comment: Ok, will do, but what is the bar for a feature to need to go to the mailing lists first? I thought as this was a relatively minor one it wouldn't need to. Is it just because it's an actual syn

[issue47147] Allow `return yield from`

2022-04-01 Thread Patrick Reader
Patrick Reader added the comment: As the one who wrote the code, I can guarantee you that the StopIteration value is not always None. But I understand your point that for most other users it is always None, and therefore having special syntax might be misleading

[issue38171] super() is passing wrong parameters while handling diamond inheritance

2019-09-14 Thread Patrick Monnerat
New submission from Patrick Monnerat : Running the attached program outputs: top.__init__(<__main__.top object at 0x7fc1dea24048>,) called i1.__init__(<__main__.top object at 0x7fc1dea24048>, 'arg from top') called i2.__init__(<__main__.top object at 0x7f

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Patrick Schneeweiß
New submission from Patrick Schneeweiß : I switched over to Python 3.7 and still using my csv DictWriter. No I'm receiving an error when calling the writerow() method. unsupported operand type(s) for -: 'list' and 'list' Digging deeped in the problem I fou

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Patrick Schneeweiß
Patrick Schneeweiß added the comment: Hello all, This is my dict: {'rule': 'WAN-2-Web|unknown (Barracuda Networks CloudGen Firewall)', 'April (2018)': '', 'May (2018)': '', 'June (2018)': '', 'July (

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Patrick Schneeweiß
Patrick Schneeweiß added the comment: Ok in a new sample Script it is working. As I used my normal script in a software called Splunk, I saw they are using a custom class OrderedDict. I will take a look on this first. -- ___ Python tracker

[issue38717] csv DictWriter's internal _dict_to_list raise error unsupported operand

2019-11-06 Thread Patrick Schneeweiß
Patrick Schneeweiß added the comment: Sorry guys, it was an issue with the cusotm Splunk Library. They treated the keys Method a little different. Thanks all for the hints. Will close this -- resolution: -> third party stage: -> resolved status: open -&g

[issue43480] Add .path method/property to tempfile.* for a pathlib.Path

2021-03-12 Thread Patrick Reader
New submission from Patrick Reader : It would be nice to have a `.path` method or property on `tempfile.NamedTemporaryFile`, `tempfile.TemporaryDirectory` which produces a `pathlib.Path` of their `.name` attribute, so one can use the modern interface directly. I think a method would be more

[issue43649] time.strftime('%z') doesn't return UTC offset in the form ±HHMM

2021-03-28 Thread Patrick Storz
New submission from Patrick Storz : This is a follow-up to https://bugs.python.org/issue20010 I'm seeing this very issue in a recent gcc build of Python 3.8 (mingw-w64-x86_64-python 3.8.8-2 from MSYS2 project): Python 3.8.8 (default, Feb 20 2021, 07:16:03) [GCC 10.2.0 64 bit (AMD64

[issue43649] time.strftime('%z') doesn't return UTC offset in the form ±HHMM

2021-03-28 Thread Patrick Storz
Change by Patrick Storz : ___ Python tracker <https://bugs.python.org/issue43649> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/o

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-03-29 Thread Patrick Melix
New submission from Patrick Melix : While trying to fix window behaviour in a python project (ASE: https://wiki.fysik.dtu.dk/ase/), I came across this problem: Tkinter does not set the _NET_WM_WINDOW_TYPE when using the FileDialog class or it's derivatives. I could not find a reason for

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-03-29 Thread Patrick Melix
Change by Patrick Melix : -- keywords: +patch pull_requests: +23810 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25061 ___ Python tracker <https://bugs.python.org/issu

[issue43655] Tkinter: Not setting _NET_WM_WINDOW_TYPE on FileDialog

2021-03-29 Thread Patrick Melix
Patrick Melix added the comment: Thank you for your feedback Serhiy! I obviously totally forgot about compatibility issues with other OS... If you are already aware of this and working on a solution even better. Did I miss this during my search or is it not public anywhere yet? For now one

[issue43726] regex module fails with a quantified backref but succeeds with repeated backref

2021-04-04 Thread Patrick Reader
Patrick Reader added the comment: The `regex` module is a third-party package, not part of the Python standard library. Please report issues here: https://bitbucket.org/mrabarnett/mrab-regex/issues -- nosy: +pxeger ___ Python tracker <ht

[issue43833] Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators

2021-06-24 Thread Patrick Reader
Patrick Reader added the comment: I would like to note that syntax like this is in heavy use in the Code Golf community (a sport in which the aim is to write the shortest code possible to complete a particular task). It will be disappointing if it becomes an error and break many past

[issue44643] importing does not dispatch to __builtins__.__getitem__ to lookup __import__

2021-07-15 Thread Patrick Reader
New submission from Patrick Reader : When a frame's __builtins__ is a subclass of dict with an overridden __getitem__ method, this overriden method is not used by the IMPORT_NAME instruction to lookup __import__ in the dictionary; it uses the lookup function of normal dictionaries

[issue44643] importing does not dispatch to __builtins__.__getitem__ to lookup __import__

2021-07-15 Thread Patrick Reader
Patrick Reader added the comment: It may be, but in that case, why do LOAD_BUILD_CLASS and things still use it? -- ___ Python tracker <https://bugs.python.org/issue44

[issue44643] importing does not dispatch to __builtins__.__getitem__ to lookup __import__

2021-07-15 Thread Patrick Reader
Patrick Reader added the comment: Similarly, when passing a subclass of dict to exec or eval as the locals or globals, all other instructions dispatch to the correct __getitem__ method. I'm pretty sure that's not CPython-private --

[issue44643] importing does not dispatch to __builtins__.__getitem__ to lookup __import__

2021-07-15 Thread Patrick Reader
Patrick Reader added the comment: Ok what I meant was, why does constructing a class use it when it looks up __build_class__ then? -- ___ Python tracker <https://bugs.python.org/issue44

[issue42167] Documentation for SETUP_WITH opcode is wrong

2021-07-27 Thread Patrick Reader
Patrick Reader added the comment: It was, at least partially, replaced by BEGIN_WITH for bpo-40222: https://github.com/python/cpython/commit/adcd2205565f91c6719f4141ab4e1da6d7086126#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653bL741 -- versions: +Python 3.11

[issue44845] Allow keyword arguments in code.__new__

2021-08-05 Thread Patrick Reader
New submission from Patrick Reader : Per bpo-41263, code.__new__ now uses Argument Clinic. However, it still has a / marker which prevents the use of keyword arguments (https://github.com/python/cpython/pull/21426/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234dR465

[issue29921] datetime validation is stricter in 3.6.1 than previous versions

2021-09-23 Thread Patrick Decat
Patrick Decat added the comment: pywin32 project has moved from sourceforge to github. https://sourceforge.net/p/pywin32/bugs/748/ is now at https://github.com/mhammond/pywin32/issues/748 pywin32 issue is supposed to be resolved since pywin32 b222 See: https://github.com/mhammond/pywin32

[issue45352] Move documentation for typed generic forms of standard collections to collections.abc

2021-10-03 Thread Patrick Reader
New submission from Patrick Reader : Currently the documentation for the generic forms (e.g. what the parameters in square brackets mean) of standard collections (e.g. collections.abc.Generator), is still on the typing page (https://docs.python.org/3.10/library/typing.html#typing.Generator

[issue42066] CookieJar cookies should not be sorted

2021-10-07 Thread Patrick Decat
Change by Patrick Decat : -- nosy: +Patrick Decat ___ Python tracker <https://bugs.python.org/issue42066> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45836] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size (Python 3.9)

2021-11-17 Thread Patrick Bourke
New submission from Patrick Bourke : Hi all, Forgive me if this is not the correct way to report this, but we have run into the issue from #29620 ( https://bugs.python.org/issue29620 ) on Python 3.9. The fix appears to be present in the tip of 3.8: https://github.com/python/cpython/blob

[issue20092] type() constructor should bind __int__ to __index__ when __index__ is defined and __int__ is not

2021-11-19 Thread Patrick Yang
Patrick Yang added the comment: I ended up in this issue after I learnt the following from the Python Library Reference Manual. float(..). For a general Python object x, float(x) delegates to x.__float__(). If __float__() is not defined then it falls back to __index__(). The

[issue44845] Allow keyword arguments in code.__new__

2021-11-19 Thread Patrick Reader
Change by Patrick Reader : -- nosy: -terry.reedy ___ Python tracker <https://bugs.python.org/issue44845> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39098] OSError: handle is closed in ProcessPoolExecutor on shutdown(wait=False)

2019-12-19 Thread Patrick Buxton
New submission from Patrick Buxton : When shutting down a ProcessPoolExecutor with wait=False, an `OSError: handle is closed` is raised. The error can be replicated with a script as simple as: ``` from concurrent.futures import ProcessPoolExecutor e = ProcessPoolExecutor() e.submit(id

[issue39147] using zipfile with root privilege shows FileNotFoundError

2019-12-28 Thread Patrick Liu
New submission from Patrick Liu : When I run the python script with root privilege, it can clone the repo successfully but with the error message as follow. However, it runs correctly with normal user. Why it cannot find the html file? Thanks. Python 3.7.4 (default, Aug 13 2019, 20:35:49

[issue39104] ProcessPoolExecutor hangs on shutdown nowait with pickling failure

2020-01-15 Thread Patrick Buxton
Patrick Buxton added the comment: Added core developer to get some feedback -- nosy: +patbuxton, pitrou ___ Python tracker <https://bugs.python.org/issue39

[issue39104] ProcessPoolExecutor hangs on shutdown nowait with pickling failure

2020-01-27 Thread Patrick Buxton
Change by Patrick Buxton : -- nosy: +bquinlan ___ Python tracker <https://bugs.python.org/issue39104> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39098] OSError: handle closed, ProcessPoolExecutor shutdown(wait=False)

2020-02-17 Thread Patrick Buxton
Patrick Buxton added the comment: This should be fixed with https://github.com/python/cpython/pull/17670 for https://bugs.python.org/issue39104, but only for version 3.9 as no backport!! -- ___ Python tracker <https://bugs.python.org/issue39

[issue40439] Error in an external reference

2020-04-29 Thread Patrick A.
New submission from Patrick A. : This URL doesn't exist anymore. If you click on this URL you have a 404 not found. https://www.dcl.hpi.uni-potsdam.de/home/loewis/table-3131.html The website was changed and Dr. Martin v. Löwis is not hosted on the new site. Regards -- assignee:

[issue36284] importlib.import_module() not thread safe if Exception is raised (3.4, 3.5)

2020-05-05 Thread Patrick Thizy
Patrick Thizy added the comment: I use Apache + mod_wsgi on Windows When I update from Django 2.2.4 to Django 2.2.5, this fix has been apply With this fix my application is not running The navigator is lock and waiting Can you help me ? -- nosy: +Patrick Thizy

[issue41781] Typos in typing.py

2020-12-26 Thread Patrick Reader
Patrick Reader added the comment: Maybe I added myself by accident while reading the code. Anyway, thanks and you're welcome -- ___ Python tracker <https://bugs.python.org/is

[issue42754] Unpacking of literals inside other literals should be optimised away by the compiler

2020-12-26 Thread Patrick Reader
New submission from Patrick Reader : When unpacking a collection or string literal inside another literal, the compiler should optimise the unpacking away and store the resultant collection simply as another constant tuple, so that `[*'123', '4', '5']` is the

[issue42754] Unpacking of literals inside other literals should be optimised away by the compiler

2020-12-26 Thread Patrick Reader
Change by Patrick Reader : -- type: -> performance ___ Python tracker <https://bugs.python.org/issue42754> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue42948] bytearray.copy is undocumented

2021-01-17 Thread Patrick Haller
Patrick Haller added the comment: You will see this on every bytes and bytearray type as the behaviour described is the same for both. -- nosy: +HallerPatrick ___ Python tracker <https://bugs.python.org/issue42

[issue42948] bytearray.copy is undocumented

2021-01-23 Thread Patrick Haller
Patrick Haller added the comment: Terry, I am sorry. You are of course right. I was somehow looking at count not copy. -- ___ Python tracker <https://bugs.python.org/issue42

[issue41010] email.message.EmailMessage.get_body

2020-06-17 Thread patrick totzke
New submission from patrick totzke : I am trying to use EmailMessage.get_body() on the attached spam email. Although that message may be malformed, I believe that this method should fail gracefully. To reproduce ``` with open('msg', 'rb') as f: m = email.messag

[issue41203] Replace references to OS X in documentation with macOS

2020-07-03 Thread Patrick Reader
New submission from Patrick Reader : Since 10.12 (Sierra, released in 2016), macOS is no longer called OS X. References to macOS in the documentation should be updated to reflect this. This is now especially important because macOS 11 (Big Sur) is now in preview, and the X meaning 10 in

[issue41203] Replace references to OS X in documentation with macOS

2020-07-04 Thread Patrick Reader
Patrick Reader added the comment: I'm working on it -- ___ Python tracker <https://bugs.python.org/issue41203> ___ ___ Python-bugs-list mailing list

[issue41203] Replace references to OS X in documentation with macOS

2020-07-04 Thread Patrick Reader
Patrick Reader added the comment: While I'm at it, should I change "Macintosh" to "Mac"? -- ___ Python tracker <https://bugs.python.org/issue41203> ___

[issue41203] Replace references to OS X in documentation with macOS

2020-07-04 Thread Patrick Reader
Change by Patrick Reader : -- keywords: +patch pull_requests: +20468 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21316 ___ Python tracker <https://bugs.python.org/issu

[issue41781] Typos in typing.py

2020-09-14 Thread Patrick Reader
New submission from Patrick Reader : In typing.py, the `_allow_reckless_class_cheks` function is spelt wrong, and there is also a typo `instnance` in its docstring. I can do a PR but I thought I'd open an issue since it might be considered a breaking change (although it is `_privat

[issue41792] No (public) way to dynamically introspect if an annotation is a TypedDict

2020-09-15 Thread Patrick Reader
New submission from Patrick Reader : See https://github.com/python/typing/issues/751 -- components: Library (Lib) messages: 376931 nosy: pxeger priority: normal severity: normal status: open title: No (public) way to dynamically introspect if an annotation is a TypedDict

[issue41792] No (public) way to dynamically introspect if an annotation is a TypedDict

2020-09-15 Thread Patrick Reader
Change by Patrick Reader : -- keywords: +patch pull_requests: +21309 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22254 ___ Python tracker <https://bugs.python.org/issu

[issue41805] types.GenericAlias and types.Union have no documentation

2020-09-17 Thread Patrick Reader
New submission from Patrick Reader : See title. For reference: `GenericAlias` was added by Guido van Rossum in commit 48b069a003ba6c684a9ba78493fbbec5e89f10b8 "bpo-39481: Implementation for [PEP 585](https://www.python.org/dev/peps/pep-0585/) (#18239)" `Union` was added by Magg

[issue41805] types.GenericAlias and types.Union have no documentation

2020-10-08 Thread Patrick Reader
Patrick Reader added the comment: Sorry, I'd completely forgotten about doing a PR for this. Go ahead! -- ___ Python tracker <https://bugs.python.org/is

[issue41996] Should `make install` still install to /usr/bin/python3?

2020-10-10 Thread Patrick Reader
New submission from Patrick Reader : Since Python 2 is now finally gone, should the Python executable not be installed to simply `/usr/bin/python` rather than `/usr/bin/python3` when running `make install`? -- components: Installation messages: 378387 nosy: pxeger priority: normal

[issue41997] Docs Standard Library index page has incorrect version in title

2020-10-10 Thread Patrick Reader
New submission from Patrick Reader : The documentation page for the Standard Library, https://docs.python.org/3/library/, still says "Python 3.8.6 documentation" in the title. When visiting https://docs.python.org/3.9/library/ (emphasis on the 3.9) explicitly, the correct title i

[issue41997] Docs Standard Library index page has incorrect version in title

2020-10-10 Thread Patrick Reader

[issue42167] Documentation for SETUP_WITH opcode is wrong

2020-10-27 Thread Patrick Reader
New submission from Patrick Reader : bpo-33387 introduced two new opcodes, `RERAISE` and `WITH_EXCEPT_START` (previously called `WITH_EXCEPT_FINISH`), replacing the previous `WITH_CLEANUP_START`, `WITH_CLEANUP_FINISH`, `BEGIN_FINALLY`, `END_FINALLY`, `CALL_FINALLY` and `POP_FINALLY`. The

[issue13779] os.walk: bottom-up

2012-01-13 Thread patrick vrijlandt
New submission from patrick vrijlandt : PythonWin 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information. >>> import os >>> os.makedirs(&

[issue13784] Documentation of xml.sax.xmlreader: Locator.getLineNumber() and Locator.getColumnNumber()

2012-01-14 Thread patrick vrijlandt
New submission from patrick vrijlandt : Problem: Locator methods return the location where the event starts, not where it ends. Locator line numbers start at 1, Locator column numbers can be 0. Proposal: Adapt documentation. >From the docs: Instances of Locator provide these meth

  1   2   3   >