Mike Place added the comment:
+1 to getting this patch in. The fact that this raises a ValueError and not an
ImportError is really annoying and we definitely see it as a bug.
--
nosy: +Mike Place
___
Python tracker
<http://bugs.python.
New submission from mike peremsky:
I am going throught he Gray Hat Python book and installed Python 3.7 (32-bit)
on a windows x64 machine. The following code will only print the first
character of the passed string argument. The same code run on Python 2.7 will
print the correct string value
mike peremsky added the comment:
I appreciate the feedback, but as I had originally mentioned. I am following
the "Gray Hat Python - Python Programming for Hackers and Reverse Engineers"
book and was attempting to use Python 3 instead of Python 2 (as was used in the
book). The cd
New submission from Mike Lissner:
I just ran into a funny corner case I imagine others are aware of. When you
write "\b" in Python, it is a single character: "\x08". So if you try to write
a regex like:
words = '\b(.*)\b'
That won't work. But using a raw st
New submission from Mike Gilbert:
When compiling python-3.6.0 with -march=bdver2, the blake2 module fails to
build.
In file included from
/var/tmp/portage/dev-lang/python-3.6.0/work/Python-3.6.0/Modules/_blake2/impl/blake2s-round.h:70:0,
from
/var/tmp/portage/dev-lang/python
Mike Gilbert added the comment:
Downstream bug report: https://bugs.gentoo.org/show_bug.cgi?id=608586
--
___
Python tracker
<http://bugs.python.org/issue29
Mike Hoy added the comment:
Considering that the docs have changed does this issue still need to be open?
--
___
Python tracker
<http://bugs.python.org/issue12
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue17387>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Mike Hoy added the comment:
Looking through Include/object.h I see that sq_slice is now:
void *was_sq_slice. Can anyone provide any clarification as to where I can find
info about sq_slice?
--
___
Python tracker
<http://bugs.python.org/issue17
Mike Hoy added the comment:
I was looking at 3.4 files. You're right it is in 2.7. Guess you have all the
info you need to make a patch for it then?
ssizessizeargfunc PySequenceMethods.sq_slice
It passes the lower and upper bound and expects back a subsequence.
Or is there more to it
Changes by mike bayer :
--
nosy: +zzzeek
___
Python tracker
<http://bugs.python.org/issue10740>
___
___
Python-bugs-list mailing list
Unsubscribe:
Mike Milkin added the comment:
This patch adds better exception messages.
If any label other then the last is empty or is too long the request is added
to the exception message.
If the last label is over 64, the label is added to the exception message
--
keywords: +patch
nosy
Mike Milkin added the comment:
I like option #2, and I was thinking of working on it today, poke me if anyone
has a problem with this.
--
nosy: +mmilkin
___
Python tracker
<http://bugs.python.org/issue11
Mike Milkin added the comment:
There is no sane way to issue a warning without changing the signature and we
don't want to change the signature without issuing a deprecation warning for
the function, so sadly option 3 is the only way for this to work, (Im going to
not touch this till
Mike Milkin added the comment:
We could do that but we would be changing the signature before adding the
warning
--
___
Python tracker
<http://bugs.python.org/issue11
Mike Milkin added the comment:
Made changes to to the tests and made changes to the error messages.
I think decode() is valid since the input is already ascii encoded.
--
Added file: http://bugs.python.org/file29834/Issue9682-full.patch
___
Python
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue17668>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Mike Milkin added the comment:
I did not mean to take the decode out of the previos patch. Sorry for the spam.
--
Added file: http://bugs.python.org/file29850/Issue9682-full.patch
___
Python tracker
<http://bugs.python.org/issue9
Changes by Mike Milkin :
Removed file: http://bugs.python.org/file29834/Issue9682-full.patch
___
Python tracker
<http://bugs.python.org/issue9682>
___
___
Python-bug
Mike Milkin added the comment:
Looks like plistlib.writePlistToString is no loger in the plistlib.
--
nosy: +mmilkin
___
Python tracker
<http://bugs.python.org/issue17
Mike Milkin added the comment:
Yep you are correct.
>>>
plistlib.readPlistFromBytes(plistlib.writePlistToBytes({'test':
plistlib.Data(b'aa')}))
{'test': Data(b'aa')}
>>> plistlib.rea
Mike Milkin added the comment:
Adding tests.
--
Added file: http://bugs.python.org/file29894/issue-17357-tests.txt
___
Python tracker
<http://bugs.python.org/issue17
New submission from Mike Lundy:
The changed merged from http://bugs.python.org/issue16168 causes a regression
in SysLogHandler behavior. The socktype of /dev/log is dependent on syslog
configuration, and the fallback behavior (trying SOCK_DGRAM and then
SOCK_STREAM if the former failed) was
Mike Lundy added the comment:
It doesn't fix it unless I change the configuration (and in some cases the
code) for every SyslogHandler across all of our projects, plus every single
library we use. Google around For "SysLogHandler /dev/log socktype" and then
compare with &quo
Mike Lundy added the comment:
On top of your patch? Yeah, I think so. (I wrote it the way I did so it could
handle syslog configuration changes, but that's kind of an uncommon case).
Thanks!
--
___
Python tracker
<http://bugs.python.org/is
Mike Milkin added the comment:
Sure ill modify the patch, thanks for the feedback.
--
___
Python tracker
<http://bugs.python.org/issue9682>
___
___
Python-bug
Mike Lundy added the comment:
I've tested in our full dev setup, and it seems to work fine; I've also tested
on my laptop, no problems there either.
Unfortunately, that's python 2.7.4 in both cases. I don't really have a python3
setup I
Mike Milkin added the comment:
There are a few of interesting parts.
1.) I noticed that the ToASCII class is not tested.
2.) I had some unreachable branches due to concatenation of constant variable
ace_prefix.
3) I also found it weird that we only check the max of labels[-1], but decided
Changes by Mike Milkin :
Removed file: http://bugs.python.org/file29850/Issue9682-full.patch
___
Python tracker
<http://bugs.python.org/issue9682>
___
___
Python-bug
Changes by Mike Milkin :
Removed file: http://bugs.python.org/file29984/Issue9682.patch
___
Python tracker
<http://bugs.python.org/issue9682>
___
___
Python-bugs-list m
Changes by Mike Milkin :
Added file: http://bugs.python.org/file29985/Issue9682-42213.patch
___
Python tracker
<http://bugs.python.org/issue9682>
___
___
Python-bug
Mike Milkin added the comment:
Dave, let me know what you think of the tests, ill fix the rest of your
comments.
--
___
Python tracker
<http://bugs.python.org/issue9
Mike Milkin added the comment:
Moved the conditional logic out of the method. There are no tests for ToASCII
function and I was not comfortable making changes to it without adding tests.
--
Added file: http://bugs.python.org/file30139/Issue9682-5513.patch
Changes by mike bayer :
--
nosy: +zzzeek
___
Python tracker
<http://bugs.python.org/issue14847>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Mike Short :
--
nosy: +Mike.Short
___
Python tracker
<http://bugs.python.org/issue21759>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Mike Short :
--
nosy: +Mike.Short
___
Python tracker
<http://bugs.python.org/issue22317>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Mike Short :
Added file: http://bugs.python.org/file37116/argparse27.patch
___
Python tracker
<http://bugs.python.org/issue22317>
___
___
Python-bugs-list m
Mike Short added the comment:
I am uploading patches for both 2.7 as well as latest (3.x). I only added the
action verbiage itself in, but would it be beneficial to also add in links to
more detailed descriptions similar to what is done in
ArgumentParser.add_argument earlier in the argparse
New submission from Mike Drob:
Being able to use a pool to easily run 'map' over an iterable is very powerful,
but it would also be nice to run 'filter' (or potentially 'ifilter' or
'filter_async', in keeping with the patterns already present).
-
Changes by mike bayer :
--
nosy: +zzzeek
___
Python tracker
<http://bugs.python.org/issue22956>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Mike Gilbert :
--
nosy: +floppymaster
___
Python tracker
<http://bugs.python.org/issue22758>
___
___
Python-bugs-list mailing list
Unsubscribe:
mike bayer added the comment:
prepared statements are, in proportion to the typical speed issues in Python
(see my comparison benchmark at
https://mail.python.org/pipermail/db-sig/2014-December/006147.html) a fairly
small optimization that the DBAPI already allows for in an implicit sense
Mike Basca added the comment:
Hi,
I'm the original poster in the stack-exchange link. Based on your responses,
It seems Ttk is the way to go if you're on Mac OSX 64-bit.
Thanks for your time and input.
Really appreciate it!
--
nos
New submission from Mike Sampson:
I'm seeing differing behaviour with subprocess.Popen(..., close_fds = False)
between 3.2 and 3.4. The docs don't say this is meant to be the case as far as
I can see.
Python 3.2.3 on Debian Wheezy
=
>>>
Mike Sampson added the comment:
Ah, got it. Didn't see the note on the os.pipe() docs. Thanks. Closing. Sorry
for the noise.
--
___
Python tracker
<http://bugs.python.org/is
Changes by Mike Sampson :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue23288>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Mike Basca:
Hello,
I recently upgraded pip and pip3 and now I can't start python3.
This is the Traceback I receive when I started python 3.4.3 (python2.7.10 is
fine).
localhost:PP4E Mike$ python3
Failed to import the site module
Traceback (most recent call last):
New submission from Mike Miller:
The new Windows installer displays itself with an HTML (or perhaps skinned)
interface with hard-coded white background which does not adhere to the desktop
GUI color scheme chosen by the user.
Many times this is only an aesthetic problem, but it may cause the
Changes by Mike Frysinger :
--
nosy: +vapier
___
Python tracker
<http://bugs.python.org/issue24303>
___
___
Python-bugs-list mailing list
Unsubscribe:
Mike Miller added the comment:
Thanks.
--
___
Python tracker
<http://bugs.python.org/issue24293>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Mike Gilbert :
--
nosy: +floppymaster
___
Python tracker
<http://bugs.python.org/issue24303>
___
___
Python-bugs-list mailing list
Unsubscribe:
Mike Frysinger added the comment:
we hit this problem daily in Chromium OS's build farm because we use pid
namespaces heavily
--
___
Python tracker
<http://bugs.python.org/is
Mike Frysinger added the comment:
the original report on our side w/bunches of tracebacks: http://crbug.com/481223
with that traceback in hand, it's pretty trivial to write a reproduction :).
attached!
i couldn't figure out how to make it work w/out completely execing a new python
Mike Frysinger added the comment:
also, it looks like this bug is in python-3.3. not sure what the status of
that branch is, but maybe the backport from 3.4 would be easy ?
--
___
Python tracker
<http://bugs.python.org/issue24
New submission from Mike Lundy:
There's a slightly odd edge case which can be summarized as follows:
from enum import Enum
class Bool(Enum):
Yep = True
Nope = False
for value in Bool:
print('%18r is %r' % (value, bool(value)))
=
Mike Lundy added the comment:
@r.david.murray man you're fast :) Sorry, realized I forgot to actually run the
tests for 3.5 and 3.4, I'd only run them for master (I've now run them for 3.5
and 3.4 now, too).
--
keywords: +patch
Added file: http://bugs.python.org/file4
Mike Lundy added the comment:
(I should note that I just recently signed the contributor agreement, not that
this a particularly complex fix, but it hasn't propagated to my profile yet).
--
___
Python tracker
<http://bugs.python.org/is
Mike Lundy added the comment:
@serhiy.storchaka: It's somewhat of a special case, to be sure. However, I do
think it's justified to put it into the base (rather than a user type) for
three reasons:
1) It makes IntEnum and Enum consistent. IntEnum actually already handles this
case
Changes by Mike Frysinger :
--
nosy: +vapier
___
Python tracker
<http://bugs.python.org/issue24935>
___
___
Python-bugs-list mailing list
Unsubscribe:
Mike Frysinger added the comment:
looks like the patch was reversed, but otherwise should be clear what we're
going for
--
___
Python tracker
<http://bugs.python.org/is
Mike Frysinger added the comment:
time to close then ?
--
nosy: +vapier
___
Python tracker
<http://bugs.python.org/issue19372>
___
___
Python-bugs-list mailin
Mike Frysinger added the comment:
if the current builds fail, please make sure to include the config.log file as
that includes a cross-compile test for this setting
--
nosy: +vapier
___
Python tracker
<http://bugs.python.org/issue18
New submission from Mike Frysinger:
the ac_cv_have_long_long_format test has a nice compile-time fallback for gcc
based compilers:
CFLAGS="$CFLAGS -Werror -Wformat"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include
#include
]], [[
char *buffer;
Changes by Mike Gilbert :
--
nosy: +floppymaster
___
Python tracker
<http://bugs.python.org/issue24421>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Mike Pomraning:
Python 3.3 introduces timeout support in subprocess.call, implemented by
sending a SIGKILL if the Popen.wait is interrupted by a TimeoutExpired
exception.
However, the "except" clause is too broad, and will, for instance, trigger on a
Keyboar
New submission from Mike Ryan:
The AF_BLUETOOTH socket type lacks support for specifying CID and address type
in sockaddr_l2. These structure members have been present since 2009 and 2012
respectively:
https://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=3de95535
https://git.kernel.org
Mike Ryan added the comment:
AF_BLUETOOTH also lacks support for hci_channel in sockaddr_hci for BTPROTO_HCI
sockets:
https://git.kernel.org/cgit/bluetooth/bluez.git/tree/lib/hci.h?h=5.37#n2340
This feature has been present in BlueZ since 2010:
https://git.kernel.org/cgit/bluetooth/bluez.git
Mike Pomraning added the comment:
If I understand correctly, the _try_wait mechanics (or 3.5's syscall behavior)
already handle EINTR the way we way: ignore it and try wait()ing again.
So, this patch would kill only on a timeout, and never on another error like
Ctrl
Mike Romberg added the comment:
I have expanded on the issue17633-2 patch to fix an issue with the enumerated
value returned by find_loader(). The patch (issue17633-3.diff) is against
3.5.1.
I have also added more test cases that cover spreading a namespace package
across two zip files
Mike Romberg added the comment:
Yes. I can do this. I've not used hg before. But I bet I can figure it out.
I'm assuming hg has a diff/pach genterator of some kind ('hg diff' perhaps).
Lemme try and find the hg repository
Mike Romberg added the comment:
Try issue17633-hg.diff. Caution it was made after literally minutes of
experience with hg. :)
I checked out the source applied the changes, compiled and ran 'make test'
(gdb still fails), and did an hg commit. The diff was made following the
in
Mike Romberg added the comment:
This patch modifies issue17633-hg.diff by adding changes suggested by the
reviewers.
Note. I did cleanup the use of __import__ outside of the area involved with
issue17633 as it seemed low risk. The tests for issue17633 (and the refactored
doTest/makeZip
Mike Taylor added the comment:
I can reproduce on Chrome and Firefox Nightly --
Carol, if I'd like to write a patch where would I do that? I see
https://github.com/python/pythondotorg, but am not sure that's the right repo.
Thanks!
--
nosy: +M
Mike Frysinger added the comment:
i don't feel strongly about either version
--
___
Python tracker
<http://bugs.python.org/issue24303>
___
___
Python-bugs-l
Mike Taylor added the comment:
Great, thanks Ezio! Will take a stab now.
--
___
Python tracker
<http://bugs.python.org/issue24712>
___
___
Python-bugs-list mailin
Changes by Mike Short :
--
keywords: +patch
Added file: http://bugs.python.org/file41932/pathlib.patch
___
Python tracker
<http://bugs.python.org/issue22
Changes by Mike Short :
Added file: http://bugs.python.org/file41933/pathlib.py.patch
___
Python tracker
<http://bugs.python.org/issue22062>
___
___
Python-bugs-list m
New submission from Mike Kaplinskiy:
For the purposes of pex (https://github.com/pantsbuild/pex), it would be useful
to allow calling run_module without sys.argv[0] changing. In general, this
behavior is useful if the script intends to re-exec itself (so it needs to know
the original
Changes by Mike Kaplinskiy :
--
keywords: +patch
Added file: http://bugs.python.org/file41981/patch.diff
___
Python tracker
<http://bugs.python.org/issue26
Mike Kaplinskiy added the comment:
Looks like by signed CLA just made it through, so that should be settled.
For the other bugs, it seems that overloading run_module & run_path seems to be
getting a bit cumbersome, so it might make sense to have some sort of Runner
object that has things
Mike Kaplinskiy added the comment:
So how might I get this patch committed? :)
--
___
Python tracker
<http://bugs.python.org/issue26388>
___
___
Python-bugs-list m
New submission from Mike Vertolli:
Here's the doc: https://docs.python.org/2/reference/expressions.html#is
It would be great if this line:
"The operators is and is not test for object identity: x is y is true if and
only if x and y are the same object. x is not y yields the inv
mike bayer added the comment:
@Rian - implicit transactions are part of the DBAPI spec. Looking at the
original description, the purpose of this bug is to not *end* the transaction
when DDL is received. So there's no solution for "database is locked" here,
other than p
mike bayer added the comment:
@rian - your issue for this is http://bugs.python.org/issue9924.
The implicit BEGIN in all cases will probably never be the default but we do
need an option for this to be the case, in order to support SERIALIZABLE
isolation
New submission from Mike Lenzen:
>>> bisect.bisect([1, 2, 3], 1, hi=None)
TypeError: 'NoneType' object cannot be interpreted as an integer
I'm assuming this is an error in the C implementation because the Python source
has:
if hi is None:
hi = len(a
Mike Lissner added the comment:
This is an old issue, but where I run into it frequently is when I use the
format function and string interpolation. For example, this throws a
SyntaxError:
"The name of the person is {name_first} {name_last}".format(
**my_obj.__dict__,
)
Becau
Mike Lenzen added the comment:
Sounds good, but then I think the docs could be clearer about this. I scratched
my head at the function signature bisect.bisect_left(a, x, lo=0, hi=len(a))
because it isn't valid (in Python, maybe in C?), so I checked the source and
saw hi=None. I'm no
New submission from mike bayer:
So I really don't know *where* the issue is in this one, because I don't know
enough about the different bits.
Step 1: Save this C program to demo.c:
#include
static PyObject *
unicode_thing(PyObject *self, PyObject *value)
{
char *str;
mike bayer added the comment:
i realized this is probably with my build overall. let me do some more testing
and ill reopen if i can confirm this more closely.
--
resolution: -> works for me
status: open -> closed
___
Python tracker
Mike Kaplinskiy added the comment:
ping
--
___
Python tracker
<http://bugs.python.org/issue26388>
___
___
Python-bugs-list mailing list
Unsubscribe:
Mike Miller added the comment:
Just as a side note, the patch also works for soft links that point to files
that don't exist. Thanks for getting this fixed!
--
nosy: +Mike Miller
___
Python tracker
<http://bugs.python.org/is
Mike Pomraning added the comment:
Yes, standard UNIX terminal behavior is to map Ctrl-C to a SIGINT sent to the
foreground process group, so that every member of a pipeline (e.g.) or hidden
helper children processes can be terminated by the interactive user and have
the chance to clean up
Mike Pomraning added the comment:
#2 and #4 are the only predictable and palatable options, I think. Ignore the
patch that started this issue.
--
___
Python tracker
<http://bugs.python.org/issue25
Mike Pomraning added the comment:
Re: #2, I'd rather have a zombie than a hard kill on a child whose code I
perhaps don't control. Zombies are a fact of life (er, a fact of undeath?) in
UNIX process management, and are the historical and IMHO expecte
Mike Taylor added the comment:
OK, so uh, somehow a few months escaped me before I could get to this. >_>
(I've also just signed the Contributor Agreement with the PSF)
--
keywords: +patch
Added file: http://bugs.python.org/file42917/docs-si
Mike Taylor added the comment:
The bug for Chrome to ship support of position: sticky is here:
https://bugs.chromium.org/p/chromium/issues/detail?id=231752 -- it's in active
development.
But this patch fixes the jerky sidebar in Firefox as
Changes by Mike Short :
--
keywords: +patch
Added file: http://bugs.python.org/file38627/shutil_2.7.patch
___
Python tracker
<http://bugs.python.org/issue22
Changes by Mike Short :
Added file: http://bugs.python.org/file38628/shutil_latest.patch
___
Python tracker
<http://bugs.python.org/issue22933>
___
___
Python-bugs-list m
mike bayer added the comment:
hi Yury -
I did sign it earlier today. It should have been sent off to the person that
manages that, at least that's what the email receipt said.
--
___
Python tracker
<http://bugs.python.org/is
mike bayer added the comment:
> It would be great if the patch could be attached to the issue as a patch
> file, including some tests.
the mantra we all share. I'll take a look.
--
___
Python tracker
<http://bugs.python.
501 - 600 of 613 matches
Mail list logo