[issue35990] ipaddress.IPv4Interface won't accept 2-tuple (address, mask)

2019-05-23 Thread Jack
Jack added the comment: confirmed in 3.7.3 -- nosy: +Jacktose ___ Python tracker <https://bugs.python.org/issue35990> ___ ___ Python-bugs-list mailing list Unsub

[issue27860] Improvements to ipaddress module

2019-05-24 Thread Jack
Change by Jack : -- nosy: +Jacktose ___ Python tracker <https://bugs.python.org/issue27860> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue27860] Improvements to ipaddress module

2019-05-27 Thread Jack
Jack added the comment: I for one have encountered #35990 in my work and would appreciate a backport. -- ___ Python tracker <https://bugs.python.org/issue27

[issue26226] Test failures with non-ascii character in hostname on Windows

2019-01-15 Thread Jack
Jack added the comment: Python not working.. -- nosy: +Jack01 ___ Python tracker <https://bugs.python.org/issue26226> ___ ___ Python-bugs-list mailing list Unsub

[issue29771] An email and MIME handling package - Add support to send CC of email

2017-03-09 Thread Jack
New submission from Jack: Currently using the package we can only define emails in the 'TO' as shown here: https://docs.python.org/2/library/email-examples.html#email-examples There is no support for email to be sent as CC or BCC which is useful quality in many emails. Please see i

[issue29771] An email and MIME handling package - Add support to send CC of email

2017-03-09 Thread Jack
Jack added the comment: But this is what I mean.. It shouldn't be arbitrary. When you define CC you want him as CC not as another one in the TO. This is why I said this is enhancement request. -- ___ Python tracker <http://bugs.python.org/is

[issue29771] An email and MIME handling package - Add support to send CC of email

2017-03-09 Thread Jack
Changes by Jack : -- status: closed -> open ___ Python tracker <http://bugs.python.org/issue29771> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29771] An email and MIME handling package - Add support to send CC of email

2017-03-09 Thread Jack
Jack added the comment: I think you missundersttod. I showed the example page just so you would understand what I am talking about. Let me explain it better: msg['Subject'] = 'The contents of %s' % textfile msg['From'] = me msg['To'] = you Work

[issue29771] An email and MIME handling package - Add support to send CC of email

2017-03-09 Thread Jack
Jack added the comment: Please see the stack overflow question: http://stackoverflow.com/questions/42696100/python-smtp-send-email-with-cc -- ___ Python tracker <http://bugs.python.org/issue29

[issue29771] An email and MIME handling package - Add support to send CC of email

2017-03-09 Thread Jack
Jack added the comment: "I'm on the fence about including this in the examples." Think of it this way.. Including it in the docs would have prevented this question. It can be just a side note it doesn't have to be a whole example. Thx. -- st

[issue9694] argparse required arguments displayed under "optional arguments"

2018-10-08 Thread Jack
Jack added the comment: I'd like to note that this also happens with a required mutually exclusive group: group = parser.add_mutually_exclusive_group(required=True) The arguments in the group are listed under “optional arguments:”. I'm guessing the mechanism is the same. -

[issue24868] Python start

2015-08-14 Thread jack
New submission from jack: I just installed Python 3.4.3 on a 32-bit machine, 2 GB memory, Win XP SP3. When I try to start IDLE, pythonw.exe appears briefly in the Windows Task Manager, then disappears, and nothing else happens. If I run just python.exe in a command window, that runs OK. The

[issue24868] Python start

2015-08-15 Thread jack
jack added the comment: Thanks a lot for the tip. This revealed that Python 3.4.3 was looking for tcl from Python 2.2 on my machine. That version had been on my machine more than 10 years ago, but was no longer there. It had left behind a whole bunch of registry crumbs, which I removed. I

[issue24868] Python start

2015-08-15 Thread jack
jack added the comment: If you zap all existing traces of Python and tcl it would affect users who need to run multiple versions. I would suggest completely encapsulating each version and all its dependencies, in order to avoid mutual interference. On 8/15/2015 2:55 PM, Steve Dower wrote

[issue36906] Compile time textwrap.dedent() equivalent for str or bytes literals

2021-12-20 Thread Jack Wong
Change by Jack Wong : -- nosy: +iforapsy ___ Python tracker <https://bugs.python.org/issue36906> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39298] add BLAKE3 to hashlib

