[issue4721] pythonw.exe crash in GU application(PythonWX)

2008-12-22 Thread George
New submission from George : I have Python 2.6.1 in Windows Vista. It happened in Python 2.6 and I hoped it would be fixed. I don't know what happenes in other versions. When I open a file containing a python program(".py"/".pyw" and even one compiled with py2exe) m

[issue4721] pythonw.exe crash in GUI application(PythonWX)

2008-12-22 Thread George
Changes by George : -- title: pythonw.exe crash in GU application(PythonWX) -> pythonw.exe crash in GUI application(PythonWX) ___ Python tracker <http://bugs.python.org/iss

[issue44916] Undefined/random behaviour when importing two modules with the same name but different source files

2021-08-14 Thread George
New submission from George : Warning: There's a higher probability this is "expected" undefined behaviour or not even undefined and I'm just a moron. In addtion, I couldn't actually replicate it outside of the specific context it happened. But if it sounds plausibl

[issue43161] Taking sum of massive list comprehension results in total system crash.

2021-02-07 Thread George
New submission from George : I tried running the following command in the interpreter, and without fail it will completely crash my entire computer. Python 3.8.7 (default, Jan 20 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux Type "help", "copyright", &

[issue43161] Taking sum of massive list comprehension results in total system crash.

2021-02-07 Thread George
George added the comment: Thanks Christian for the solutions. I am guessing that since it is my entire machine that crashes, and python is not simply killed for requesting so much memory, that this is an operating system problem. Should I submit this as a bug to the kernel project then

[issue26386] tkinter - Treeview - .selection_add and selection_toggle

2016-02-18 Thread George
New submission from George: Id's with spaces in them causes a crash when using the .selection* methods Treeview. Version of ttk.py "0.3.1" dated 12/6/2015. Traceback line numbers are 1415 then 1395 Either of these lines of code, where the item id is "2009 Report.pdf&

[issue46717] Raising exception multiple times leaks memory

2022-02-10 Thread George Gensure
New submission from George Gensure : Instantiating an exception and raising it multiple times causes 1 frame and 2 traceback objects to remain allocated for each raise. The attached example causes python to consume 8GB of ram after a few seconds of execution on Windows/Linux

[issue12247] Finding subprocess.py depends on how IDLE is opened

2011-06-02 Thread George Patterson
New submission from George Patterson : I'm uncertain this is a bug, but it seems persistent over several machines and I can't figure out where the issue lies. Most of my troubleshooting has been on a MacBook Pro with Mac OS X version 10.6.7. I have a simple python script 'test

[issue12372] semaphore errors on AIX 7.1

2011-06-20 Thread reshmi george
New submission from reshmi george : The same problem that was reported in issue 9700 is appearing on AIX 7.1. The following message has been seen when running multi-process python program: sem_trywait: Permission denied sem_post: Permission denied sem_wait: Permission denied sem_post

[issue9581] PosixGroupsTester fails as root

2010-08-12 Thread George Yoshida
George Yoshida added the comment: > Under 2.6, there's another failure: As for 2.6/2.7 issues, changing 'assertListEqual' to 'assertEqual' should suffice. -- keywords: +patch nosy: +quiver Added file: http://bugs.p

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
George Yoshida added the comment: test_initgroups fails only if the test is invoked by a root and the user is assigned to only one group. If I understand test_initgroups correctly, it (1)looks for an unused gid, (2)inits process user's group with that gid, (3)checks if initgroups w

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
Changes by George Yoshida : Removed file: http://bugs.python.org/file18498/test_setgroups.diff ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bug

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
Changes by George Yoshida : Added file: http://bugs.python.org/file18499/test_setgroups.diff ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bug

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
George Yoshida added the comment: > FAIL: test_setgroups (test.test_posix.PosixGroupsTester) > -- > Traceback (most recent call last): > File "/home/antoine/py3k/__svn__/Lib/test/test_posix.py", line 428

[issue9581] PosixGroupsTester fails as root

2010-08-13 Thread George Yoshida
Changes by George Yoshida : Added file: http://bugs.python.org/file18500/py3k.diff ___ Python tracker <http://bugs.python.org/issue9581> ___ ___ Python-bugs-list mailin

[issue11437] IDLE crash on startup with typo in config-keys.cfg

2011-03-07 Thread George Dhoore
New submission from George Dhoore : If the user makes a typo when setting a custom keybind (in this case "" instead of "") IDLE will silently crash. From the command-line the error shows as: Traceback (most recent call last): File "C:\Python32\Lib\idle

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread George Dhoore
Changes by George Dhoore : -- nosy: +George.Dhoore ___ Python tracker <http://bugs.python.org/issue11072> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3135] inspect.getcallargs()

2008-06-18 Thread George Sakkis
New submission from George Sakkis <[EMAIL PROTECTED]>: I'd like to propose a new function for inclusion to the inspect module -- getcallargs(func, *args, **kwds) -- that returns a dict which maps the formal arguments of a function (or other callable) to the values passed as args and

[issue3250] datetime.time does not support arithmetic

2008-07-03 Thread George Boutsioukis
George Boutsioukis <[EMAIL PROTECTED]> added the comment: I have also come across this in the past. Although I sense that some obscure reason might prevent time arithmetic from being included, here's a patch to add time/timedelta addition and subtraction. It closely follows t

[issue3250] datetime.time does not support arithmetic

2008-07-04 Thread George Boutsioukis
George Boutsioukis <[EMAIL PROTECTED]> added the comment: Hi Chris, I know copy-pasted sounds horrible--perhaps I should have said 'modeled afterwards'(better marketing;). The thing is, the datetime & time classes share a lot of common functionality; it is inevitable that

[issue1869] Builtin round function is sometimes inaccurate for floats

2008-07-18 Thread George Boutsioukis
George Boutsioukis <[EMAIL PROTECTED]> added the comment: The issue is that the implementation of round includes multiplying the number by 10**ndigits, thus unnecessarily losing some precision for large numbers within the IEEE754 double limits. This means that even smaller numbers can p

[issue1869] Builtin round function is sometimes inaccurate for floats

2008-08-17 Thread George Boutsioukis
George Boutsioukis <[EMAIL PROTECTED]> added the comment: Hi Mark, Yes, I see where you are going with this and I agree. I think the py3k round function is a bit more accurate, any chance this can be backported to 2.7(after modifying the half-rounding)? Anyway, I was just playing aroun

[issue8174] Misleading reported number of given arguments on function call TypeError

2010-03-18 Thread George Sakkis
New submission from George Sakkis : The following exception message seems misleading, or at least not obvious: >>> def f(a,b,c): pass ... >>> f(c=0,a=0) Traceback (most recent call last): File "", line 1, in TypeError: f() takes exactly 3 non-keyword arguments (1

[issue3135] inspect.getcallargs()

2010-03-18 Thread George Sakkis
George Sakkis added the comment: I reverted the function to the original API (return just the dict with the bindings), cleaned it up, wrote thorough unit tests and made a patch against Python 2.7a4. -- keywords: +patch Added file: http://bugs.python.org/file16579/getcallargs.patch

[issue3135] inspect.getcallargs()

2010-03-19 Thread George Sakkis
Changes by George Sakkis : Removed file: http://bugs.python.org/file16579/getcallargs.patch ___ Python tracker <http://bugs.python.org/issue3135> ___ ___ Python-bug

[issue3135] inspect.getcallargs()

2010-03-19 Thread George Sakkis
George Sakkis added the comment: Renamed the Testcase classes to conform with the rest in test_inspect.py, added a few more tests for tuple args and patched against the latest trunk (r79086). -- Added file: http://bugs.python.org/file16587/getcallargs.patch

[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

2010-03-19 Thread George Sakkis
George Sakkis added the comment: Which version are you running ? I don't get the "positional" word in 2.6 and 2.7a4. In my opinion it should report how many required arguments are passed, regardless of how they are passed (positionally or by name). So in your example it shou

[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

2010-03-19 Thread George Sakkis
George Sakkis added the comment: Attached patch for displaying the number of missing required arguments. -- keywords: +patch Added file: http://bugs.python.org/file16589/6474.patch ___ Python tracker <http://bugs.python.org/issue6

[issue3135] inspect.getcallargs()

2010-03-19 Thread George Sakkis
George Sakkis added the comment: - Added docs in inspect.rst - Fixed TypeError message for zero-arg functions ("takes no arguments" instead of "takes exactly 0 arguments") + added test. -- Added file: http://bugs.python.org/file1659

[issue3135] inspect.getcallargs()

2010-03-19 Thread George Sakkis
George Sakkis added the comment: Uploaded at http://codereview.appspot.com/659041/show -- ___ Python tracker <http://bugs.python.org/issue3135> ___ ___ Python-bug

[issue1745] Backport of PEP 3102 "keyword-only arguments" to 2.6

2010-03-21 Thread George Sakkis
George Sakkis added the comment: Is there any update on this for 2.7 ? -- nosy: +gsakkis ___ Python tracker <http://bugs.python.org/issue1745> ___ ___ Python-bug

[issue1745] Backport of PEP 3102 "keyword-only arguments" to 2.6

2010-03-21 Thread George Sakkis
George Sakkis added the comment: FWIW I updated the patch to r79264; it applies cleanly and passes the tests but other than that I can't tell if it's ready. It would be nice to have it in 2.7 though. -- Added file: http://bugs.python.org/file16618/backport-keyword-only

[issue6409] 2to3 -j 4 generates malformed diffs

2010-04-11 Thread George Boutsioukis
George Boutsioukis added the comment: Flushing stdout is still necessary, though not enough. The processes will still have to use some kind of synchronization, and the performance toll of adding a lock to synchronize output is negligible, given that printing to stdout takes a tiny amount of

[issue6409] 2to3 -j 4 generates malformed diffs

2010-04-12 Thread George Boutsioukis
Changes by George Boutsioukis : Removed file: http://bugs.python.org/file16889/output_lock.diff ___ Python tracker <http://bugs.python.org/issue6409> ___ ___ Python-bug

[issue6409] 2to3 -j 4 generates malformed diffs

2010-04-12 Thread George Boutsioukis
George Boutsioukis added the comment: I updated the patch to keep the new code as local as possible. -- Added file: http://bugs.python.org/file16895/output_lock.diff ___ Python tracker <http://bugs.python.org/issue6

[issue8402] glob returns empty list with "[" character in the folder name

2010-04-14 Thread george hu
New submission from george hu : Have this problem in python 2.5.4 under windows. I'm trying to return a list of files in a directory by using glob. It keeps returning a empty list until I tested/adjusted folder name by removing "[" character from it. Not sure if this is a bug

[issue8402] glob returns empty list with "[" character in the folder name

2010-04-14 Thread george hu
george hu added the comment: Ok, what if the name of the directory contains "[]" characters? What is the escape string for that? -- status: closed -> open ___ Python tracker <http://bugs.pyth

[issue8402] glob returns empty list with "

2010-04-14 Thread george hu
george hu added the comment: Well, the listdir doesn't support "wildcard", for example, listdir("*.app"). I know the glob is kind of unix shell style expanding, but my program is running under windows, it's my tiny script to walk through a huge directory

[issue8402] glob returns empty list with "

2010-04-14 Thread george hu
george hu added the comment: Well, the listdir doesn't support "wildcard", for example, listdir("*.app"). I know the glob is kind of unix shell style expanding, but my program is running under windows, it's my tiny script to walk through a huge directory

[issue2090] __import__ with fromlist=[''] causes double initialization of modules

2010-04-15 Thread George Sakkis
George Sakkis added the comment: Just bitten by this (through a 3rd party library that uses this pattern) and I'm wondering why it was closed as invalid. Passing a non-empty fromlist string also imports the tail module but without the side effect of double import, so it's not

[issue2090] __import__ with fromlist=

2010-04-15 Thread George Sakkis
George Sakkis added the comment: > When you use an empty string in fromlist you are essentially simulating > ``from pkg import`` which makes absolutely no sense, so no one has > cared enough to try to fix this. ``from pkg import __bogus__, 123, @$%`` doesn't make sense eith

[issue2090] __import__ with fromlist=

2010-04-15 Thread George Sakkis
George Sakkis added the comment: More fun findings: dots are special-cased too, but only if they don't appear consecutively (!); ~$ cat pkg/__init__.py print __name__ ~$ python -c "__import__('pkg', fromlist=['.'])" pkg pkg.. ~$ python -c "__import_

[issue2090] __import__ with fromlist=

2010-04-18 Thread George Sakkis
George Sakkis added the comment: FWIW attached is a patch that allows only valid identifiers before calling import_submodule(), and returns silently otherwise (for backwards compatibility). For the record, the reason that empty strings and some combinations of slashes/dots caused the double

[issue2090] __import__ with fromlist=

2010-04-18 Thread George Sakkis
George Sakkis added the comment: > On the surface this seems like a potential directory traversal attack > hole, although I couldn't get past 'pkg' by passing '../../../', so I > guess there must be other checks before attempting the import. I rushed to p

[issue2831] Adding start to enumerate()

2010-05-05 Thread George Sakkis
George Sakkis added the comment: Just discovered this by chance; I would probably have noticed it earlier if the docstring had been updated. Let me know if it needs a new documentation bug ticket and I'll create one. Pretty handy feature by the way, thanks for adding it! --

[issue8639] Allow callable objects in inspect.getargspec

2010-05-06 Thread George Sakkis
New submission from George Sakkis : Not sure if this has been brought before but how about extending getargspec to work with callable instances, i.e. make it equivalent to getargspec(obj.__call__) ? -- components: Library (Lib) messages: 105166 nosy: gsakkis priority: normal severity

[issue1529] Error when passing a file object to tarfile.open()

2007-11-30 Thread George Notaras
George Notaras added the comment: Indeed, I have downloaded the latest tarfile module from svn and it works as expected. I should have done this in the first place. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1531] tarfile.open(fileobj=f) and bad metadata of the first file within the archive

2007-11-30 Thread George Notaras
New submission from George Notaras: Assume the following situation: - a healthy and uncompressed tar file: a.tar - the metadata of the 1st and second files within the archive start at positions 0 and 756 (realistic example values) I partially damage 200 bytes of metadata (byte range 0-500) of

[issue1529] Error when passing a file object to tarfile.open()

2007-11-30 Thread George Notaras
New submission from George Notaras: Assume a healthy uncompressed tar file: a.tar When trying to open the tarfile using a fileobject, there is always an exception: >>> f_raw = open("a.tar", "rb") >>> import tarfile >>> f_tar = tarfile.open(mode=&

[issue1531] tarfile.open(fileobj=f) and bad metadata of the first file within the archive

2007-12-01 Thread George Notaras
George Notaras added the comment: Thanks for the quick fix and the workaround. You are right about position 756. I hadn't spent enough time studying the ''ustar'' format. __ Tracker <[EMAIL PROTECTED]> &l

[issue1640] Enhancements for mathmodule

2008-01-19 Thread George Castillo
George Castillo added the comment: Is there still interest in implementing the inverse hyperbolic trig functions for real numbers? I would be willing to explore this if there is. -- nosy: +gmcastil __ Tracker <[EMAIL PROTECTED]> <http://bugs.p

[issue1640] Enhancements for mathmodule

2008-01-20 Thread George Castillo
George Castillo added the comment: Just a quick addition here regarding the singularities to these functions. The atanh(x) is only defined for |x| < 1, so atanh(1) or atanh(-1) isn't singular there so much as simply isn't defined. So, even though the function approaches infinite

[issue1640] Enhancements for mathmodule

2008-01-20 Thread George Castillo
George Castillo added the comment: I misunderstood the rationale for the function returning infinite at those points - I didn't realize that C99 was the governing force behind the implementation of these functions, rather than mathematical rigor. Thanks for pointing it out. In that ca

[issue2546] Python-2.5.2: crash in visit_decref () at Modules/gcmodule.c:270

2008-04-03 Thread George Verbitsky
New submission from George Verbitsky <[EMAIL PROTECTED]>: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208408368 (LWP 2816)] 0x080edccd in visit_decref (op=0xbf9289ff, data=0x0) at Modules/gcmodule.c:270 270 if (PyObject_IS_GC(op)) { (gdb)

[issue2546] Python-2.5.2: crash in visit_decref () at Modules/gcmodule.c:270

2008-04-05 Thread George Verbitsky
George Verbitsky <[EMAIL PROTECTED]> added the comment: Thank you, Amaury, very much for helping me with this one. George Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: Amaury Forgeot d'Arc added the comment: The crash is because of an error in your C code: in backen

[issue4734] broken link for 2.5.3 doc download

2008-12-23 Thread George Yoshida
New submission from George Yoshida : Download page for 2.5.3 documantation is not ready. --- Go to Documentation top page: http://docs.python.org/ click "Previous versions" click "Python 2.5.3" click "Download all these documents" But this URL, http://www

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-11 Thread George Sakkis
George Sakkis added the comment: Agreed; package_data are also ignored by sdist. Unfortunately, neither setuptools seems to work as expected on sdist but at least bdist_egg does. MANIFEST.in is an ugly hack and should be deprecated; you shouldn't have to repeat yourself in two

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-13 Thread George Sakkis
George Sakkis added the comment: I didn't mean to imply that automagic discovery based on external version control software is better than MANIFEST.in; I favor explicitness here as well. It's just that this information can (and often has to) be duplicated in setup.py as 'p

[issue2279] distutils sdist add_defaults does not add data_files

2009-02-15 Thread George Sakkis
George Sakkis added the comment: By an equivalent option in setup() of course. I'm not against the *functionality* of MANIFEST.in but on that (a) it's a second file you have to remember to write and maintain in addition to setup.py (b) has its own ad-hoc syntax instead of pyt

[issue37882] Code folding in IDLE

2019-08-18 Thread George Zhang
New submission from George Zhang : Congrats on adding line numbers to IDLE. With this change, a change to add code folding could be done more easily as the folding can reference the line numbers. Many other IDEs have code folding but IDLE should also have it. Code folding could be done with

[issue37882] Code folding in IDLE

2019-08-18 Thread George Zhang
Change by George Zhang : -- type: -> enhancement ___ Python tracker <https://bugs.python.org/issue37882> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue37902] Add scrolling for IDLE browsers

2019-08-20 Thread George Zhang
New submission from George Zhang : I've just started using IDLE's module/path browsers and they offer a lot! Putting aside the issue of them opening in separate windows, they have a small change that could be made to improve them. Both browsers have scrollbars, but (for me at least

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
Change by George Zhang : -- keywords: +patch pull_requests: +15072 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15360 ___ Python tracker <https://bugs.python.org/issu

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
George Zhang added the comment: I looked at the code for scrolling and moved it over to the ScrolledCanvas and TreeNode (because it uses a Label that sits on the canvas, meaning we have to rebind it here). I haven't figured out how to add the scroll-by-pressing-down-and-moving way but

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
Change by George Zhang : -- pull_requests: -15072 ___ Python tracker <https://bugs.python.org/issue37902> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
Change by George Zhang : -- pull_requests: +15076, 15077 pull_request: https://github.com/python/cpython/pull/15360 ___ Python tracker <https://bugs.python.org/issue37

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
Change by George Zhang : -- pull_requests: +15076 pull_request: https://github.com/python/cpython/pull/15360 ___ Python tracker <https://bugs.python.org/issue37

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
Change by George Zhang : -- pull_requests: -15077 ___ Python tracker <https://bugs.python.org/issue37902> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
Change by George Zhang : -- pull_requests: -15076 ___ Python tracker <https://bugs.python.org/issue37902> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
Change by George Zhang : -- pull_requests: +15079 pull_request: https://github.com/python/cpython/pull/15368 ___ Python tracker <https://bugs.python.org/issue37

[issue37902] Add scrolling for IDLE browsers

2019-08-21 Thread George Zhang
George Zhang added the comment: Looks like my PRs are getting out of hand... This is the final PR :P -- ___ Python tracker <https://bugs.python.org/issue37

[issue37902] Add scrolling for IDLE browsers

2019-08-22 Thread George Zhang
George Zhang added the comment: I renamed mousescroll to handlescroll as it's an independent callback function and I think it fits its use case better. I can keep it as mousescroll if you like though. The handlescroll function is now a standalone module function in tree.py and

[issue37902] Add scrolling for IDLE browsers

2019-08-22 Thread George Zhang
George Zhang added the comment: Also, how should I get the new code coverage percentage (or should it be ignored for now)? I'm thinking of adding a few more tests that send invalid events which would raise KeyError but I don't think that this behaviour will be used (and

[issue37461] email.parser.Parser hang

2019-08-23 Thread George Zhang
Change by George Zhang : -- pull_requests: +15136 pull_request: https://github.com/python/cpython/pull/15430 ___ Python tracker <https://bugs.python.org/issue37

[issue37461] email.parser.Parser hang

2019-08-23 Thread George Zhang
Change by George Zhang : -- pull_requests: +15137 pull_request: https://github.com/python/cpython/pull/15432 ___ Python tracker <https://bugs.python.org/issue37

[issue43523] Handling Ctrl+C when waiting on stdin on Windows via winrs

2021-03-16 Thread George Sovetov
New submission from George Sovetov : Ctrl+C alone has no effect, but Ctrl+Break works: ``` winrs -r:127.0.0.1:20465 -u:Administrator -p:qweasd123 python -c "import sys;sys.stdin.read(1)" ``` Although, if I press Ctrl+C, type zero or more symbols and then press Enter, KeyboardIn

[issue44875] Update dis.findlinestarts documentaiton to reflect new usage of `co_lines` (PEP 626)

2021-08-09 Thread George King
New submission from George King : `dis.findlinestarts()` has been changed to use the no `co_lines()` function. (Blame indicates commit 877df851c3e by Mark Shannon.) However the docs currently state that it uses the older `co_firstlineno` and `co_lnotab`: https://docs.python.org/3.10/library

[issue44875] Update dis.findlinestarts documentaiton to reflect new usage of `co_lines` (PEP 626)

2021-08-09 Thread George King
George King added the comment: I should also mention that my reading was not exhaustive, so there may be other docs that need updating as well. -- ___ Python tracker <https://bugs.python.org/issue44

[issue43683] Handle generator (and coroutine) state in the bytecode.

2021-10-20 Thread Damien George
Damien George added the comment: It looks like this change introduced a subtle, and maybe intended (?), behavioural change. Consider (from MicroPython's test suite): def f(): n = 0 while True: n = yield n + 1 print(n) g = f() try: g.send(1) except Type

[issue43683] Handle generator (and coroutine) state in the bytecode.

2021-10-27 Thread Damien George
Damien George added the comment: Thanks for confirming the bug. Sending non-None to a not-started generator could arguably be case (2), because that's exactly the semantics introduced by the commit that broke the test case :) Honestly I don't have a strong opinion on which way

[issue45900] Type annotations needed for convenience functions in ipaddress module

2021-11-25 Thread William George
New submission from William George : The convenience factory functions in the ipaddress module each return one of two types (IPv4Network vs IPv6Network, etc). Modern code wants to be friendly to either stack, and these functions are great at enabling that, but current implementation blocks

[issue45900] Type annotations needed for convenience functions in ipaddress module

2021-11-25 Thread William George
Change by William George : -- keywords: +patch pull_requests: +28015 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29778 ___ Python tracker <https://bugs.python.org/issu

[issue45904] Pasting the U00FF character into Python REPL misinterprets character

2021-11-26 Thread George King
New submission from George King : Using macOS 11.6 Terminal.app with Python 3.10.0 installed directly from python.org. I open the REPL. If I enter `char(0xff)` I get back 'ÿ' as expected (U00FF LATIN SMALL LETTER Y WITH DIAERESIS). However, If I copy this character with surround

[issue45904] Pasting the U00FF character into Python REPL misinterprets character

2021-11-26 Thread George King
George King added the comment: Edit: `chr(0xff)` -- ___ Python tracker <https://bugs.python.org/issue45904> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2020-01-10 Thread George Hickman
George Hickman added the comment: I came across this today with the same timeout behaviour on macOS 10.14.6. After some digging I tracked it down to the Search Domains setting of my local network, this was set to "local", removing that immediately fixed the issue. -- nosy:

[issue39640] fall back os.fdatasync() to fsync() on POSIX systems without fdatasync() support

2020-02-15 Thread George Melikov
New submission from George Melikov : POSIX fdatasync() is similar to fsync() but it tries not to sync non-needed metadata. If POSIX OS doesn't have it - it's safe to use fsync() (If we need to sync data to disk - we have to use one of these functions). This change will help to run

[issue39640] fall back os.fdatasync() to fsync() on POSIX systems without fdatasync() support

2020-02-15 Thread George Melikov
Change by George Melikov : -- keywords: +patch pull_requests: +17893 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18516 ___ Python tracker <https://bugs.python.org/issu

[issue39640] fall back os.fdatasync() to fsync() on POSIX systems without fdatasync() support

2020-02-15 Thread George Melikov
George Melikov added the comment: If there is a way not to sync data - you should use neither fdatasync nor fsync. So IMHO if someone wants to sync data and want to use fdatasync - I see the only way on MacOS is to use fsync(). > Note also that this change will not help to run code w

[issue39640] fall back os.fdatasync() to fsync() on POSIX systems without fdatasync() support

2020-02-15 Thread George Melikov
George Melikov added the comment: I want to add that it's a usual practice: - https://github.com/libuv/libuv/pull/1580/files/bdd987a9b4347164e31e22d2d5ce06fbb5ebc859 - https://rev.ng/gitlab/revng/qemu/commit/6f1953c4c14566d3303709869fd26201828

[issue27035] Cannot set exit code in atexit callback

2020-05-03 Thread George King
George King added the comment: I think we should change the documentation to expand the parenthetical " (unless SystemExit is raised)" to a complete explanation of that special case. -- ___ Python tracker <https://bugs.python.o

[issue39640] fall back os.fdatasync() to fsync() on POSIX systems without fdatasync() support

2020-08-23 Thread George Melikov
George Melikov added the comment: PR rebased and ready to review. -- ___ Python tracker <https://bugs.python.org/issue39640> ___ ___ Python-bugs-list mailin

[issue42409] Interpreter exit blocks waiting for ThreadPoolExecutor.map

2020-11-19 Thread George Sakkis
New submission from George Sakkis : ThreadPoolExecutor.map() prevents interpreter exit if there is a reference to the generator it returns. In the attached script: - `python threadpool_map.py run1` exits as soon as the exception is raised on the main thread. This is the desired behavior in

[issue42409] Interpreter exit blocks waiting for ThreadPoolExecutor.map

2020-11-19 Thread George Stefos
Change by George Stefos : -- nosy: +stefosgiwrgos ___ Python tracker <https://bugs.python.org/issue42409> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37297] function changed when pickle bound method object

2019-06-15 Thread George Xie
New submission from George Xie : if we create a bound method object `f` with function object `A.f` and instance object `B()`, when pickling this bound method object: import pickle class A(): def f(self): pass class B(): def f

[issue37297] function changed when pickle bound method object

2019-06-16 Thread George Xie
Change by George Xie : -- keywords: +patch Added file: https://bugs.python.org/file48424/0001-fix-bound-method-__reduce__-bug.patch ___ Python tracker <https://bugs.python.org/issue37

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-24 Thread George Pantazes
New submission from George Pantazes : IDLE crashes if the user scrolls with the Mac mousepad (using two fingers, either up or down). ```$ python -m idlelib # Then I use the mousepad to scroll in the IDLE window Traceback (most recent call last): File "/usr/local/Cellar/python/

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-24 Thread George Pantazes
George Pantazes added the comment: Also happens when I plug in a conventional mouse and use the mouse scrollwheel (so it's not just the touchpad scrolling!). -- ___ Python tracker <https://bugs.python.org/is

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread George Pantazes
George Pantazes added the comment: Alright folks, sorry there's going to be a lot of pasted blocks of output, so just look for where I @ your name to address your questions. @ned.deily, here is the output of those info commands. ``` ➜ python3 -m test.pytho

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread George Pantazes
George Pantazes added the comment: Checked against the python.org installation. In that installation's IDLE, About IDLE > Tk version 8.6.8. So my question is: - Is it on me to fix this for my own machine because I should have gotten my own more-up-to-date TK before installing Py

[issue37391] MacOS Touchpad scrolling crashes IDLE

2019-06-25 Thread George Pantazes
George Pantazes added the comment: In case anyone would like to weigh in on the Homebrew side, I've filed the homebrew issue here: https://github.com/Homebrew/homebrew-core/issues/41338 . -- ___ Python tracker <https://bugs.python.org/is

  1   2   3   >