[issue41117] [easy C] GC: Use local variable 'op' when invoking 'traverse' in 'subtract_refs'

2020-06-25 Thread William Pickard
New submission from William Pickard : When the GC module goes to collect objects (most notably, during Python shutdown), it makes a call to subtract_refs on the GC container. During this invocation, it creates a local variable "op" who's value is the result of 'FROM_GC(gc

[issue41153] [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig" are given opposite documentation.

2020-06-28 Thread William Pickard
New submission from William Pickard : The initconfig API functions "PyPreConfig_InitPythonConfig" and "PyPreConfig_InitIsolatedConfig" are mistakenly documented for the other method. -- assignee: docs@python components: Documentation messages: 372531 nosy: Wil

[issue41153] [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig" are given the opposite's documentation.

2020-06-28 Thread William Pickard
Change by William Pickard : -- title: [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig" are given opposite documentation. -> [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig&qu

[issue41171] Create companion methods of "PyType_FromSpec*" to allow setting metaclass.

2020-06-30 Thread William Pickard
New submission from William Pickard : The current goal from what I can tell for Python is to have all C based modules move away from static types and instead use "PyType_FromSpec" and the variant that specifies base classes. The only problem is, PyType_FromSpec and it's va

[issue41171] Create companion methods of "PyType_FromSpec*" to allow setting metaclass.

2020-06-30 Thread William Pickard
William Pickard added the comment: Another thing I thought of, if this is accepted, we can turn the "PyType" methods into header static inline methods. -- ___ Python tracker <https://bugs.python.o

[issue41171] Create companion methods of "PyType_FromSpec*" to allow setting metaclass.

2020-06-30 Thread William Pickard
Change by William Pickard : -- keywords: +patch pull_requests: +20390 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21238 ___ Python tracker <https://bugs.python.org/issu

[issue41153] [easy Doc] "PyPreConfig_InitIsolatedConfig" and "PyPreConfig_InitPythonConfig" are given the opposite's documentation.

2020-07-01 Thread William Pickard
Change by William Pickard : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue41153> ___ ___

[issue39573] [C API] Make PyObject an opaque structure in the limited C API

2020-07-01 Thread William Pickard
Change by William Pickard : -- nosy: +WildCard65 nosy_count: 9.0 -> 10.0 pull_requests: +20410 pull_request: https://github.com/python/cpython/pull/21262 ___ Python tracker <https://bugs.python.org/issu

[issue41188] Prepare CPython for opaque PyObject structure.

2020-07-01 Thread William Pickard
New submission from William Pickard : The goal of issue 39573 is to make "PyObject" and opaque structure in the limited API. To do that, a few mandatory changes will be required to CPython in order to allow for seamless implementation. Namely: 1) User types need to get away fro

[issue41188] Prepare CPython for opaque PyObject structure.

2020-07-01 Thread William Pickard
Change by William Pickard : -- keywords: +patch pull_requests: +20415 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21262 ___ Python tracker <https://bugs.python.org/issu

[issue41294] Allow '__qualname__' to be an instance of 'DynamicClassAttribute'

2020-07-13 Thread William Pickard
New submission from William Pickard : Currently within Python, the attribute '__qualname__' is restricted to only be a string valued attribute. This makes is rather cumbersome for anyone who wants to implement '__qualname__' as a property, instead of a plain attr

[issue41368] Allow compiling Python with llvm-clang on Windows.

2020-07-22 Thread William Pickard
New submission from William Pickard : Since Visual Studio 2017, Microsoft has an optional C++ Desktop Development option for compiling C/C++ code with LLVM's Clang compiler. It's called: Clang with Microsoft CodeGen. While the code is parsed with LLVM's Clang parser, the co

[issue41368] Allow compiling Python with llvm-clang on Windows.

2020-07-22 Thread William Pickard
William Pickard added the comment: Note: Apparently Google-OpenID login button created a seperate account... instead of finding this one. -- nosy: +WildCard65 -William Pickard ___ Python tracker <https://bugs.python.org/issue41

[issue41358] Unable to uninstall Python launcher using command line

2020-07-23 Thread William Pickard
William Pickard added the comment: I think on Windows, the Python Launcher is a separate install entity. You can verify this under Control Panel -> Uninstall Program and Features. -- nosy: +WildCard65 ___ Python tracker <https://bugs.pyth

[issue41501] 0x80070643, can't install any version

2020-08-08 Thread William Pickard
William Pickard added the comment: Try what's explained here: https://support.microsoft.com/en-us/help/2438651/how-to-troubleshoot-windows-installer-errors -- nosy: +WildCard65 ___ Python tracker <https://bugs.python.org/is

[issue41523] functools.cached_property does not satisfy the property check

2020-08-11 Thread William Pickard
William Pickard added the comment: In the lru_cache example, I think property is using the result of 'lru_cache(c)', which in turns returns a property instance, not a subtype instance. -- nosy: +WildCard65 ___ Python track

[issue41524] PyOS_mystricmp advances pointers too far

2020-08-11 Thread William Meehan
New submission from William Meehan : The existing implementation of PyOS_mystricmp increments both pointers as long as the first string hasn't reached the end yet. If the second string ends first, then we increment past the null byte. If there is a difference in the middle of the two st

[issue41525] Python '--help' has corrupted text.

2020-08-11 Thread William Pickard
New submission from William Pickard : Running Python's '--help' argument yields some corrupted text: "-X dev: enable CPythonâ?Ts â?odevelopment modeâ??, introducing additional runtime" -- components: Interpreter Core messages: 375204 nosy: WildCard65 priority

[issue41524] PyOS_mystricmp advances pointers too far

2020-08-12 Thread William Meehan
Change by William Meehan : -- keywords: +patch pull_requests: +20972 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/21845 ___ Python tracker <https://bugs.python.org/issu

[issue41523] functools.cached_property does not satisfy the property check

2020-08-17 Thread William Pickard
William Pickard added the comment: Another thing to note Raymond, as I stated before, example C is, from an external context, is a plain property object who's "fget" attribute is an instance of whatever "lru_cache" returns. isinstance won't be able to differe

[issue41706] docs: operator dunder (`__add__`, et al.) invocations described incorrectly

2020-09-03 Thread William Chargin
New submission from William Chargin : The operator override dunder methods, like `__add__`, are described in the “Data model” docs here: <https://docs.python.org/3.10/reference/datamodel.html#object.__add__> Those docs say: > For instance, to evaluate the expression `x + y`, where

[issue41706] docs: operator dunder (`__add__`, et al.) invocations described incorrectly

2020-09-03 Thread William Chargin
Change by William Chargin : -- keywords: +patch pull_requests: +21170 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22084 ___ Python tracker <https://bugs.python.org/issu

[issue41525] Python '--help' has corrupted text.

2020-09-08 Thread William Pickard
Change by William Pickard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue24427] subclass of multiprocessing Connection segfault upon attribute acces

2020-09-27 Thread William Pickard
Change by William Pickard : -- nosy: -WildCard65 ___ Python tracker <https://bugs.python.org/issue24427> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24427] subclass of multiprocessing Connection segfault upon attribute acces

2020-09-27 Thread William Pickard
William Pickard added the comment: You did just necro a 5 year old bug report... -- nosy: +WildCard65 ___ Python tracker <https://bugs.python.org/issue24

[issue41889] enum: Mixin and int base class regression in 3.8.6

2020-09-30 Thread William Pickard
William Pickard added the comment: Actually, this is an issue with native types in general that define a 'tp_new' slot value ('!= NULL'). -- nosy: +WildCard65 ___ Python tracker <https://bug

[issue26388] Disabling changing sys.argv[0] with runpy.run_module(...alter_sys=True)

2020-11-10 Thread William Schwartz
Change by William Schwartz : -- nosy: +William.Schwartz ___ Python tracker <https://bugs.python.org/issue26388> ___ ___ Python-bugs-list mailing list Unsub

[issue42315] `python -m` semantics conflict with `__file__`'s being optional

2020-11-10 Thread William Schwartz
New submission from William Schwartz : `python -m mod` sets `sys.argv[0]` to the `mod.__file__` according to https://docs.python.org/3.9/using/cmdline.html#cmdoption-m > If ["-m"] is given, the first element of sys.argv will be the full path to > the module file (while th

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread William Meehan
Change by William Meehan : -- components: Tests nosy: wmeehan priority: normal severity: normal status: open title: Other Python implementations may not expose the module name in datetime type names versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread William Meehan
New submission from William Meehan : This just requires some changes to test_datetime and test_hash -- ___ Python tracker <https://bugs.python.org/issue42

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread William Meehan
Change by William Meehan : -- keywords: +patch pull_requests: +22237 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23345 ___ Python tracker <https://bugs.python.org/issu

[issue42390] Other Python implementations may not expose the module name in datetime type names

2020-11-17 Thread William Meehan
William Meehan added the comment: For Python implementations that change the underlying object structure, it's not necessarily possible to recreate the `tp_name` that would be exposed in CPython. The `datetime` ends up in `__module__`, while only the type name ends up in `__name__`. Th

[issue30720] re.sub substitution match group contains wrong value after unmatched pattern was processed

2017-06-20 Thread William Budd
New submission from William Budd: pattern = re.compile('(.*?)', flags=re.DOTALL) # This works as expected in the following case: print(re.sub(pattern, '\\1', 'foo\n' '

[issue30720] re.sub substitution match group contains wrong value after unmatched pattern was processed

2017-06-20 Thread William Budd
William Budd added the comment: I don't understand... Isn't the "?" in ".*?" supposed to make the ".*" matching non-greedy, hence matching the first "" rather than the last ""? -- __

[issue30720] re.sub substitution match group contains wrong value after unmatched pattern was processed

2017-06-20 Thread William Budd
William Budd added the comment: I now see you're right of course. Not a bug after all. Thank you. I mistakenly assumed that the group boundary ")" would delimit the end of the non-greedy match group. I.e., ".*?" versus ".*?". I don't see a way to accom

[issue30720] re.sub substitution match group contains wrong value after unmatched pattern was processed

2017-06-20 Thread William Budd
William Budd added the comment: Doh! This has a really easy solution, doesn't it; just replace "." with "[^<]": re.compile('([^<]*?)', flags=re.DOTALL). Sorry about the noise. -- ___ Python tr

[issue30805] asyncio: race condition with debug and subprocess

2017-06-29 Thread William Grzybowski
New submission from William Grzybowski: If a process is schedule to run in the event loop with debug disabled and debug is then enabled before the process finishes it will result in a traceback: debug_log undefined. [2017/06/29 14:39:13] (ERROR) asyncio.default_exception_handler():1261 - Ta sk

[issue27682] wsgiref: Windows Error 10053, ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine

2018-01-20 Thread William Hingston
William Hingston added the comment: I'm still seeing this with Python 3.6.3 Django 2.0.1 Windows 10 Pro Version 1709 Was this determined to be a Django bug? -- nosy: +William Hingston ___ Python tracker <https://bugs.python.org/is

[issue25095] test_httpservers hangs since Python 3.5

2018-01-27 Thread William Pickard
William Pickard added the comment: Ok, I found another way to apply the solution to this issue, that is by adding the "Connection" header (with value of "close") to the client's request instead of the server's response. I'm going to use this other method

[issue25095] test_httpservers hangs since Python 3.5

2018-01-27 Thread William Pickard
William Pickard added the comment: Alright, the PR is ready for review. -- ___ Python tracker <https://bugs.python.org/issue25095> ___ ___ Python-bugs-list mailin

[issue25095] test_httpservers hangs since Python 3.5

2018-01-30 Thread William Pickard
Change by William Pickard : -- versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue25095> ___ ___ Python-bugs-list m

[issue32423] The Windows SDK version 10.0.15063.0 was not found

2018-02-02 Thread William Woodall
William Woodall added the comment: I can confirm this bug using both VS 2015 and VS 2017 on Windows 10. The patch provided by isuruf works for me too. -- nosy: +wjwwood ___ Python tracker <https://bugs.python.org/issue32

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-23 Thread William Pickard
New submission from William Pickard : The distutils module _findvs is failing on my Windows 10 PRO machine with the following error: OSError: Error 80070002 Note: Building Python 3.6 in debug for some reason doesn't cause the error. -- components: Distutils, Extension Modules, Li

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-23 Thread William Pickard
William Pickard added the comment: Use, when distutils calls findall in the module, it results in the OSError being thrown. -- ___ Python tracker <https://bugs.python.org/issue32

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-24 Thread William Pickard
William Pickard added the comment: Looks like something wierd about my computer as the powershell module that interacts with the API also has the issue with Windows reporting "File not found" for a 2nd instance (maybe Community edition of VS) -- resolution: -> no

[issue32928] _findvs failing on Windows 10 (Release build only)

2018-02-24 Thread William Pickard
William Pickard added the comment: The powershell module that interacts with the API works if I don't supply "-All", supplying said option produces the same issue that is plagues me when _findvs.findall() is used. -- ___ Python

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-03-28 Thread William Scullin
New submission from William Scullin : When building Python 3.6.X and later with icc (18.0.0.128 or 18.0.1.163), there's an error building the _sha3 module with any optimization level other than -O0: building '_sha3' extension icc -pthread -fPIC -Wsign-compare -Wunreachable-code

[issue31844] HTMLParser: undocumented not implemented method

2017-10-31 Thread William Ayd
William Ayd added the comment: Would we be open to setting the meta class of the ParserBase to ABCMeta and setting error as an abstract method? That at the very least would make the expectation clearer for subclasses. I haven’t contributed to Python before but am open to this as a first

[issue31844] HTMLParser: undocumented not implemented method

2017-10-31 Thread William Ayd
William Ayd added the comment: And assuming that subclass requirement is intentional we could add an optional keyword argument to the HTMLParser that indicates what to do with errors, much like how encoding issues are handled within codecs. For backwards compatibility it can default to

[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread William Pickard
William Pickard added the comment: Scratch the previous message about the possible cause, I found the true cause, getresponse() is waiting for a specific header, one that BaseHTTPRequestHandler.send_error sends and BaseHTTPRequestHandler.send_response() doesn't, that header is "

[issue25095] test_httpservers hangs on 3.5.0, win 7

2018-01-04 Thread William Pickard
Change by William Pickard : -- keywords: +patch pull_requests: +4969 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue25095> ___ ___ Py

[issue25095] test_httpservers hangs since Python 3.5

2018-01-04 Thread William Pickard
Change by William Pickard : -- title: test_httpservers hangs on 3.5.0, win 7 -> test_httpservers hangs since Python 3.5 type: crash -> performance ___ Python tracker <https://bugs.python.org/i

[issue25095] test_httpservers hangs since Python 3.5

2018-01-05 Thread William Pickard
William Pickard added the comment: Martin, your suggestion will never work as if you look at the trace back posted terry.reedy and my test print statements, both the client and server get stuck waiting to read data their respective socket, hence the deadlock. Adding the header "Conne

[issue25095] test_httpservers hangs since Python 3.5

2018-01-05 Thread William Pickard
William Pickard added the comment: It hangs for me on Windows 10 Professional running on a MSI gaming laptop for debug and PGO builds (Python 3.6) -- ___ Python tracker <https://bugs.python.org/issue25

[issue25095] test_httpservers hangs since Python 3.5

2018-01-05 Thread William Pickard
William Pickard added the comment: I have tried value 0 for "Content-Length" (along with "text/plain" for "Content-Type"), it was when I said I tried both "Content-Length" and "Content-Type", while I haven't tried directly setting &quo

[issue33625] Disable GIL on getpwnam and getpwuid

2018-05-23 Thread William Grzybowski
New submission from William Grzybowski : Hello, Currently the GIL is not disabled when calling pwd.getpwnam nor pwd.getpwuid. It could be the C library call may take some time for completion, especially when using third-party modules on the system (nss-ldap, nss-pgsql, sss, etc). Disabling

[issue33625] Disable GIL on getpwnam and getpwuid

2018-05-23 Thread William Grzybowski
Change by William Grzybowski : -- keywords: +patch pull_requests: +6711 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33625> ___ _

[issue33625] Release GIL for grp.getgr{nam, gid} and pwd.getpw{nam, uid}

2018-05-24 Thread William Grzybowski
William Grzybowski added the comment: I have updated the PR to used the re-entrant versions. Let me know what you guys think. Thanks! -- title: Disable GIL on getpwnam and getpwuid -> Release GIL for grp.getgr{nam,gid} and pwd.getpw{nam,

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-05-24 Thread William Scullin
William Scullin added the comment: Hi Kenneth: I can recreate this issue on Haswell, Skylake-X, and KNL running SLES 12, Clear Linux, and Centos 7.5. I've tried 18.1 and 18.2. It's still present across the board with Intel C/C++ 18.0.2.199. On the Centos 7.5.1804 image, the

[issue23548] TypeError in event loop finalizer, new in Python 3.4.3

2018-06-19 Thread William Woodall
William Woodall added the comment: Just an update to my previous post. We ran into this issue again, but only noticed later because we do not see this problem on Ubuntu Bionic with Python 3.6.5, but we did see it again when we tested later on Ubuntu Xenial with Python 3.5.1. See: https

[issue25095] test_httpservers hangs since Python 3.5

2018-08-01 Thread William Pickard
William Pickard added the comment: My computer was running BitDefender Total Security 2018 (At the time, currently running the 2019 edition) and MalwareBytes 3 Premium. BitDefender has both a built-in firewall and a web protection module while MalwareBytes has a web protection module

[issue29620] unittest.TestCase.assertWarns raises RuntimeEror if sys.modules changes size

2018-08-20 Thread William Schwartz
William Schwartz added the comment: I am also running into this problem. I'm not 100%, but I'm pretty sure that looping over sys.modules and accessing __warningregistry__ on each module triggers one of my module's __getattr__ functions (PEP 562), which in turn uses setuptoo

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread William Grzybowski
New submission from William Grzybowski : Issue was spotted by @vstinner while reviewing https://github.com/python/cpython/pull/7081 pwd.getpwnam and grp.getgrnam are susceptible to mojibake as they are using encoded bytes instead of unicode in the error message. -- components

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread William Grzybowski
Change by William Grzybowski : -- keywords: +patch pull_requests: +8552 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34604> ___ _

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread William Grzybowski
Change by William Grzybowski : -- pull_requests: +8558 ___ Python tracker <https://bugs.python.org/issue34604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-07 Thread William Grzybowski
Change by William Grzybowski : -- pull_requests: +8559 ___ Python tracker <https://bugs.python.org/issue34604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-08 Thread William Grzybowski
William Grzybowski added the comment: What is the policy to amend a new commit to master for %R? Create a new PR? Wont that cause problem with NEWS entry? -- ___ Python tracker <https://bugs.python.org/issue34

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-10 Thread William Grzybowski
William Grzybowski added the comment: I can do it if you feel the need. Can this same issue be used? Will the new PR require another NEWS entry? -- ___ Python tracker <https://bugs.python.org/issue34

[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

2018-09-11 Thread William Grzybowski
Change by William Grzybowski : -- pull_requests: +8608 ___ Python tracker <https://bugs.python.org/issue34604> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34642] time.ctime() uses %3d instead of %.2d to format.

2018-09-11 Thread William Chaseling
New submission from William Chaseling : time.ctime() returns _asctime from a C module. _asctime returns a PyUnicode_FromFormat() result using "%s %s%3d %.2d:%.2d:%.2d %d" as the string formatter. This works: 'Wed Sep 12 22:30:00 2018' Except when day <10, because it u

[issue34642] time.ctime() uses %3d instead of %.2d to format.

2018-09-11 Thread William Chaseling
William Chaseling added the comment: It's easy to get around using .replace(' ', ' '), but it's still a bit annoying. -- ___ Python tracker <h

[issue26000] Crash in Tokenizer - Heap-use-after-free

2018-09-23 Thread William Bowling
William Bowling added the comment: > Is this still reproducible? On master (Python 3.8) with a debug build it > throws a SyntaxError. I don't have Python 3.5 installed to check this though Looks like it's fixed in master and 3.6.6 but still ha

[issue25095] test_httpservers hangs since Python 3.5

2018-09-25 Thread William Pickard
Change by William Pickard : -- pull_requests: +8966 ___ Python tracker <https://bugs.python.org/issue25095> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34862] No longer builds on OpenBSD due to missing definition of convert_sched_param

2018-10-01 Thread William Orr
New submission from William Orr : [ worr on locke ] ( cpython ) % make -j15 [0] gcc -pthread -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -O2 -pipe -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers

[issue34862] No longer builds on OpenBSD due to missing definition of convert_sched_param

2018-10-01 Thread William Orr
Change by William Orr : -- keywords: +patch pull_requests: +9050 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34862> ___ ___ Py

[issue5614] Malloc errors in test_io

2018-10-09 Thread William Schwartz
William Schwartz added the comment: In Jupyter Notebook, I tried to pass a large amount of data (about 2.3 GB) to Statsmodels's KDEUnivariate.fit (https://www.statsmodels.org/dev/generated/statsmodels.nonparametric.kde.KDEUnivariate.fit.html#statsmodels.nonparametric.kde.KDEUnivariat

[issue18274] python: not found

2013-06-20 Thread William Moreno
New submission from William Moreno: mklib: Making FreeBSD static library: librtasm.a gmake[4]: Leaving directory `/usr/ports/graphics/libGL/work/Mesa-7.6.1/src/gallium/auxiliary/rtasm' gmake[4]: Entering directory `/usr/ports/graphics/libGL/work/Mesa-7.6.1/src/gallium/auxiliary/util&#x

[issue18274] python: not found

2013-06-20 Thread William Moreno
William Moreno added the comment: Hi ... tks for answer me   What is the right place ? Yes, I have installed Python using FreeBSD-ports? I am using FreeBSD-ports regulary. William Elasio Moreno Albarracin Ingeniero de Sistemas de la Universidad Antonio Nariño Universidad Industrial de

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-07-03 Thread William Schwartz
William Schwartz added the comment: Looks like this issue is closed, but I got IDLE to crash. On Python 3.3.2, Windows 7, and Tk version 8.5, IDLE crashes when pasting \U0001F382 (Unicode birthday cake character). Below is the version string for the Python I'm running. Python 3.3.2 (v

[issue15072] Segfault on OSX

2012-06-14 Thread William Payne
New submission from William Payne : Unfortunately, I cannot provide the source of the script I was running then the crash occurred, so I strongly suspect that this issue will be closed as "cannot reproduce", but I have included the OSX problem report anyway, if it is of any use.

[issue15072] Segfault on OSX

2012-06-14 Thread William Payne
William Payne added the comment: The crash has only occurred once (so far). If it happens a couple more times I will try to reproduce it and send you the script. For now though, I guess the ticket should be closed. I hope I did the right thing in raising a ticket - I thought that it was worth

[issue15243] Misleading documentation for __prepare__

2012-07-03 Thread William Schwartz
New submission from William Schwartz : Section 3.3.3.2. "Preparing the class namespace" of the documentation (http://docs.python.org/dev/reference/datamodel.html#preparing-the-class-namespace) states that "If the metaclass has a __prepare__ attribute, it is called as ``namesp

[issue15243] Misleading documentation for __prepare__

2012-07-03 Thread William Schwartz
William Schwartz added the comment: Attached a unittest script to demonstrate that __prepare__ is implicitly a staticmethod. -- Added file: http://bugs.python.org/file26245/test_metaclass.py ___ Python tracker <http://bugs.python.org/issue15

[issue15243] Misleading documentation for __prepare__

2012-07-05 Thread William Schwartz
William Schwartz added the comment: Daniel, Good point. However it would still be useful for documentation to point out that __prepare__ can be passed the metaclass as the implicit first argument by being decorated by classmethod. I'll post a small patch when I get a chance to add a sen

[issue16269] multiprocessing.Queue uses select()

2012-10-17 Thread William Edwards
New submission from William Edwards: If you have 1024 file descriptors already open, the file descriptors created internally in multiprocessing.Queue will be beyond 1024 and the select() call buried deep in the Queue will throw an exception. In fact, all uses of select() in the Python libs

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-18 Thread William Edwards
William Edwards added the comment: issue 16259 has just been closed as a dup of this one. Does this mean that this one will be fixed in Python 2.x too? -- nosy: +William.Edwards ___ Python tracker <http://bugs.python.org/issue10

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-18 Thread William Edwards
William Edwards added the comment: Apologies, I meant: issue 16269 has just been closed as a dup of this one. Does this mean that this one will be fixed in Python 2.x too? -- ___ Python tracker <http://bugs.python.org/issue10

[issue10527] multiprocessing.Pipe problem: "handle out of range in select()"

2012-10-18 Thread William Edwards
William Edwards added the comment: That was my fear; I raise an issue hurting my 2.x servers in production, and its closed as duplicate instead of not-going-to-fix? -- ___ Python tracker <http://bugs.python.org/issue10

[issue21112] 3.4 regression: unittest.expectedFailure no longer works on TestCase subclasses

2014-03-31 Thread William Schwartz
New submission from William Schwartz: In Python 2.7 and 3.3, decorating a unittest.TestCase subclass with unittest.expectedFailure caused test discover to skip the decorated test case. Python 3.4 apparently ignores the decorator when applied to classes. The attached file when run with Python

[issue21136] fractions.Fraction.__pow__ does unneeded renormalization

2014-04-02 Thread William Ehlhardt
New submission from William Ehlhardt: The following Python runs unnecessarily slowly: import fractions fractions.Fraction(6249919, 625) ** 89993 The problem here is that Fraction.__pow__ constructs a new Fraction() to return, and Fraction.__new__ tries to gcd to normalize the numerator

[issue20962] Rather modest chunk size in gzip.GzipFile

2014-04-24 Thread William Tisäter
William Tisäter added the comment: I played around with different file and chunk sizes using attached benchmark script. After several test runs I think 1024 * 16 would be the biggest win without losing too many μs on small seeks. You can find my benchmark output here: https://gist.github.com

[issue20050] distutils should check PyPI certs when connecting to it

2014-04-25 Thread William Tisäter
Changes by William Tisäter : -- nosy: +tiwilliam ___ Python tracker <http://bugs.python.org/issue20050> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20962] Rather modest chunk size in gzip.GzipFile

2014-04-28 Thread William Tisäter
William Tisäter added the comment: That makes sense. I proceeded and updated `Lib/gzip.py` to use `io.DEFAULT_BUFFER_SIZE` instead. This will change the existing behaviour in two ways: * Start using 1024 * 8 as buffer size instead of 1024. * Add one more kwarg (`buffer_size`) to `GzipFile

[issue12382] [msilib] Obscure exception message when trying to open a non-existent MSI database

2014-04-29 Thread William Tisäter
William Tisäter added the comment: Found this a simple fix for an annoying and time consuming error. Patched as discussed earlier and decided to leave the filename out. -- components: +Windows -Library (Lib) keywords: +patch nosy: +tiwilliam versions: +Python 3.5 Added file: http

[issue19214] shutil.make_archive should recognize extensions in filenames

2014-04-29 Thread William Tisäter
William Tisäter added the comment: I'm not sure if this is a suitable feature in `make_archive()`, it would only introduce a more expensive and ugly lookup. Using this method with a pre-defined filename including extension must be rare. If you really want this behaviour, I would prefer h

[issue15795] Zipfile.extractall does not preserve file permissions

2014-06-15 Thread William Ehlhardt
Changes by William Ehlhardt : -- nosy: +Orborde ___ Python tracker <http://bugs.python.org/issue15795> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17189] Add zip64 support to shutil

2013-02-11 Thread William Mallard
New submission from William Mallard: This patch enables creation of 64-bit zip files via make_archive(). make_archive uses ZipFile to create zip files. ZipFile already supports creation of 64-bit archives via a kwarg, but make_archive hard-codes it to 32-bit. This patch exposes the option in

[issue19554] Enable all freebsd* host platforms

2013-11-11 Thread William Grzybowski
New submission from William Grzybowski: Hello, Currently python setup.py restricts FreeBSD host platform by version, e.g. freebsd7, freebsd8. It is not only out-of-date (we already are on freebsd11) but also doesn't seem to have a good reason to do so. Proposed patches replaces it

[issue19554] Enable all freebsd* host platforms

2013-11-11 Thread William Grzybowski
Changes by William Grzybowski : Added file: http://bugs.python.org/file32574/tip.patch ___ Python tracker <http://bugs.python.org/issue19554> ___ ___ Python-bugs-list m

[issue19554] Enable all freebsd* host platforms

2013-11-11 Thread William Grzybowski
Changes by William Grzybowski : Removed file: http://bugs.python.org/file32573/tip.patch ___ Python tracker <http://bugs.python.org/issue19554> ___ ___ Python-bugs-list m

<    1   2   3   >