Jon added the comment:
I have confirmed on Win7 that the following 32bit MinGW flavors still recognize
-mno-cygwin option and build without error:
(4.5.2) http://tdm-gcc.tdragon.net/download
(4.5.4)
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated
Jon added the comment:
should the question be "what's the first mingw gcc version that -mno-cygwin
usage unnecessary" rather than finding the first version the option was removed?
and, does it matter whether you're building on win for win, or cross compiling
for win from
Jon added the comment:
>> and, does it matter whether you're building on win for win, or cross
>> compiling for win from nix?
>I’m afraid I don’t know enough about Windows and MinGW to answer that. If we
>can’t be sure about versions and consequences here, I’ll go to th
Jon added the comment:
are you ok with a targeted patch similar to what's being discussed at
http://sourceforge.net/mailarchive/message.php?msg_id=27895558
assuming the regex search the output of `gcc -dumpspecs` idea is valid?
--
___
P
Jon added the comment:
shortly after opening this issue i removed -mno-cygwin from my 2.7.2 install
and have had no issues on win7 32bit. but i understand you're hesitation.
regardless what you decide, please consider placing a summary note in the
source comments as a safety net.
if
New submission from Jon :
3.7.5. Any py script that I run with python.exe or py.exe executes just fine.
But if I try to run any py script with pythonW.exe or pyW.exe it will not run.
I don't know where the logging for the python executable is located.
On the same machine, java.ex
Jon added the comment:
by the way, just to be sure, I am actually running the python.exe / py.exe /
pythonw.exe / pyw.exe from the full file path just to be sure. e.g.
%LOCALAPPDATA%\Programs\Python\Launcher\pyw.exe test.py
--
___
Python
Jon added the comment:
I installed v3.7.4 x86 and scripts work with `pythonw.exe` and `pyw.exe`
I also tested v3.7.4 x64 bit and scripts also work ok. So that is some good
news.
This proves that pythonw (python console) for 3.7.5 is not working for some
unknown reasons.
It is not related
Change by Jon :
--
title: v3.7.5 py script run ok with python.exe but not pythonw.exe (python
console) -> v3.7.5 py script run ok with python.exe but not pythonw.exe (python
console not working)
___
Python tracker
<https://bugs.pyth
Change by Jon :
--
title: v3.7.5 py script run ok with python.exe but not pythonw.exe (python
console not working) -> v3.7.5 py script run ok with python.exe but not
pythonw.exe (python silent console not working)
___
Python tracker
<
Jon added the comment:
@paul.moore all scripts failed. it's like pyw.exe does not run at all (or
quits shortly after. i have about 5 proprietary scripts.
going back to 3.7.4 everything works as before. I do suspect there is
something wrong with the way that 3.7.5 was compile
Jon added the comment:
@eryk. Could I just have separate folder with each python minor version? I
would keep it portable and just reference the python/pythonw.exe filepath
directly for each version when I run.
I could just download the 3.7.5 and drop it anywhere
Jon added the comment:
BTW, I have win10 x64 v 1809 b 17763.720.
--
___
Python tracker
<https://bugs.python.org/issue38533>
___
___
Python-bugs-list mailin
Jon added the comment:
When I have some time. Maybe this weekend. 3.7.4 is working ok right now for
production level. So I didn't bother with anything else yet.
Might help someone else in the meantime though. Glad to see that someone is
taking the complaint seri
Jon added the comment:
[Eric]
>> This is about mingw, which is the **main free software that builds
>> executables on Windows**. You know, for when you don't want to require
>> your users to install Visual Studio.
> Let me state that I fully sympathize with people w
Jon added the comment:
Eric, I'm assuming you are the key decision maker for any fix. As I want to see
this issue stay razor focused, where specifically do you need community help?
Depending upon your needs, I can test on my win7 32bit notebook with official
python 2.7.3. It also has
New submission from Jon:
The documentation for the del keyword in the language reference doesn't mention
the name binding behaviour:
https://docs.python.org/3/reference/simple_stmts.html#grammar-token-del_stmt
It is mentioned in section 4.1 where it says:
"A target occurrin
Jon added the comment:
Sorry, I think I just misread this section. I was confused by the fact that
del binds names like assignment does, so that the following tries to delete a
local name and fails:
x = 1
def f():
del x
f()
In fact the documentation does say that there must be
Change by Jon Parise :
--
nosy: +jon
___
Python tracker
<https://bugs.python.org/issue40512>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Jon Ribbens added the comment:
Almost everything you just said about time_t is wrong. time_t is signed,
and always has been (otherwise the 'end of time' for 32-bit time_t would
be 2106, not 2038). Also, time_t does not end at 2038 because nothing
says it must be 32 bits. Also, Python
Jon Ribbens added the comment:
> No fractions of a second...
If we're expecting floating-point, then everything you said earlier
about the limitations of ints was a bit redundant ;-)
_
Tracker <[EMAIL PROTECTED]>
<http://bugs.python
Jon Ribbens added the comment:
Well, I still think that a convert-to-time_t function is essential, and
I don't buy any of the counter-arguments so far. The only argument I can
see is "should it return float or integer?" - floats are inaccurate and
integers can't repre
Jon Ribbens added the comment:
Skip has already provided what amounts to a patch. It just needs to be
decided whether to (a) not include it, (b) include it with the floating
point part, or (c) include it without the floating point part.
I couldn't comment as to how many people need it.
New submission from Jon Bryan :
Running 32-bit Python in 64-bit Windows 7 Enterprise. I am very much a Python
noob.
A .dll in c:\Windows\System32 that I need to access can't be found by
ctypes.WinDLL(). Upon further investigation I have found that the file, along
with many others, do
Jon Bryan added the comment:
Thanks for the suggestions.
Since I can put the OEM-supplied DLL in another directory and everything works
just fine, I'm not going to spend any more time on it. I assume that it's
something to do with file permissions in Win7 that I don't have
Jon Kuhn added the comment:
This is my first contribution to a real open source project.
Attached is my patch. Suggestions for improvements are welcome.
--
keywords: +patch
nosy: +Jon.Kuhn
Added file: http://bugs.python.org/file23847/issue13464.patch
Jon Kuhn added the comment:
Thanks for the comments. Attached is an updated patch.
In the RawIOBase docs it says "If the object is in non-blocking mode and no
bytes are available, None is returned." So I wasn't sure if that meant any
time no bytes were available or just wh
Changes by Jon Siddle :
--
nosy: +jonsiddle
___
Python tracker
<http://bugs.python.org/issue762963>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jon Siddle :
Issue8280 fixed an issue where the fragment was being sent to the server (and
returned by get_selector).
Unfortunately the fix means that the "full" URL stored in the Request no longer
includes the fragment either.
This is in contradict
Jon Buller added the comment:
I recently upgraded my SparcStation20 to NetBSD-current and thought I
would try installing python again. I found that both 2.7.1 and whatever
was the most current 2.5 pkgsrc version as of a few months ago built and
installed just fine. I'm sorry I c
New submission from Jon Parise :
test_default_quoting() runs a number of identical tests on both quote() and
quote_plus() (which is most cases have equivalent behavior). However, at the
end of the method, there appears to be a missing complementary call to
quote_plus() despite there being an
Jon Parise added the comment:
There are a few places in the patch where you call the global version
immediately followed by the local version. For example:
+PyEval_SetGlobalTrace(NULL, NULL);
PyEval_SetTrace(NULL, NULL);
Isn't the local call now redundant given tha
Jon Anglin added the comment:
Here is a unit test for os.getppid on Windows. The test_os.diff file is the
diff of the Lib/test/test.os.py file from the py3k svn branch.
--
Added file: http://bugs.python.org/file18784/test_os.diff
___
Python
Jon Anglin added the comment:
I have uploaded a new diff file (from the py3k svn trunk) that has all of the
changes in Doc/library/os.rst, Modules/posixmodule.c, and Lib/test/test_os.py.
It is called 6394.diff. Let me know if I can do anything else to make this
happen.
--
Added
Jon Anglin added the comment:
Windows provides two versions of mkdir in direct.h:
int mkdir(const char* dirname)
int _mkdir(const char* dirname)
The latter is the preferred function because it is conformant to the ISO C++
standard. As you can see, neither function has a mode parameter
Jon Anglin added the comment:
Visual Studio ships with the source code for the CRT (\Program Files\Microsoft
Visual Studio 9.0\VC\crt\src). I looked up _mkdir. It does just call
CreateDirectory(path, NULL). If no error occurs it returns zero. If an error
occurs, it then converts the result
Jon Anglin added the comment:
How about this: see no-macro.diff
BTW: should I be using the .patch extension or .diff extension?
--
Added file: http://bugs.python.org/file18798/no-macro.diff
___
Python tracker
<http://bugs.python.org/issue9
New submission from Jon Anglin :
This is a feature request to implement the os.getlogin function on Windows
systems. This may not be a widely used function, but implementing on Windows
will bring Python on Windows one step closer to Python on Unix (like) systems.
The os_getlogin.diff file
Jon Anglin added the comment:
I can't answer that for the 'LOGNAME' environment variable on non-Windows
systems, I was just keying off of what the docs claimed. As for Windows, I just
came across this article http://support.microsoft.com/kb/273633 that shows we
can not rely
Jon Anglin added the comment:
Here is an updated patch with the updated test. This test does not use either
the LOGNAME or USERNAME environment variables.
--
Added file: http://bugs.python.org/file18814/issue9808.diff
___
Python tracker
<h
Changes by Jon Anglin :
--
nosy: +janglin
___
Python tracker
<http://bugs.python.org/issue9784>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jon Anglin :
--
nosy: +janglin
___
Python tracker
<http://bugs.python.org/issue9783>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jon Anglin :
--
nosy: +janglin
___
Python tracker
<http://bugs.python.org/issue9782>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jon Anglin :
--
nosy: +janglin
___
Python tracker
<http://bugs.python.org/issue9566>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Jon Anglin :
--
nosy: +janglin
___
Python tracker
<http://bugs.python.org/issue9614>
___
___
Python-bugs-list mailing list
Unsubscribe:
Jon Anglin added the comment:
I went ahead and moved the test skip decorator to the class level as suggested
by Brian Curtin, see issue9808-new.diff.
--
Added file: http://bugs.python.org/file18886/issue9808-new.diff
___
Python tracker
<h
Jon Anglin added the comment:
The _countof(_x_) macro expands to something like this:
sizeof(_x_)/sizeof(_x_[0])
This was an attempt by Microsoft to mitigate some buffer overrun issues. I
have gotten in the habit of using it as it is less verbose. I have uploaded a
new issue9808.diff
Changes by Jon Anglin :
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/issue9808>
___
___
Python-bugs-list mailing list
Unsubscri
Jon Anglin added the comment:
issue9783.diff provides a patch that will compile clean on 32 and 64 bit
Windows systems. I tried to avoid explicit casts where I could, but it was not
always possible. I have ported a lot of my company's code to 64 bit (all
Windows based). In my exper
Jon Anglin added the comment:
issue9784.diff contains a patch that compiles clean on 32 and 64 bit Windows.
This patch is exactly what Amaury Forgeot d'Arc recommended in msg115750.
--
keywords: +patch
Added file: http://bugs.python.org/file18989/issue9784
New submission from Jon Clements :
Very low priority.
def consume(iterator, n):
"Advance the iterator n-steps ahead. If n is none, consume entirely."
# Use functions that consume iterators at C speed.
if n is None:
# feed the entire iterator into a zero-le
Jon Anglin added the comment:
Martin Lowis do you mean API when you type SDK? If I understand what you are
saying, you would rather use the Win32 API instead of the CRT API?
It may interest you to know that _open calls CreateFile internally, _read calls
ReadFile, _write calls WriteFile
Jon Anglin added the comment:
> I have the long-term plan to eliminate all CRT usage from Python
> on Windows. In this case, there is a straight-forward opportunity
> to do so.
Oh, OK. If that is the plan then I am on board. I will re-code the patch using
the Win32 API directly.
Jon Anglin added the comment:
Martin is correct about this patch.
> In cases where we really can't propagate Py_ssize_t to (e.g.
> XML_Parse), we need to check for an int overflow, and raise
> an exception if it does overflow.
Is this an appropriate approach?
int
PySize_As
Jon Anglin added the comment:
I have uploaded another patch that replaces CRT API calls with Win32 API calls.
It compiles cleanly under 32 and 64 bit Windows. Is there a unit test for
msilib? I was not able to find one, thus the patch is not fully tested.
--
Added file: http
Changes by Jon Parise :
--
nosy: +jon
___
Python tracker
<http://bugs.python.org/issue10194>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Changes by Jon Parise :
--
nosy: +jon
___
Python tracker
<http://bugs.python.org/issue5755>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Jon McKenzie :
I'm writing a cmd.Cmd module that operates on filenames. As such, I'm
attempting to write tab completions that operate similar to bash. However,
files that contain dashes (hyphens) appear to exhibit unexpected behavior.
It appears that somewhere
Jon McKenzie added the comment:
Marked as closed, since I found this was not a bug, but just a readline default.
Can set tab completion delimiters with readline.set_completer_delims(string)
--
resolution: -> wont fix
status: open ->
New submission from Jon Nelson <[EMAIL PROTECTED]>:
Basically, time.mktime calls time and localtime, and then overwrites
those results. Removing these unnecessary calls results in a fairly
noticeable speedup, lower double-digit percentile improvements for
applications that do time parsin
Jon Foster added the comment:
This bug also breaks code that uses the subprocess module, e.g.:
env = os.environ.copy()
env['MY_VARIABLE'] = 'MY_VAL'
subprocess.Popen(... , env=env)
Fails on Windows 7 with an error that the environment can only contain strings.
The off
New submission from Jon Smirl :
termios doesn't have the constants defined for higher baud rates on Linux.
According to my bits/termios.h:
#define B57600 0010001
#define B115200 0010002
#define B230400 0010003
#define B460800 0010004
#define B50 0010005
#define B576000 00
Jon Buller added the comment:
Sorry to not be able to follow up for so long, but I was moving
cross-country.
I was playing with the tests a bit and ended up trying this:
$ ./python -E -tt -d -v -W all ./Lib/test/regrtest.py -l -v -s test_builtin
Which resulted (after quite a bit of output
Jon Buller added the comment:
"./configure --without-threads" didn't seem to have any effect... :(
--
___
Python tracker
<http://bugs.py
Jon Buller added the comment:
This is bad. The problem went away and the test completed without the
segfault. If you think the output would help track anything down, let
me know and I'll
save and upload it somewhere. (Or I could hand out an SSH account via
IPv6 to the machine...
Jon Clements added the comment:
Seems consistent to me:
.match, .search and .finditer return a MatchObject whose .group() return the
*entire matched string*. If you use .group(1) you'll get similar results to
.findall() which returns a list of (possibly of tuples) of the captured
grou
Jon Buller added the comment:
I found that python 2.4.5 will compile and install on this machine,
though I don't know if that helps anyone or not, or how to track this
down further. (At least I can run mercurial on that machine again.)
On 03/11/10 18:16, Jon Buller wrote:
>
>
New submission from Jon Wilson:
webbrowser.open('http://example.com')
opens something like:
file:///path/to/home/directory/"http://example.com";
in firefox 3 beta 2. this behavior of firefox will most like not change
in the stable release.
--
components: Extens
Jon Wilson added the comment:
I'm running 2.6.23.9 linux kernel fedora 8.
I've gone ahead and downloaded the subversion checkout of the
webbrowser.py file to see the differences. The svn version fixes the
issue, so then I went a hunting as to why.
In the 2.5 version, with a version
New submission from Jon Perez <[EMAIL PROTECTED]>:
In http_response in HTTPErrorProcessor, the following line
code, msg, hdrs = response.code, response.msg, response.info()
results in an error because response.code is not a valid
attribute, changing it to response.status works, but is
th
New submission from Jon Perez <[EMAIL PROTECTED]>:
In http_response() in HTTPErrorProcessor in urllib2.py, the following line
code, msg, hdrs = response.code, response.msg, response.info()
results in an error because response.code is not a valid
attribute, changing it to response.status
Jon Ribbens added the comment:
> A timedelta.toseconds method (or equivalent) makes no sense.
> The number of seconds in a day is not fixed (due to leap seconds) and
> relying on such a method would introduce subtle bugs.
You are misunderstanding what timedelta is. It is a fixed-leng
New submission from Jon Dee :
Without this flag it is necessary to wait for e.g. 120s after closing
down a 'BaseManager' server before restarting, due to the socket being
in the TIME_WAIT state.
Example error, which occurs if a server is started, data transmitted
down the socket,
New submission from Jon Åslund :
Some bytes that are non utf-8 segfaults python repl in 3.10 and later on linux.
Example:
$ python3.10
Python 3.10.4 (main, Mar 24 2022, 14:20:44) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license"
Jon Åslund added the comment:
Yes. I think they are the same. I can reproduce the emoji crash. This is much
easier to reproduce. No need to have a Swedish keyboard layout.
1. Copy _😀
2. Start python with a non unicode locale. LC_ALL=C python3.10
3. Paste in _😀
4. Press backspace once. It
Jon Åslund added the comment:
very similar back trace too
(gdb) run
Starting program: /home/jon/.pyenv/versions/3.10.4/bin/python3.10
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Python 3.10.4 (main, Mar 2
Change by Jon Janzen :
--
pull_requests: +15288
pull_request: https://github.com/python/cpython/pull/15615
___
Python tracker
<https://bugs.python.org/issue36
Change by Jon Janzen :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Jon Janzen :
* Update "Mac OS X" to "Apple" since plists are used more widely than just macOS
* Remove notes about the new API being added in 3.4 since 3.4 is no longer
supported
* Re-add the UID class documentation (oops, removed in issue36409)
-
Jon Janzen added the comment:
>* Remove notes about the new API being added in 3.4 since 3.4 is no longer
>supported
Per discussion in the PR, this is no longer a goal of this issue
--
___
Python tracker
<https://bugs.python.org/i
New submission from Jon Janzen :
There are a series of PEP8 violations in plistlib.
Most of them are spacing issues, a few naming issues, and also some unused
function parameters and unused imports that can be done away with.
--
components: Library (Lib)
messages: 352221
nosy
Change by Jon Janzen :
--
keywords: +patch
pull_requests: +15694
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/16074
___
Python tracker
<https://bugs.python.org/issu
Jon Camilleri added the comment:
this is your call, sorry.
On Tue, Jun 22, 2021 at 4:06 PM Irit Katriel wrote:
>
> Irit Katriel added the comment:
>
> Version 3.5 is no longer supported. If you are having issues installing a
> current version (3.9+) please cre
Change by Jon Clucas :
--
nosy: +shnizzedy
___
Python tracker
<https://bugs.python.org/issue22393>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Jon Clucas :
--
nosy: +shnizzedy
___
Python tracker
<https://bugs.python.org/issue43805>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jon Oxtoby :
Running datetime.strptime against a string containing year, month, day but with
a formatter including %H causes a two-digit day to be split across the day and
hour fields of the datetime:
datetime.datetime.strptime('20140812', '%Y%
Jon Oxtoby added the comment:
Just noticed the potential for this issue was raised in
https://bugs.python.org/msg393688 so it's possible this is not a bug and is the
desired behavior, but the documentation doesn't seem to address the issue
(unless I'm
Jon Oxtoby added the comment:
I was indeed overlooking the note in the documentation that the leading zero is
optional for some formatters when using strptime. Closing.
--
stage: -> resolved
status: open -> closed
___
Python tracker
Jon Nalley added the comment:
I think the Python implementation is adhering to the zip specification.
>From the specification v6.3.6 (Revised: April 26, 2019):
If general purpose bit 11 is unset, the file name and comment SHOULD conform
to the original ZIP character encoding. If gene
Jon Nalley added the comment:
Please see a detailed explanation of the behavior here:
https://gist.github.com/jnalley/cec21bca2d865758bc5e23654df28bd5
--
___
Python tracker
<https://bugs.python.org/issue38
Change by Jon Janzen :
--
nosy: +bigfootjon
___
Python tracker
<https://bugs.python.org/issue39732>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Jon FRANCO :
Hello,
If I am reading right, random.Random.sample method has a bug if counts is not
None.
Line 482 (of master):
"""
selections = sample(range(total), k=k)
"""
this is calling the module function 'sample'
Change by Jon FRANCO :
--
keywords: +patch
pull_requests: +23058
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/24235
___
Python tracker
<https://bugs.python.org/issu
Jon FRANCO added the comment:
PR submitted.
Let me know if I missed something, this is also my first PR.
Regards.
--
___
Python tracker
<https://bugs.python.org/issue42
New submission from Jon Brandvein :
When a child process exits due to an exception, a traceback is written, but
stderr is not flushed. Thus I see a header like "Process 1:\n", but no
traceback.
I don't have a development environment or any experience with Mecurial, so I'
Jon Brandvein added the comment:
(Er, that should be /Lib/multiprocessing/process.py :: Process._bootstrap of
course.)
--
___
Python tracker
<http://bugs.python.org/issue13
Jon Brandvein added the comment:
On Windows, the problem appears under Python 3.2.2 and 3.1.3, but not under
2.7.1. On Linux, I have not reproduced the problem on versions 2.6.3, 2.7.2,
3.1.1, or 3.2.2.
So to summarize:
- It seems there should be a stderr flush call on the line I
Jon Brandvein added the comment:
I've been looking over this package some more, and in particular,
/Lib/multiprocessing/forking.py. There's plenty I don't understand, and I do
have questions, if you would be willing to indulge me.
I see that both the unix and windows code
Jon Brandvein added the comment:
Some more information: When I write to a new file created by open(), all
versions flush correctly. However, if I reassign sys.stdout to that file,
Python 3.x does not (again, under Windows). I wonder what it is that causes
these other files to flush.
(Note
Jon Brandvein added the comment:
It turns out the file output was flushing due to garbage collection. When I
created and held a global reference to it, it ceased to flush. Clearly,
reassigning sys.stdout also held a reference to it. So it wasn't any kind of
special sys.stdout-specific
1 - 100 of 248 matches
Mail list logo