2022-01-10 Thread Jack O'Connor
Jack O'Connor added the comment: Update: There is now a C version of the `blake3` Python module available at https://github.com/oconnor663/blake3-py/tree/master/c_impl. It's completely API-compatible with the Rust version, and it passes the same test suite. Multithreading

[issue39298] add BLAKE3 to hashlib

2022-01-11 Thread Jack O'Connor
Jack O'Connor added the comment: Ah, good idea. I've published the new C implementation as: https://test.pypi.org/project/blake3-experimental-c/ You can install it with: pip install -i https://test.pypi.org/simple/ blake3-experimental-c Despite the package name change, the extens

[issue39298] add BLAKE3 to hashlib

2022-01-12 Thread Jack O'Connor
Jack O'Connor added the comment: I was about to say the only missing feature was docstrings, but then I realized I hadn't included releasing the GIL. I've added that and pushed an update just now. Fingers crossed there's nothing else I've missed. I think it's

[issue39298] add BLAKE3 to hashlib

2022-01-12 Thread Jack O'Connor
Jack O'Connor added the comment: > As a first pass I say we merge the reference C implementation. Do you mean portable-only C code, or portable + intrinsics? If the assembly files are out, I'd advocate for the latter. The intrinsics implementations are nearly as fast as the

[issue39298] add BLAKE3 to hashlib

2022-01-12 Thread Jack O'Connor
Jack O'Connor added the comment: Yeah by intrinsics I mean stuff like _mm256_add_epi32(). All of that stuff is in these vendored files: blake3_avx2.c blake3_avx512.c blake3_neon.c blake3_sse2.c blake3_sse41.c Also to Michał's question above, I'm not necessarily oppose

[issue46705] Memory optimization for set.issubset

