Mike added the comment:
Is this issue still being worked on as a core feature? I needed a solution for
this using 2.7.11 to enable some old code to work properly/nicely in a
container environment on AWS Batch and was forced to figure out what OpenJDK
was doing and came up with a solution
New submission from Mike :
import pytz
import datetime
tzaware_time1 = datetime.time(7,30,tzinfo=pytz.timezone("America/Denver"))
tzaware_time2 = datetime.time(7,30,tzinfo=pytz.utc)
tzunaware_time = datetime.time(7, 30)
# This fails with exception: TypeError: can't compare o
Mike added the comment:
Ok. I'll file a bug on pytz. Thanks!
On Sat, Nov 16, 2019 at 11:18 PM Karthikeyan Singaravelan <
rep...@bugs.python.org> wrote:
>
> Change by Karthikeyan Singaravelan :
>
>
> --
> nosy: +p-ganssle
>
> _
New submission from Mike :
I have a random bug with scipy's optimize .
I use it in the context of SageMath (Python 3.7.3).
I checked 3 algorithms : shgo, dual_annealing and full_optimize.
All don't work well (at all !).
I optimise with a 3 parameters functions with given b
Mike added the comment:
ok thank you Christian. I will do.
> Le 9 mai 2020 à 23:06, Christian Heimes a écrit :
>
>
> Christian Heimes added the comment:
>
> SciPy and Sage are 3rd party extensions to CPython and not maintained by us.
> Please report the issue
mike added the comment:
Hi,
I downloaded source and did the following instructions.
We use Red Hat Enterprise Linux Server release 5.5.
./configure --prefix=/home/mike/python_rh_32
make
make install
I also changed the line in site.py
from:
s = os.path.join(os.path.dirname
New submission from Mike:
The documentation for BaseHTTPRequestHandler explicitly prohibits protocol
violations when writing to the `wfile` stream:
> BaseHTTPRequestHandler has the following instance variables:
>
> [...]
>
> **`wfile`**
>
> > Contains the output strea
Mike added the comment:
That would certainly satisfy me!
--
___
Python tracker
<http://bugs.python.org/issue30160>
___
___
Python-bugs-list mailing list
Unsub
Changes by Mike :
--
pull_requests: +1407
___
Python tracker
<http://bugs.python.org/issue30160>
___
___
Python-bugs-list mailing list
Unsubscribe:
Mike added the comment:
My CLA signature has been verified, but based on the most recent comments, I'm
not sure if something needs to change in this patch. Is there anything I can
doto help this land?
--
___
Python tracker
<http://bugs.py
Mike added the comment:
It's been about a month since I heard back, so I thought I'd comment here just
in case this slipped of anyone's radar. Is there anything I can doto help this
land?
--
___
Python tracker
<http://bugs.pyt
Mike added the comment:
My pleasure. And thank you for backporting on my behalf :)
--
___
Python tracker
<http://bugs.python.org/issue30160>
___
___
Python-bug
New submission from Mike:
Python used to run smoothly on my macbook, but since I opened the debugger
yesterday, the IDLE window cannot be opened anymore. It shows an error message
"IDLE's subprocess didn't make connection".
I tried to uninstall everything and downlo
Mike added the comment:
Thanks Ned,
I have solved the issue by deleting all my previous py files on my computer.
But I couldn't figure out what really triggered this error, as those files did
not create any problems before.
--
___
Python tr
Mike added the comment:
Sorry, I only started learning Python a couple of weeks ago. Didn't
know that there was a ConfigParser module. So this would really be a
feature request of ConfigParser?
Interesting you should mention Postel's Law. Being liberal about what
you accept f
Mike added the comment:
Hi Vinay,
I will bow to your greater expertise on this and will let this go.
It looks like it will be far more easier and robust just to invent my
own logging config file format and read it myself.
Thanks for your help.
Mike.
--
status: open -> clo
New submission from mike :
There's a python program in the attached file http.py, I import
urllib.request in http.py, and urllib.request imports http.client.
When I try to run http.py by command "python http.py", the error is as
below:
Traceback (most recent call last):
New submission from Mike :
Hi,
I had a logging.conf file with the following logger def in it:
[logger_Builder]
level=DEBUG
handlers=consoleStderr
qualname=Builder
propogate=0
And I couldn't understand why all my log messages were coming out twice.
It took me four hours :-\ to realise
Mike added the comment:
Fair point. Agree that this is a feature request. Perhaps something like:
logging.config.fileConfig(path, strict=False)
--
___
Python tracker
<http://bugs.python.org/issue6
New submission from Mike:
When installing Python 3.6 using the official installer and selecting "install
for all users" from an account with admin privileges, the installation
completes successfully and it shows in the list of installed programs for that
user. However, be
New submission from Mike:
The installer for python 3.5.1 (observed with the x64-86 executable installer,
assumed to happen with all installers) allows users to install python either
just for themselves or do a system-wide installation (provided they have
sufficient privileges).
However, when
Change by mike mcleod :
--
pull_requests: +28437
pull_request: https://github.com/python/cpython/pull/30216
___
Python tracker
<https://bugs.python.org/issue10
Change by mike mcleod :
--
pull_requests: +28450
pull_request: https://github.com/python/cpython/pull/30228
___
Python tracker
<https://bugs.python.org/issue1284
mike mcleod added the comment:
I would like to help with this issue. I'm new to this space hence I am not
aware of what patch review means.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/i
mike mcleod added the comment:
I would like to help with this issue.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue24364>
___
___
Pytho
New submission from Mike Schiessl :
Using the TimedRotatingFileHandler along with "when='midnight'" and interval >
1, midnight is handled equally to "days" which is a little misleading.
Expectation:
setting when to 'midnight', the file is rotate
Mike Schiessl added the comment:
i've just checked PR and you're right, something with the PR went wrong.
Anyway, midnight (at least from the wording) specifies the "atTime". (which
should be midnight).
Again, if there's (by mistake) an interval bigger than 1 se
Mike Schiessl added the comment:
Yes, enforcing interval == 1 or interval == None (which pulls the
TimedRotatingFileHandler class __init__ default value which is also 1) works
perfectly with midnight.
I do not see any urge on that topic - as I personally now know the issue :D -
but I
mike mcleod added the comment:
Working.. should be able to create pull request soon. Note part of suggestions
include using SIOCOUTQ, but this does not have an equivalent for windows. And
as Murphy's law goes this is likely to be where the probl
Change by mike mcleod :
--
keywords: +patch
pull_requests: +28934
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/30747
___
Python tracker
<https://bugs.python.org/issu
mike mcleod added the comment:
I would like to help on this issue. Is there anyone available to push a PR
through? If I make the changes.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue10
mike mcleod added the comment:
I would like to help on this issue.
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue1521051>
___
___
Pytho
mike mcleod added the comment:
I would like to help with this issue. Is that acceptable?
--
nosy: +mikecmcleod
___
Python tracker
<https://bugs.python.org/issue32
Change by Mike Auty :
--
title: Result of pathlib.Path.resolve() with UNC path is not very useful ->
file_open unc
___
Python tracker
<https://bugs.python.org/issu
Mike Auty added the comment:
Sorry for the spam, thought I was in a different text box. 5:(
--
nosy: +ikelos
title: file_open unc -> Result of pathlib Path.resolve() with UNC path is not
very useful
___
Python tracker
<https://bugs.pyth
New submission from Mike Auty :
I've found open to have difficulty with a resolved pathlib path:
Example code of:
import pathlib
path = "Z:\\test.py"
with open(path) as fp:
print("Stock open: works")
data = fp.read()
with open(pathlib.Pa
Mike Auty added the comment:
> Why are you adding `.as_uri()`?
The API we provide accepts URIs, so whilst the example seems a little
contrived, the code itself expects a URI and then calls open (making use of the
ability to add open handlers).
> Builtin open() calls C open().
As
Mike Auty added the comment:
My bad, sorry, I realized I was conflating open with urllib.request.urlopen. I
believe the issue still exists though, sorry for the confusion.
--
___
Python tracker
<https://bugs.python.org/issue46
Mike Auty added the comment:
Here's the revised code sample:
import pathlib
import urllib.request
path = "Z:\\test.py"
print(f"Stock open: {pathlib.Path(path).as_uri()}")
with urllib.request.urlopen(pathlib.Path(path).as_uri()) as f
Mike Auty added the comment:
I can confirm that url2pathname work with either number of slashes, and that
open_file appears to have had the file: removed.
However, in even if the check in open_file were bypassed, it calls
open_local_file, which then strips any host before calling
Change by Mike Auty :
--
title: file_open doesn't handle UNC paths produced by pathlib's resolve() (but
can handle UNC paths with additional slashes) -> urllib.request.urlopen doesn't
handle UNC paths produced by pathlib's resolve() (but can handle UNC paths w
Mike Lissner added the comment:
Looks like that CVE isn't public yet.
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0391
Any chance I can get access (I originally reported this vuln.). My email is
m...@free.law, if it's possible and my email is neede
New submission from Mike Kaganski :
Using cyqwin 3.3.4-2, and python3:
Python 3.9.10 (main, Jan 20 2022, 21:37:52)
[GCC 11.2.0] on cygwin
Trying this bash command line:
> python3 C:/path/to/script.py
results in this error:
"python3: can't open file '/cygdrive/c/path/to
Mike Kaganski added the comment:
Thanks for looking at this!
> Are you running from bash (or another cygwin shell), or from cmd.exe, or
> something else?
:) Citing myself:
> Trying this *bash* command line:
> To my knowledge, cygwin's installer doesn't have a 3
Mike Kaganski added the comment:
> As for 3.9: it's not available through the 64 bit installer (at least, I
> don't see it there). I'll look and see what's involved in installing it.
I don't remember if I did something special to install it; however, just mayb
Mike Coleman added the comment:
Well, I think we can conclude that it's expected by *them*. :-) I
still find it surprising, and it somewhat lessens the utility of
re.split for my use cases. (I think re.finditer may also suffer from
the same problem, but I don't recall.)
If you l
New submission from Mike Beachy:
For RHEL 3 (and it also appears RHEL 4 and 5) the libreadline shared lib
has no specified lib requirement that satisfies the tgetent and related
symbols. (These symbols are provided by ncursesw, ncurses, curses,
termcap as noted in the python setup.py.) The
New submission from Mike Taylor:
In our builds the included patch fixes this issue.
Patch by Brian Kirsch, tested at OSAF on Python 2.5.1
--
nosy: +bear
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Changes by Mike Taylor:
--
components: Tests
severity: major
status: open
title: doctest fails to run file based tests with 8bit paths
type: behavior
versions: Python 2.5
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/
Mike Klaas added the comment:
This problem has also afflicted us.
Attached is a patch which adds closerange(fd_low, fd_high) to the posix
(and consequently os) module, and modifies subprocess to use it. Patch
is against trunk but should work for 2.5maint.
I don't really think that th
Mike Klaas added the comment:
I see that some spaces crept in to the patch. I can fix that (and perhaps
rename the function to start with an underscore) if desired.
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/iss
Mike Klaas added the comment:
Finally, I did not include any platform-specific optimizations, as I don't
have AIX or solaris boxes on which to test them (and they can easily be
added later). An order-mag speedup on all *nix platforms is a good
Mike Klaas added the comment:
Is this meant to be inserted into uuid.py? It seems more like a snippet
from unrelated code: code coventions do not follow PEP 8; there are no
tests; code does not run as-is (references non-existent variable '_os'--
why no 'import os'?); e
Mike Klaas added the comment:
Is the footprint of UUID an issue?
Note that changing the pickle format of UUID will require code that can
unpickle both versions, for compatibility. I don't really see the need.
Also, no real patch provided.
--
nosy: +
Mike Klaas added the comment:
Verified on 2.5.0. The problem stems from contextmanager.__exit__:
def __exit__(self, type, value, traceback):
if type is None:
try:
self.gen.next()
except StopIteration:
return
else
Mike Klaas added the comment:
Patch applies to 2.5 cleanly, test_xmlrpc passes.
--
nosy: +klaas
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/iss
Mike Klaas added the comment:
PEPs should be proposed on python-list and python-dev. This is a four-
year-old idea that seems quite profound in the changes proposed.
Recommend closing.
--
nosy: +klaas
Tracker <[EMAIL PROTECTED]>
Mike Verdone added the comment:
For the benefit of those who stumble here through Google, here's a
workaround I've discovered for NaN testing. This is BAD:
value == float('NaN')
But this seems to work ok:
str(value) == str(float('NaN'))
--
nosy: +mike.ve
Mike Hoy added the comment:
I'm working on making a patch for this. I just want to confirm that the
information I found is correct:
Article Name
OLD URL
ARCHIVED URL
How Python is Developed
OLD: http://www.python.org/dev/intro/
ARCHIVE: http://www.etsimo.uniovi.es/python/dev/
Mike Hoy added the comment:
Of course I would be creating new articles based on the archived pages.
--
___
Python tracker
<http://bugs.python.org/issue13
Mike Hoy added the comment:
Added links under Resources to the new Dev Guide. Added a link to the Guide
itself and a link to the faq.
--
keywords: +patch
Added file: http://bugs.python.org/file23289/pep-0001-broken-links.diff
___
Python tracker
Mike Hoy added the comment:
> - How to prepare a text editor
See: http://docs.python.org/dev/using/unix.html#editors
> - How to run Python code from a file (if the tutorial or using docs don’t
> already have it).
See: http://docs.python.org/dev/using/unix.html#miscellaneous
--
Mike Hoy added the comment:
Patch to remove broken link.
--
keywords: +patch
nosy: +mikehoy
Added file: http://bugs.python.org/file23334/SSL-broken-link.diff
___
Python tracker
<http://bugs.python.org/issue12
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue12192>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue12602>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Mike Hoy added the comment:
> Thanks Mike! So the first item is covered (at least for UNIX, can you
> check the Windows docs too?), but not the second.
http://docs.python.org/dev/using/windows.html Makes no reference to preparing a
text editor. This I could help with but...
>
Mike Hoy added the comment:
> mostly to recommend Notepad++ I think.
In addition to Notepad++ do you think it would be a good idea to at least
mention Vim and Emacs with a disclaimer about the learning curve?
> For Windows users, added a section about how to use a terminal and
Do you
Mike Hoy added the comment:
> We’re working on a patch on the core-mentorship list.
Éric, I emailed the diff to the Core-Mentorship list, but since there was no
reply I will just attach it here. Please review patch and let me know if you
want any changes.
--
keywords: +patch
n
Mike Hoy added the comment:
Created a patch based on suggestions here.
--
keywords: +patch
Added file: http://bugs.python.org/file23346/return-none.diff
___
Python tracker
<http://bugs.python.org/issue12
Mike Hoy added the comment:
Here is what I have so far:
> For Windows users, added a section about how to use a terminal
How to use a terminal
Open a command prompt:
* On Windows Vista or Windows 7: click on the Start menu (the Windows logo in
the lower left of the screen), type cmd i
Mike Hoy added the comment:
Submitted v2 of my patch after reading Éric's review of my first.
--
Added file: http://bugs.python.org/file23360/apiref-setupscript-v2.diff
___
Python tracker
<http://bugs.python.org/i
Changes by Mike Hoy :
--
nosy: -mikehoy
___
Python tracker
<http://bugs.python.org/issue12602>
___
___
Python-bugs-list mailing list
Unsubscribe:
Mike Hoy added the comment:
Responded to first question in apiref and uploaded a new patch that wraps lines
at 80 characters.
--
Added file: http://bugs.python.org/file23369/apiref-setupscript-v3.diff
___
Python tracker
<http://bugs.python.
Mike Hoy added the comment:
setupscript did not have the changes that were made in apiref. v4 is now
consistent and line wrapping at 80 chars.
--
Added file: http://bugs.python.org/file23384/apiref-setupscript-v4.diff
___
Python tracker
<h
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue13154>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Mike Hoy added the comment:
:~/peps$ find . -name "*.txt" | xargs grep "canterbury"
./pep-3152.txt:Author: Gregory Ewing
./pep-0380.txt:Author: Gregory Ewing
./pep-0284.txt:Greg Ewing
./pep-0335.txt:Author: Gregory Ewing
Looks like pep-0335.txt has a "Gregor
New submission from Mike Hoy :
In the Docs mailing list a typo was pointed out in argparse docs.
http://docs.python.org/dev/library/argparse.html#metavar
> "So, a single positional argument with dest='bar' will that argument
> will be referred to as bar."
> &quo
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue11776>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue11638>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue12944>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue13198>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Mike Hoy :
--
nosy: +mikehoy
___
Python tracker
<http://bugs.python.org/issue13341>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Mike Fogel :
Hi, there's been a fair amount of confusion over the interaction between
logger.propagate and the ancestor logger's handlers and level.
http://bugs.python.org/issue7535
http://bugs.python.org/issue8327
http://bugs.python.org/issue9606
I think
New submission from mike c :
Could a test be added to ./Lib/test/test_defaultdict.py to test for TypeError
being thrown when the the first argument to collections.defaultdict is not
callable?
pypy does not behave the same way as CPython 2.7.2 as the problem is not
covered in the testcases
mike c added the comment:
Cloning repo. Reading the devguide. Patch forthcoming.
--
___
Python tracker
<http://bugs.python.org/issue13531>
___
___
Python-bug
mike c added the comment:
Patch to add a defaultdict test which checks that if the first argument is not
callable, then a TypeError is thrown.
--
keywords: +patch
Added file: http://bugs.python.org/file23855/defaultdict_callable_test.patch
mike c added the comment:
patch v2. Now with assertRaises()!
--
Added file: http://bugs.python.org/file23856/defaultdict_callable_test_v2.patch
___
Python tracker
<http://bugs.python.org/issue13
New submission from Mike Solomon :
I work on a large app and we noticed that a surprising portion of our heap was
filenames embedded the the bytecode.
This one-line patch to intern filenames reduces our on-disk size about ~15% and
brings down our heap and in-memory object count by a similar
Mike Solomon added the comment:
If you have a file with say a hundred functions, and each function contains
the full path of that file on disk, your pyc file will contain about
(100*(path_size+overhead)) bytes. In some cases, this is pretty
significant.
On Thu, May 26, 2011 at 12:47 PM
Mike Solomon added the comment:
The in-memory fix is really the most important - the disk space was a bonus
and an easy metric to gather.
Unfortunately, our app won't be upgrading to python 3.x.
On Fri, May 27, 2011 at 7:10 AM, Benjamin Peterson
wrote:
>
> Benjamin Peterson
mike bayer added the comment:
regarding "hey this is an MS bug not Python", projects which feature optional C
extensions are starting to apply workarounds for the issue on their end (I will
need to commit a specific catch for this to SQLAlchemy) - users need to install
our softw
mike bayer added the comment:
> I think it's fair to ask the user to setup the environment correctly
before running "python setup.py install"
We're supporting automatic fallback to non-C install for those environments
that don't support it. We'
New submission from Mike Garabedian :
Issue 11089 submitted a patch to 3.2 and 2.7 to address performance concerns
with the latest updates to ConfigParser. In the implementation for 2.7.2, this
patch was misapplied in the keys() function on line 573:
for mapping in self_maps:
should be
Mike Garabedian added the comment:
Happy to help!
Raymond - I came across this issue while reviewing notes from your OSCON
Advanced Python talk - thanks for the great tutorial!
--
___
Python tracker
<http://bugs.python.org/issue12
New submission from Mike Dirolf :
The json module docs state that sort_keys defaults to True. From the source it
looks like it actually defaults to False. Patch attached.
--
assignee: d...@python
components: Documentation
files: sort_keys_json.patch
keywords: patch
messages: 114426
New submission from mike bayer :
Copying this bug from the pysqlite tracker, at
http://code.google.com/p/pysqlite/issues/detail?id=21 , as the issue has been
opened for two days with no reply. (side node - should sqlite3 bugs be reported
here or on the pysqlite tracker ?) The text below was
mike bayer added the comment:
My own comment here is that I'm supposing the "late BEGIN" behavior is to cut
down on SQLite's file locking.I think a way to maintain that convenience
for most cases, while allowing the stricter behavior that makes SERIALIZABLE
isolation
Changes by Mike Auty :
--
nosy: +ikelos
___
Python tracker
<http://bugs.python.org/issue9561>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Mike Cencula :
I'm trying to use cookielib.LWPCookieJar.save() to save cookies from a website.
The cookie file is created with a header line, but the cookies are not stored.
Example program attached.
Python version:
2.5.2 (r252:60911, Jan 24 2010, 14:53:14)
Runni
Mike Cencula added the comment:
User error indeed. Adding ignore_discard=True, ignore_expires=True cured the
issue.
Thank you.
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issu
1 - 100 of 613 matches
Mail list logo