Jack added the comment:
confirmed in 3.7.3
--
nosy: +Jacktose
___
Python tracker
<https://bugs.python.org/issue35990>
___
___
Python-bugs-list mailing list
Unsub
Change by Jack :
--
nosy: +Jacktose
___
Python tracker
<https://bugs.python.org/issue27860>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
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
Jack added the comment:
Python not working..
--
nosy: +Jack01
___
Python tracker
<https://bugs.python.org/issue26226>
___
___
Python-bugs-list mailing list
Unsub
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
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
Changes by Jack :
--
status: closed -> open
___
Python tracker
<http://bugs.python.org/issue29771>
___
___
Python-bugs-list mailing list
Unsubscrib
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
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
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
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.
-
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
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
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
Change by Jack Wong :
--
nosy: +iforapsy
___
Python tracker
<https://bugs.python.org/issue36906>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
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
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
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
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
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
Jack Diederich added the comment:
Thanks David, do you want to apply? Looks good to me.
--
___
Python tracker
<http://bugs.python.org/issue7761>
___
___
Pytho
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.
--
Changes by Jack Diederich :
--
assignee: -> jackdied
nosy: +jackdied
versions: +Python 3.2 -Python 3.3
___
Python tracker
<http://bugs.python.org/issu
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
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
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
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
Changes by Jack Diederich :
--
nosy: +jackdied
___
Python tracker
<http://bugs.python.org/issue11812>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
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
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
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
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
_
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--
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
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
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
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',
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
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
___
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
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
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
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
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
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
_
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:
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
Jack Diederich added the comment:
correction:
run = partial(1)
should have been
run = partial(show_funcs, 1)
--
___
Python tracker
<http://bugs.python.org/issue4
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
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
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
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
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
Changes by Jack Diederich :
--
assignee: d...@python -> jackdied
nosy: +jackdied
___
Python tracker
<http://bugs.python.org/issue8707>
___
___
Python-bugs-lis
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
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
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
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
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
__
Changes by Jack Diederich <[EMAIL PROTECTED]>:
--
nosy: +jackdied
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2366>
__
___
Python-bugs
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
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
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:/
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
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:
>
>
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
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
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
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
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.
--
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
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/
Change by Jack Robison :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue38411>
___
___
Python-bugs-list mailing list
Unsubscrib
Change by Jack Wong :
--
nosy: +iforapsy
___
Python tracker
<https://bugs.python.org/issue11588>
___
___
Python-bugs-list mailing list
Unsubscribe:
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.
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
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
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
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
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>
Change by Jack DeVries :
--
pull_requests: +25229
pull_request: https://github.com/python/cpython/pull/26643
___
Python tracker
<https://bugs.python.org/issue44
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
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
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
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
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
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
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 - 100 of 410 matches
Mail list logo