2022-02-09 Thread Jack Nguyen
New submission from Jack Nguyen : I noticed that the set.issubset cpython implementation casts its iterable argument to a set. In some cases, casting the whole iterable to a set is unnecessary (see https://bugs.python.org/issue18032). Although the latter suggestion is to perform early

[issue46705] Memory optimization for set.issubset

2022-02-10 Thread Jack Nguyen
Jack Nguyen added the comment: As you say, which implementation performs better likely depends on the nature of the sets. I would suspect that using set.difference won't be substantially faster than using set.intersection in the best case, but it would be much slower if len(self) is

[issue46705] Memory optimization for set.issubset

2022-02-10 Thread Jack Nguyen
Change by Jack Nguyen : -- keywords: +patch pull_requests: +29432 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31267 ___ Python tracker <https://bugs.python.org/issu

[issue39298] add BLAKE3 to hashlib

2022-02-17 Thread Jack O'Connor
Jack O'Connor added the comment: What's the best way for me to help with the next steps of this? -- ___ Python tracker <https://bugs.python.o

[issue39298] add BLAKE3 to hashlib

2022-02-19 Thread Jack O'Connor
Jack O'Connor added the comment: Yes, everything in https://github.com/BLAKE3-team/BLAKE3 and https://github.com/oconnor663/blake3-py is public domain via CC0, and dual licensed under Apache for good measure. Hopefully that makes it easy to use it any

[issue39298] add BLAKE3 to hashlib

2022-03-04 Thread Jack O'Connor
Jack O'Connor added the comment: Thanks Larry! Was any of the experimental C extension code under https://github.com/oconnor663/blake3-py/tree/master/c_impl useful to you? I was wondering if it could be possible to copy blake3module.c from there verbatim. The setup.py build there als

[issue1523] xdrlib fails to detect overflow (struct bug?)

2007-11-29 Thread Jack Lloyd
New submission from Jack Lloyd: The XDR format requires integers to fit into 4 byte values. However (at least on x86-64) xdrlib will silently accept (and truncate) values larger than this (up to 2**64-1). Taking a (very brief) look at the xdrlib code, it appears this is actually a problem in the

[issue12272] Python 2.7.1 version conflict for package "Tcl" on Windows 7

2011-06-06 Thread Jack Eisenbach
New submission from Jack Eisenbach : I wrote a Tkinter application that runs fine with Python 2.6.5 and 2.6.6 on a Windows 7 (32-bit version) machine. The same app fails with 2.7.1. Below is the debug output: c:\ISS\ledmatrix>led-display.py Traceback (most recent call last): F

[issue7761] telnetlib Telnet.interact fails on Windows but not Linux

2010-10-24 Thread Jack Diederich
Jack Diederich added the comment: Thanks David, do you want to apply? Looks good to me. -- ___ Python tracker <http://bugs.python.org/issue7761> ___ ___ Pytho

[issue10176] telnetlib.Telnet.read_very_eager() performance

2010-10-25 Thread Jack Diederich
Jack Diederich added the comment: There was no test suite for telnetlib prior to 2.7/3.1 so it is easily possible that this is a regression. If you can post a test case that fails or - even better - a patch that passes where the current code fails I'd be very appreciative. --

[issue10245] Fix resource warnings in test_telnetlib

2010-10-30 Thread Jack Diederich
Changes by Jack Diederich : -- assignee: -> jackdied nosy: +jackdied versions: +Python 3.2 -Python 3.3 ___ Python tracker <http://bugs.python.org/issu

[issue11656] Debug builds for Windows would be very helpful

2011-03-23 Thread Jack Jansen
New submission from Jack Jansen : Because VC++ cannot cross-link modules that have been built with debugging to those built without debugging (because of runtime system differences) it would be a boon for people embedding Python if there was a binary distribution of the DLL (and .lib

[issue11656] Debug builds for Windows would be very helpful

2011-03-23 Thread Jack Jansen
Jack Jansen added the comment: Sorry, I think I wasn't clear in my original message. I don't want to debug Python, I want to debug only my own code. But because it embeds Python I cannot debug my own code, because it needs to link to Python. Indeed, if it was only Python itself I

[issue11656] Debug builds for Windows would be very helpful

2011-03-24 Thread Jack Jansen
Jack Jansen added the comment: Martin, I agree about the Py_DEBUG issue. My reason for asking is really only a workaround for the VC++ problam that you can't link non-debug and debug builds together. You know what: if you think it isn't worth it just assign it to me and I'll

[issue11656] Debug builds for Windows would be very helpful

2011-03-24 Thread Jack Jansen
Jack Jansen added the comment: Martin, what I meant by "linking debug and non-debug builds together is impossible" is "you cannot link modules together if they code generation has been set to different runtime systems, for example one module using the debug runtime system an

[issue11812] transient test_telnetlib failure

2011-04-09 Thread Jack Diederich
Changes by Jack Diederich : -- nosy: +jackdied ___ Python tracker <http://bugs.python.org/issue11812> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2011-04-14 Thread Jack Andrews
Jack Andrews added the comment: hi guys, this makes Cmd a bit more useful. my use case is talking to pdb via pipe (ie. subprocess module). pdb doesn't behave very well if stdin is not a tty. === --- cmdpy.orig/cmd.py

[issue2571] can cmd.py's API/docs for the use of an alternate stdin be improved?

2011-04-14 Thread Jack Andrews
Jack Andrews added the comment: > Terry J. Reedy added the comment: > > Jack, several questions. > Are you saying that when stdin is a pipe and not a tty, pdb works better with > use_rawinput set False? yes. well, at least i thought so. today, pdb works fine with no patc

[issue2366] Fixer for new metaclass syntax is needed

2008-07-31 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: Thanks for the ping. I just rewrote the patch from scratch and it handles corner cases (of which there are many in the parse tree) better. I'll upload/checkin sometime today. ___ Python trac

[issue2366] Fixer for new metaclass syntax is needed

2008-07-31 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: The new patch works and handles all the corner cases I could think of. I tried to comment the heck out of it because it does a lot of manual walking and manipulation of the syntax tree. This only handles __metaclass__ inside class

[issue2260] conditional jump to a POP_TOP optimization

2008-07-31 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: +0 * The peepholer comment promises "Optimizations are restricted to simple transformations occuring within a single basic block." and this goes beyond that. You could patch that comment. * This needs a matching p

[issue2676] email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input

2008-07-31 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: Augmented version of Daniel's patch. This makes an internal function that does the same work. It uses txt.find() instead of split() or partition() because for pathologically long strings find() is noticeably faster. It also doe

[issue2688] Error when nesting many while loops

2008-08-01 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: This was fixed in more recent versions of 2.5, it now raises a "SystemError: too many statically nested blocks" Thanks for the tip Guilherme. Marking closed. -- nosy: +jackdied resolution: -> out of date sta

[issue2935] rfc822.py line 395 strings connection

2008-08-01 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: This is a bug in the external ClientCookie module (and their website hasn't been updated since 2006). Marking closed. -- nosy: +jackdied resolution: -> invalid status: open -> closed _

[issue3228] mailbox.mbox creates files with execute bit set

2008-08-01 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: mailbox.py uses os.open instead of the builtin open() because it wants to pass the exclusive flag (O_EXCL). As a result your 0077 umask gets combined with the default of 0777 like this: 0777 & ~0077 == 0700 == '-rwx--&#x

[issue2951] ElementTree parsing bus error (but only from mod_python)

2008-08-01 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: It is a common apache problem. Elementree imports an expat parser (presumably cElementree doesn't) and different versions of expat play together very poorly. Lots of apache modules load one xml lib version or another and they t

[issue2676] email/message.py [Message.get_content_type]: Trivial regex hangs on pathological input

2008-08-15 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: Antoine, I looked at your patch and I'm not sure why you applied it instead of applying mine (or saying +1 on me applying my patch). Yours uses str.partition which I pointed out is sub-optimal (same big-Oh but with a larger cons

[issue2366] Fixer for new metaclass syntax is needed

2008-08-21 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: Benjamin, the 2to3 parse tree straddles the 2.x Grammar and 3.x Grammar (it's its own thing) which is why fixup_parse_tree is there. From the docstring: one-line classes don't get a suite in the parse tree so we add one

[issue4331] Can't use _functools.partial() created function as method

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: I'm having some trouble wrapping my head around this one. It isn't obvious to me that my_method(*args): print(args) class A(): meth = partial(my_method, 'argA') ob = A() ob.meth('argB') should print (, 'argA',

[issue7850] platform.system() should be "macosx" instead of "Darwin" on OSX

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: -1, my Ubuntu laptop says "linux2" and not "ubuntu." This would also be an incompatible change that would cause headaches with little benefit to balance it out. -- nosy: +jackdied ___ P

[issue7646] test_telnetlib fails in Windows XP

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: I was mistaken, the tests were backported to 3.1.x maint (In fact I was the one who did it). So this is fixed in the next point release of 3.1.x. -- resolution: -> out of date status: open -> closed ___

[issue7463] PyDateTime_IMPORT() causes compiler warnings

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: changing the definition to (const char *) seems like the right thing to do - a quick grep of the Python source and a search on google codesearch only shows uses with either string literals or string literals cast to (char *) in order to silence a warning. I

[issue7366] weakref module example relies on behaviour not guaranteed by id()

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: This is true but /any/ key in the WeakValueDictionary could be reused and result in similar behavior, not just the id() of the inserted value. I'm closing at "won't fix" -- nosy: +jackdied resolution: -> wont fix

[issue7196] Clarify str.split() behavior

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: I suggest this be closed WONTFIX. The str.split() documentation accurately describes str.split() but doesn't happen to do what the OP wanted which was list(filter(None, '00010001'.split('0'))) Instead split(sep) is the reciprocal o

[issue6886] cgi.py runs python, not python3

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: +0 I'm ambivalent. The script uses a reasonable default and pyhton3 is a reasonable default for the 3k branch. That said most people will have to edit the file anyway to use it: I had to chmod a+x the file and change the bang path to /usr/bin/python t

[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2010-02-22 Thread Jack Diederich
Jack Diederich added the comment: Here is a profile run of the 200 line case, run on the 3.x trunk, and with all the trivial functions removed. quick_ratio and __contains__ dominate the time. The process was CPU bound, memory usage stayed low. 17083154 function calls (17066360 primitive

[issue6825] Minor documentation bug with os.path.split

2010-02-23 Thread Jack Diederich
Jack Diederich added the comment: how about "an equivalent path" instead of "equal path"? The result of ntpath.join(ntpath.split(path)) should point to the same location even if it isn't literally the same string. -- nosy: +jackdied _

[issue6518] Enable 'with' statement in ossaudiodev module

2010-02-23 Thread Jack Diederich
Jack Diederich added the comment: +1, the C patch looks good to me. The test file needs a new test that checks the 'with' behavior. Also, what changed so that the test now needs to ignore AttributeErrors in play_sound_file()? -- nosy:

[issue4331] Can't use _functools.partial() created function as method

2010-02-23 Thread Jack Diederich
Jack Diederich added the comment: We talked about it at sprints and the semantics are ambiguous and there are alternatives. Ambiguous: def show_funcs(*args): print(args) class A(): run = partial(1) ob = A() ob.run(2,3) Should this print (self, 1, 2, 3) or (1, self, 2, 3)? And

[issue4331] Can't use _functools.partial() created function as method

2010-02-23 Thread Jack Diederich
Jack Diederich added the comment: correction: run = partial(1) should have been run = partial(show_funcs, 1) -- ___ Python tracker <http://bugs.python.org/issue4

[issue6560] socket sendmsg(), recvmsg() methods

2010-02-23 Thread Jack Diederich
Jack Diederich added the comment: I've been digging into the patch. Is there a reason sendmsg() wants an iterable of buffers instead of just accepting a str? The list-of-buffers more closely matches the underlying syscall but I'm not sure what the python benefit is, especially wh

[issue6560] socket sendmsg(), recvmsg() methods

2010-02-23 Thread Jack Diederich
Jack Diederich added the comment: Additional data point: the perl version takes a single scalar (instead of a list of scalars) for use with sendmsg() http://search.cpan.org/~MJP/Socket-MsgHdr-0.01/MsgHdr.pm -- ___ Python tracker <h

[issue6560] socket sendmsg(), recvmsg() methods

2010-02-23 Thread Jack Diederich
Jack Diederich added the comment: one of the other sprinters just pointed out that Modules/_multiprocessing.c (py3k branch) uses sendmsg/recvmsg internally to pass file descriptors back and forth. The code is very short and readable

[issue6091] Curses segfaulting in FreeBSD/amd64

2010-04-27 Thread Jack Miller
Jack Miller added the comment: The rest of my codebase is currently only 2.x compatible, but I saw identical symptoms about a month ago on Fedora/Mandriva when their 2.x packages were linked against non-widechar libraries so I imagine that is indeed the solution. I'll close the bug w

[issue8708] OpenID blunder

2010-05-13 Thread Jack Diederich
New submission from Jack Diederich : I tried logging into the tracker using my gmail login and accidentally created a new user. Could someone either wipe out the OpenID for jackd...@gmail.com (but NOT the "jackdied" login with email addy of jackd...@gmail.com) or combine the two? In

[issue8707] Duplicated document in telnetlib.

2010-05-13 Thread Jack Diederich
Changes by Jack Diederich : -- assignee: d...@python -> jackdied nosy: +jackdied ___ Python tracker <http://bugs.python.org/issue8707> ___ ___ Python-bugs-lis

[issue8708] OpenID blunder

2010-05-13 Thread Jack Diederich
Jack Diederich added the comment: Woops, didn't know that email would create a new bug. -- nosy: +jackdied ___ Python tracker <http://bugs.python.org/i

[issue1636] Execfile unable to take arguments beyond 255!

2007-12-15 Thread Jack Atkinson
New submission from Jack Atkinson: I found this problem while using PySNMP and trying to load a custom MIB converted to python code. Inside the PySNMP, it uses execfile() to load the python MIBs, and I assume so it won't be put into a separate namespace. On one particular MIB, which I c

[issue1636] Execfile unable to take arguments beyond 255!

2007-12-16 Thread Jack Atkinson
Jack Atkinson added the comment: Error message from ipython console: In [28]: mibBuilder2 = builder.MibBuilder().loadModules('ADTRAN-TC') --- Traceback (most recent call last) C:\Documents and Settings\Jac

[issue2328] Class **kwds broken (PEP 3115)

2008-03-17 Thread Jack Diederich
New submission from Jack Diederich <[EMAIL PROTECTED]>: typeobject.c:type_new only allows 0 or 1 keyword arg in class creation instead of an arbitrary number as per PEP3115. I'm working on a patch. -- assignee: jackdied components: Interpreter Core messages: 63681 nos

[issue2328] Class **kwds broken (PEP 3115)

2008-03-17 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: Not a bug. If you pass arbitrary keywords in class construction you have to define __new__ and __init__ on the metaclass to handle them. -- resolution: -> invalid status: open -> closed __

[issue2366] Fixer for new metaclass syntax is needed

2008-03-17 Thread Jack Diederich
Changes by Jack Diederich <[EMAIL PROTECTED]>: -- nosy: +jackdied __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2366> __ ___ Python-bugs

[issue2346] Py3K warn against using __members__

2008-03-19 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: This patch raises a py3k warning from inside the dir() machinery so it will only warn when dir() is called on an object with an old style __members__ or __methods__ attribute. It does not warn if there is an old style __members__ att

[issue2357] sys.exc_{type, values, traceback} should raise a Py3K warning

2008-03-19 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: Fixer patch works for me (both must be applied). A 3k warning for accessing is harder - it would have to copy the module type or dict type and supply a custom to_getattro that watches for accesses to exc_(type|values|traceback). I&#

[issue2366] Fixer for new metaclass syntax is needed

2008-03-19 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: Here is a partial implementation. It doesn't warn about __metaclass__ at the module level and doesn't handle multiple __metaclass__ assignements in one class. tests pending. -- keywords: +patch Added file: http:/

[issue2366] Fixer for new metaclass syntax is needed

2008-03-20 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: New patch that does more. Collin, could you take a look at the fixer? I listed some stumbling blocks at the top (and at least one bug in 2to3). The fixer seems to work fine on actual files but the unit tests that use strings do n

[issue2357] sys.exc_{type, values, traceback} should raise a Py3K warning

2008-03-25 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: +1, I'll burn my _apply_evil(ModuleObject *) function patch to moduleobject.c which did a memcpy on a type object and several other heresies. On Tue, Mar 25, 2008 at 4:27 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: > >

[issue39298] add BLAKE3 to hashlib

2022-03-22 Thread Jack O'Connor
Jack O'Connor added the comment: > maintaining a complicated build process in-tree For what it's worth, if you have any sort of "in a perfect world" vision for what the upstream BLAKE3 project could do to make it trivially easy for you to integrate, I'd be ver

[issue39298] add BLAKE3 to hashlib

2022-03-24 Thread Jack O'Connor
Jack O'Connor added the comment: > Hardware accelerated SHAs are likely faster than blake3 single core. Surprisingly, they're not. Here's a quick measurement on my recent ThinkPad laptop (64 KiB of input, single-threaded, TurboBoost left on), which supports both A

[issue39298] add BLAKE3 to hashlib

2022-03-24 Thread Jack O'Connor
Jack O'Connor added the comment: > Truncated sha512 (sha512-256) typically performs 40% faster than sha256 on > X86_64. Without hardware acceleration, yes. But because SHA-NI includes only SHA-1 and SHA-256, and not SHA-512, it's no longer a level playing field. OpenSSL&#x

[issue39298] add BLAKE3 to hashlib

2022-03-24 Thread Jack O'Connor
Jack O'Connor added the comment: I did reply to that point above with some baseless speculation, but now I can back up my baseless speculation with unscientific data :) https://gist.github.com/oconnor663/aed7016c9dbe5507510fc50faceaaa07 According to whatever `powerstat -R` measures

[issue32658] Metacharacter (\) documentation suggestion

2022-04-01 Thread Jack DeVries
Jack DeVries added the comment: Did you run ``make venv`` to setup your virtual environment? Sphynx themes are usually pip dependencies, so if you're getting a "missing theme" error, it sounds like your virtual environment is not setup right. --

[issue38668] Update os.path documentation regarding recommended types

2022-04-01 Thread Jack DeVries
Change by Jack DeVries : -- keywords: +patch nosy: +jack__d nosy_count: 2.0 -> 3.0 pull_requests: +30304 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32232 ___ Python tracker <https://bugs.python.org/i

[issue38411] SQLITE_MISUSE race condition in sqlite3 is misleadingly raised as a binding error

2019-10-08 Thread Jack Robison
New submission from Jack Robison : There is a race condition in the sqlite3 module that is misleadingly raised as sqlite3.InterfaceError('Error binding parameter 0 - probably unsupported type.') There are two issues here, one is the incorrectly raise error (https://bugs.python.org/

[issue38411] SQLITE_MISUSE race condition in sqlite3 is misleadingly raised as a binding error

2019-10-08 Thread Jack Robison
Change by Jack Robison : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue38411> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue11588] Add "necessarily inclusive" groups to argparse

2019-11-06 Thread Jack Wong
Change by Jack Wong : -- nosy: +iforapsy ___ Python tracker <https://bugs.python.org/issue11588> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39298] add BLAKE3 to hashlib

2021-04-18 Thread Jack O'Connor
Jack O'Connor added the comment: An update a year later: I have a proof-of-concept branch that adds BLAKE3 support to hashlib: https://github.com/oconnor663/cpython/tree/blake3. That branch is API compatible with the current master branch of https://github.com/oconnor663/blake3-py.

[issue39298] add BLAKE3 to hashlib

2021-04-19 Thread Jack O'Connor
Jack O'Connor added the comment: Hey Christian, yes these are new bindings, and also incomplete. See comments in https://github.com/oconnor663/cpython/commit/dc6f6163ad9754c9ad53e9e3f3613ca3891a77ba, but in short only x86-64 Unix is in working order. If 3.10 doesn't seem real

[issue44347] Unclear documentation for shutil.copytree()

2021-06-09 Thread Jack DeVries
Jack DeVries added the comment: I would like to submit a patch for this. This would be my first contribution :) I am starting on a patch now. -- nosy: +jack__d ___ Python tracker <https://bugs.python.org/issue44

[issue44347] Unclear documentation for shutil.copytree()

2021-06-09 Thread Jack DeVries
Change by Jack DeVries : -- keywords: +patch pull_requests: +25220 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26634 ___ Python tracker <https://bugs.python.org/issu

[issue44347] Unclear documentation for shutil.copytree()

2021-06-09 Thread Jack DeVries
Jack DeVries added the comment: I've created a PR: https://github.com/python/cpython/pull/26634 I forgot to put a news entry, but hopefully that's ok since this is a very small change. -- ___ Python tracker <https://bugs.python.o

[issue44362] improve documentation of SSL deprecations

2021-06-09 Thread Jack DeVries
Jack DeVries added the comment: These changes are part of PEP 644; support for OpenSSL v1.1.1. The benefits are detailed in `the PEP <https://www.python.org/dev/peps/pep-0644/#benefits>`_. Later, the deprecation process began in `bpo-43880 <https://bugs.python.org/issue43880>

[issue44347] Unclear documentation for shutil.copytree()

2021-06-10 Thread Jack DeVries
Change by Jack DeVries : -- pull_requests: +25229 pull_request: https://github.com/python/cpython/pull/26643 ___ Python tracker <https://bugs.python.org/issue44

[issue44362] improve documentation of SSL deprecations

2021-06-10 Thread Jack DeVries
Jack DeVries added the comment: Would you like me to submit a PR for this simple patch? https://github.com/jdevries3133/cpython/commit/42d9bd7f97f03b49d4fc89780616704998492ac1 -- ___ Python tracker <https://bugs.python.org/issue44

[issue44387] Not obvious that locale.LC_MESSAGES may not exist sometimes (e.g. on Windows)

2021-06-10 Thread Jack DeVries
Jack DeVries added the comment: Could it be that _locale throws an ImportError whenever LC_MESSAGES doesn't exist? Then, there are fall-backs defined here: https://github.com/python/cpython/blob/62f1d2b3d7dda99598d053e10b785c463fdcf591/Lib/locale.py#L45-L85 -- nosy: +ja

[issue44387] Not obvious that locale.LC_MESSAGES may not exist sometimes (e.g. on Windows)

2021-06-10 Thread Jack DeVries
Jack DeVries added the comment: Follow-up: nope! My hypothesis was incorrect. This is all that _localemodule.c has to say about LC_MESSAGES: #ifdef LC_MESSAGES ADD_INT(module, LC_MESSAGES); #endif /* LC_MESSAGES */ -- ___ Python tracker

[issue44382] Python 3.9+ on Windows 8.0

2021-06-10 Thread Jack DeVries
Jack DeVries added the comment: https://buildbot.python.org/all/#/waterfall?tags=win64 Buildbot is only running against 8.1, not 8.0. I'm guessing that means that the docs are correct and python.org main page is wrong. I'd open an issue over there: https://github.com/python/py

[issue44386] importlib and math.pi interact strangely

2021-06-10 Thread Jack DeVries
Jack DeVries added the comment: That is because pi, along with other constants in the math module are defined during module execution, not module creation: https://github.com/python/cpython/blob/62f1d2b3d7dda99598d053e10b785c463fdcf591/Modules/cmathmodule.c#L1257-L1262 Taking the example

[issue38323] asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)

2021-06-11 Thread Jack DeVries
Change by Jack DeVries : -- nosy: +jack__d nosy_count: 10.0 -> 11.0 pull_requests: +25270 pull_request: https://github.com/python/cpython/pull/26643 ___ Python tracker <https://bugs.python.org/issu

[issue37880] For argparse add_argument with action='store_const', const should default to None.

2021-06-12 Thread Jack DeVries
Jack DeVries added the comment: Hi Joannah, I'm a new contributor and happy to take a crack at this if you haven't already started on a fix / would like me to do that. Thanks! -- nosy: +jack__d ___ Python tracker <https://bu

  1   2   3   4   5   >