[issue34240] Convert test_mmap to use tempfile

2020-05-29 Thread TJG


TJG  added the comment:

That last should clearly have said:

Thanks for doing the housekeeping work here

:)

--

___
Python tracker 
<https://bugs.python.org/issue34240>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34240] Convert test_mmap to use tempfile

2020-05-29 Thread TJG


TJG  added the comment:

Thanks, Cheryl. It was getting pretty stale. If I think it's worthwhile 
I'll resurrect it.

I suspect what happened was that my cpython fork got borked somehow 
between then and now. I probably ditched the repo and re-forked. That's 
for doing the housekeeping work here.

--
nosy: +tjguk

___
Python tracker 
<https://bugs.python.org/issue34240>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34239] Convert test_bz2 to use tempfile

2018-07-28 Thread TJG


TJG  added the comment:

Thanks, Brett. I'll address Serhiy's comment with a new PR and then tidy 
yup.

--
nosy: +tjguk

___
Python tracker 
<https://bugs.python.org/issue34239>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32527] windows 7 python 3.6 : after some security updates, import ibm_db fails

2018-01-10 Thread TJG

TJG <m...@timgolden.me.uk> added the comment:

The error is coming from the extension module's "connect" function 
(which is the standard DB API entry point for Python database 
interfaces). Presumably from your description, some environmental 
situation leaves it with an unconsidered code path.

This is not apparently a bug in Python; rather in the extension module 
at the Python C API level. Suggest you raise an issue in the ibm_db 
issue tracker.

--
nosy: +tjguk

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32527>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread TJG

TJG <m...@timgolden.me.uk> added the comment:

Excluding for now seems like a simple option. (Basically a reversion to 
previous behaviour). And allows us easily to include again later easily.

Messing with setsockopt seems a little more risky.

In short: I'm with you -- exclude for now.

--

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32394>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32394] socket lib beahavior change in 3.6.4

2017-12-21 Thread TJG

TJG <m...@timgolden.me.uk> added the comment:

It's a compile-time option in socketmodule.c.

https://github.com/python/cpython/blob/3.6/Modules/socketmodule.c#L7466

The MSDN page suggests that it was added for Win10:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms738596(v=vs.85).aspx

Is it possible that the build machine has changed its OS/SDK between 
building 3.6.3 and 3.6.4?

--
nosy: +tjguk

___
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32394>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26531] Keyboard Interrupts not caught when used within a class method on Windows 10

2016-03-10 Thread TJG

TJG added the comment:

If I run your code, it does what I expect: pressing Ctrl-C produces
"Interrupt", doesn't print the data returned from raw_input, and doesn't
produce a stacktrace.

I'm not on Win10 and it's entirely possible that this area of the MS CRT
has been reworked: it's a bit quirky and our use of it is fairly fragile.

I'm still not clear, though, whether we have a bug or whether it's just
that your expectation is at odds with the way in which this is intended
to work.

If you think there's a bug here, could you run the code you posted in a
console window, do what actions are needed to make it fail, and then
cut-and-paste the result here, possibly as an attached file. (Don't post
a screenshot; just use the cmd window's mark-and-copy functionality to
select the visible text).

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26531>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26531] Keyboard Interrupts not caught when used within a class method on Windows 10

2016-03-10 Thread TJG

TJG added the comment:

I don't have Win10 to test with, but can you confirm that the method is
necessary for the code to fail? IOW does this fail equally?

while True:
try: raw_input()
except KeyboardInterrupt: print "Interrupt!"

Also, do I assume that the code simply carries on regardless without
reaching the exception handler? Or does something else happen?

--
nosy: +tjguk

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26531>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com