[issue45382] platform() is not able to detect windows 11

2022-03-28 Thread Tim Golden
Tim Golden added the comment: > I don't see why the wmi module ( https://pypi.org/project/WMI/ ) can't be > used instead to get the information Well I can speak here as the author of that module and as an (occasional) core developer. The wmi module stands on the shoulderes of the p

[issue45621] Small fixes to mmap

2021-10-29 Thread Tim Golden
Change by Tim Golden : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue45621] Small fixes to mmap

2021-10-29 Thread Tim Golden
Tim Golden added the comment: New changeset 7bddd96982072d04bd6314da1ee7f40b7f875f00 by Tim Golden in branch 'main': bpo-45621: Small changes to mmap (GH-29247) https://github.com/python/cpython/commit/7bddd96982072d04bd6314da1ee7f40b7f875f00

[issue45621] Small fixes to mmap

2021-10-27 Thread Tim Golden
Change by Tim Golden : -- keywords: +patch pull_requests: +27511 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29247 ___ Python tracker <https://bugs.python.org/issu

[issue45621] Small fixes to mmap

2021-10-27 Thread Tim Golden
New submission from Tim Golden : Following issue40915 a few small items still need to be addressed, mostly cosmetic / naming: * A comment should have been removed but wasn't * A comment should have been added but wasn't * The use of the string "TEST" should be avoided in tests pa

[issue40915] multiple problems with mmap.resize() in Windows

2021-10-26 Thread Tim Golden
Change by Tim Golden : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40915] multiple problems with mmap.resize() in Windows

2021-10-26 Thread Tim Golden
Tim Golden added the comment: New changeset aea5ecc458084e01534ea6a11f4181f369869082 by Tim Golden in branch 'main': bpo-40915: Fix mmap resize bugs on Windows (GH-29213) https://github.com/python/cpython/commit/aea5ecc458084e01534ea6a11f4181f369869082

[issue40915] multiple problems with mmap.resize() in Windows

2021-10-25 Thread Tim Golden
Change by Tim Golden : -- keywords: +patch pull_requests: +27477 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/29213 ___ Python tracker <https://bugs.python.org/issu

[issue2733] mmap resize fails on anonymous memory

2021-10-23 Thread Tim Golden
Change by Tim Golden : -- resolution: later -> duplicate superseder: -> multiple problems with mmap.resize() in Windows ___ Python tracker <https://bugs.python.org/

[issue2733] mmap resize fails on anonymous memory

2021-10-23 Thread Tim Golden
Tim Golden added the comment: Superseded by issue40915 -- ___ Python tracker <https://bugs.python.org/issue2733> ___ ___ Python-bugs-list mailing list Unsub

[issue2733] mmap resize fails on anonymous memory

2021-10-23 Thread Tim Golden
Change by Tim Golden : -- resolution: -> later stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue2733> ___

[issue40915] multiple problems with mmap.resize() in Windows

2021-10-23 Thread Tim Golden
Change by Tim Golden : -- assignee: -> tim.golden ___ Python tracker <https://bugs.python.org/issue40915> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue12562] calling mmap twice fails on Windows

2021-10-23 Thread Tim Golden
Tim Golden added the comment: (switching stage to resolved because it's closed/rejected; sorry for the noise) -- stage: -> resolved ___ Python tracker <https://bugs.python.org/issu

[issue2733] mmap resize fails on anonymous memory

2021-10-23 Thread Tim Golden
Tim Golden added the comment: https://bugs.python.org/issue40915 is related Retargetting for 3.10+ -- assignee: -> tim.golden versions: +Python 3.10, Python 3.11 -Python 2.7, Python 3.2 ___ Python tracker <https://bugs.python.org/iss

[issue14170] print unicode string error in win8 cmd console

2021-10-22 Thread Tim Golden
Tim Golden added the comment: Closing this as out-of-date. The original bug was reported against 2.7 and Win8, both of which are either end-of-life now. No follow up in 9 years and I'm quite certain that modern Pythons handle all manner of Unicode chars on the console

[issue34240] Convert test_mmap to use tempfile

2021-10-22 Thread Tim Golden
Tim Golden added the comment: Closing as no longer reproducible in the current codebase on my current laptop -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40912] _PyOS_SigintEvent is never closed on Windows

2020-06-11 Thread Tim Golden
Change by Tim Golden : -- assignee: -> tim.golden ___ Python tracker <https://bugs.python.org/issue40912> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue40913] time.sleep ignores errors on Windows

2020-06-11 Thread Tim Golden
Tim Golden added the comment: Thanks, Eryk. I've had a couple of casts at this (and also with an eye to https://bugs.python.org/issue40912 in a very similar area). Trouble is I can't come up with a way of adding a set.. function which doesn't seem wholly artificial, given that it's

[issue40913] time.sleep ignores errors on Windows

2020-06-11 Thread Tim Golden
Change by Tim Golden : -- assignee: -> tim.golden ___ Python tracker <https://bugs.python.org/issue40913> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue40913] time.sleep ignores errors on Windows

2020-06-10 Thread Tim Golden
Tim Golden added the comment: Thinking about testing here.. is there any straightforward way to cause WaitForSingleObjectEx to fail? The code change would be fairly slight and amenable to inspection, but it would be good to actually test

[issue38324] [Windows] test_locale and test__locale failures on Windows

2019-09-30 Thread Tim Golden
Tim Golden added the comment: This is the existing issue https://bugs.python.org/issue37945 which I haven't had time to progress. Please feel free to follow up -- ___ Python tracker <https://bugs.python.org/issue38

[issue37945] test_locale failing

2019-08-26 Thread Tim Golden
Tim Golden added the comment: This feels like one of those changes where what's in place is clearly flawed but any change seems like it'll break stuff which people have had in place for years. I'll try to look at a least-breaking change but I'm honestly not sure what that would look like

[issue37945] test_locale failing

2019-08-26 Thread Tim Golden
Tim Golden added the comment: I agree that that could be a fix. And certainly, if it turns out that this could never have (recently) worked as Eryk is suggesting, then let's go for it. But I still have this uneasy feeling that it's not failing on the buildbots and I can't see any sign

[issue37945] test_locale failing

2019-08-26 Thread Tim Golden
Tim Golden added the comment: Thanks, Eryk. Your explanation is as clear as always. But my question is, then: why is my machine failing this test [the only one which uses this two-part locale] and not the buildbots or (presumably) any other Windows developer

[issue37945] test_locale failing

2019-08-25 Thread Tim Golden
Tim Golden added the comment: Just to save you looking, the code in https://github.com/python/cpython/blob/master/Modules/_localemodule.c#L107 converts the 2-tuple to lang.encoding form so the C module is seeing "en_GB.cp1252" --

[issue37945] test_locale failing

2019-08-25 Thread Tim Golden
Tim Golden added the comment: Ok; so basically this doesn't work: import locale locale.setlocale(locale.LC_CTYPE, locale.getdefaultlocale()) It gives "locale.Error: unsupported locale setting" which comes from https://github.com/python/cpython/blob/master/Modules/_localemod

[issue37945] test_locale failing

2019-08-25 Thread Tim Golden
New submission from Tim Golden : On a Win10 machine I'm consistently seeing test_locale (and test__locale) fail. I'll attach pythoninfo. == ERROR: test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous

[issue36800] Invalid coding error hidden on Windows

2019-05-05 Thread Tim Golden
Tim Golden added the comment: Python 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 03:37:03) [MSC v.1900 64 bit (AMD64)] on win32 I can't reproduce this on Windows. And it does seem an unlikely combination of effect and cause. Do I take it that if you take out all the "logging...&q

[issue35140] encoding problem: gbk

2018-11-02 Thread Tim Golden
Tim Golden added the comment: I'm afraid you'll have to use English in this forum so that all current and future readers have the best chance of understanding the situation. Thank you very much for making the effort this far. If anyone on this issue knows of a Chinese-language forum where

[issue34239] Convert test_bz2 to use tempfile

2018-07-28 Thread Tim Golden
Change by Tim Golden : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34240] Convert test_mmap to use tempfile

2018-07-27 Thread Tim Golden
Tim Golden added the comment: Thanks for the information, eryksun. For the moment, I can only say with a fair degree of certainty that using the tempfile functions as I have in test_bz2 & test_mmap appears to solve the issue which is repeatably if intermittently present without that ch

[issue34239] Convert test_bz2 to use tempfile

2018-07-26 Thread Tim Golden
Tim Golden added the comment: New changeset 6a62e1d365934de82ff7c634981b3fbf218b4d5f by Tim Golden in branch 'master': bpo-34239: Convert test_bz2 to use tempfile (#8485) https://github.com/python/cpython/commit/6a62e1d365934de82ff7c634981b3fbf218b4d5f

[issue34240] Convert test_mmap to use tempfile

2018-07-26 Thread Tim Golden
Change by Tim Golden : -- keywords: +patch pull_requests: +8008 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34240> ___ ___ Python-

[issue34240] Convert test_mmap to use tempfile

2018-07-26 Thread Tim Golden
New submission from Tim Golden : test_mmap currently uses the test.support.TESTFN functionality which creates a temporary file local to the test directory named around the pid. This can give rise to race conditions where tests are competing with each other to delete and recreate the file

[issue34239] Convert test_bz2 to use tempfile

2018-07-26 Thread Tim Golden
Change by Tim Golden : -- keywords: +patch pull_requests: +8007 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue34239> ___ ___ Python-

[issue34239] Convert test_bz2 to use tempfile

2018-07-26 Thread Tim Golden
New submission from Tim Golden : test_bz2 currently uses the test.support.TESTFN functionality which creates a temporary file local to the test directory named around the pid. This can give rise to race conditions where tests are competing with each other to delete and recreate the file

Re: hello from a very excited and totally blind python programmer and game player

2018-07-25 Thread Tim Golden
Hi Daniel, I'm unsure how well your support tools will work with quoted emails. I'm going to place my answer below your text according to the convention on this list. On 24/07/2018 21:09, Daniel Perry wrote: Hi there everyone, my name is Daniel Perry and I'm a totally blind new Python user.

[issue34195] test_nt_helpers fails with case difference in drive letter

2018-07-25 Thread Tim Golden
Tim Golden added the comment: New changeset ff64add8d4be2e37c552ba702f629b0b6639cd33 by Tim Golden in branch 'master': bpo-34195: Fix case-sensitive comparison in test_nt_helpers (GH-8448) https://github.com/python/cpython/commit/ff64add8d4be2e37c552ba702f629b0b6639cd33

[issue34195] test_nt_helpers fails with case difference in drive letter

2018-07-25 Thread Tim Golden
Tim Golden added the comment: Test fixed to ignore case and volume differences between paths -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue34195] test_nt_helpers fails with case difference in drive letter

2018-07-24 Thread Tim Golden
Change by Tim Golden : -- keywords: +patch pull_requests: +7970 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue34195] test_nt_helpers fails with case difference in drive letter

2018-07-23 Thread Tim Golden
Tim Golden added the comment: I think I've got down to the determining factor. For info: PYTHONHOME has nothing to do with it: the same thing happens if I cd into PCBuild\win32 and run python_d.exe directly For historical reasons the directory in which I'm building (c:\work-in-progress

[issue34195] test_nt_helpers fails with case difference in drive letter

2018-07-23 Thread Tim Golden
Tim Golden added the comment: @eryksun almost idly I ran your ctypes code in the built interpreter. As written, it produces a lower-case c:\\ as yours did. But... Running Debug|Win32 interpreter... Python 3.8.0a0 (heads/master:7a3056f, Jul 23 2018, 08:23:33) [MSC v.1912 32 bit (Intel

[issue34195] test_nt_helpers fails with case difference in drive letter

2018-07-23 Thread Tim Golden
Tim Golden added the comment: Thanks, @eryksun. Whatever the reason, it's consistently failing in the way I describe. A case-insensitive test is obviously good for that and for the other reasons you give, so I'll patch the test anyway

[issue34195] test_nt_helpers fails with case difference in drive letter

2018-07-23 Thread Tim Golden
Tim Golden added the comment: import nt, sys; assert sys.executable.startswith(nt._getvolumepathname(sys.executable)) This code fails only when run from the python.bat as created by pcbuild\build.bat. The obvious difference is that the batch file sets PYTHONHOME which, presumably, is used

[issue34195] test_nt_helpers fails with case difference in drive letter

2018-07-23 Thread Tim Golden
New submission from Tim Golden : >From a fresh build on Win10 with VS2017: python -munittest -v test.test_ntpath.TestNtpath.test_nt_helpers gives the following error: == FAIL: test_nt_helpers (test.test_ntpath.TestNtp

Moderator interjection [WAS: Re: What "cult-like behavior" meant]

2018-07-17 Thread Tim Golden
[Moderator hat on] Please. Step back. We've gone over and over this (and not for the first time). This has ceased to be a enlightening discussion into possibly interesting issues of Unicode implementation. It has effectively become a restatement of entrenched positions. If the key

Re: Where's the junk coming from?

2018-06-28 Thread Tim Golden
On 28/06/2018 09:05, Kerr Avon wrote: On Wed, 27 Jun 2018 21:43:12 +1200, Avon wrote: Hey Cameron, Apologies for this. I have contacted the Fido system connected to the gateway I run into news.bbs.nz and have asked them to urgently sort / check what's up. If I don't get any joy from them

Re: Feeding the trolls

2018-06-22 Thread Tim Golden
On 22/06/2018 09:33, bart4...@gmail.com wrote: It costs me some genuine effort to make what I believe are relevant and interesting technical posts I thank you for at least taking that trouble. But I think that this is probably where the difference lies. This newsgroup/mailing list is

Re: syntax difference

2018-06-20 Thread Tim Golden
[... snip discussions about Bart's language ...] Wearing my moderator hat Can we take the "Bart's language vs Python Show" to some other forum, please? We've already gone over this ground again and again and it isn't helping the signal-to-noise ratio here on the Python list / comp.lang.python

Re: Fwd: Python Import Impossibility

2018-04-20 Thread Tim Golden
of people responding individually saying that images are stripped.  It's looking like a bit of a traffic increaser. My impression is that attachments are more common than 20 years ago. In a more draconian world, we could even bounce such messages. If Tim Golden does not reply to this, send

Re: please test the new PyPI (now in beta)

2018-03-28 Thread Tim Golden
On 28/03/2018 15:50, sumana.hariharesw...@gmail.com wrote: I'll give a bit of context on PyPI's new visual design, then talk about specific concerns folks have mentioned in this thread. [... snip ...] At the risk of sounding patronising, can I thank you for coming back to engage with the

Re: please test the new PyPI (now in beta)

2018-03-27 Thread Tim Golden
On 27/03/2018 11:06, Steven D'Aprano wrote: On Tue, 27 Mar 2018 10:48:15 +0100, Paul Moore wrote: By the way, on the search page: https://pypi.org/search/ it says "Enter a search query above, or select a filter from the list of classifiers on the left" but there is no such filter or list of

Can mock.mock_open.read return different values?

2018-03-12 Thread Tim Golden
I'm contributing to a codebase which makes heavy use of mock in the test suite, a technique which I'm aware of but have used only rarely. In one situation it uses mock.mock_open(read_data="...") and then asserts again mock_open.return_value.read.call_count. A code change I've made results in

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-09 Thread Tim Golden
On 09/02/2018 15:37, Chris Green wrote: Steven D'Aprano wrote: On Fri, 09 Feb 2018 12:45:29 +, Chris Green wrote: Mark Lawrence wrote: [...] Please don't waste your time with the gmane website. Just point any (semi-)decent

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-09 Thread Tim Golden
On 09/02/2018 05:00, Steven D'Aprano wrote: On Thu, 08 Feb 2018 23:40:57 +, Mark Lawrence wrote: I don't see any spam in my inbox as I read on gmane, I'm pointing out the disgraceful state of gg and why it should be dropped as it's less than useless. Who is it that you think should

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Groups

2018-02-01 Thread Tim Golden
On 01/02/2018 17:01, superchromix wrote: Our own programming discussion newsgroup, located at comp.lang.idl-pvwave, started receiving spam messages several months ago. Two weeks ago, access to comp.lang.idl-pvwave was blocked by Google Groups. When trying to access comp.lang.idl-pvwave, a

Re: Where has the practice of sending screen shots as source code come from?

2018-01-28 Thread Tim Golden
On 28/01/2018 15:04, Steven D'Aprano wrote: I'm seeing this annoying practice more and more often. Even for trivial pieces of text, a few lines, people post screenshots instead of copying the code. Where has this meme come from? It seems to be one which inconveniences *everyone* involved: -

Re: Simple graphic library for beginners

2018-01-12 Thread Tim Golden
On 12/01/2018 08:47, Paul Moore wrote: On 12 January 2018 at 01:21, bartc wrote: On 11/01/2018 23:23, Chris Angelico wrote: On Fri, Jan 12, 2018 at 10:11 AM, bartc wrote: I'm almost ready to plonk you, but I think there is still SOME value in your

Re: [META] Are the list admins honouring Posting Prohibited demands?

2017-12-20 Thread Tim Golden
On 20/12/2017 05:52, Steve D'Aprano wrote: This is possibly a question for the list admins... I notice that Lawrence D’Oliveiro has taken up labelling his posts with a demand that his posts are not to be posted to the Python-List mailing list. I also see that his posts are not showing up on

Re: Repeated Names (Repeated Names)

2017-12-17 Thread Tim Golden
On 17/12/2017 13:22, Jon Ribbens wrote: On 2017-12-17, Tim Golden <m...@timgolden.me.uk> wrote: On 17/12/17 00:10, Gregory Ewing wrote: The duplicate posts all seem to have this header: Injection-Info: news.bbs.geek.nz; posting-host="M6YmRdZYyc42DJk0lNlt/X4dpP4dzvce

Re: Repeated Names (Repeated Names)

2017-12-16 Thread Tim Golden
On 17/12/17 00:10, Gregory Ewing wrote: The duplicate posts all seem to have this header: Injection-Info: news.bbs.geek.nz; posting-host="M6YmRdZYyc42DJk0lNlt/X4dpP4dzvceBNabSmESN3E"; logging-data="4415"; mail-complaints-to="ab...@news.bbs.geek.nz" I've emailed the administrator of

Re: unabe to import /pyd file.

2017-12-15 Thread Tim Golden
On 15/12/2017 09:58, supsw...@gmail.com wrote: Hi, I have created one library file "modified_python_automation_tcl.py"..Inside my library file I have set of codes as follows. import sys import time from datetime import datetime import

Re: repeating posts

2017-12-09 Thread Tim Golden
On 09/12/2017 05:35, Rustom Mody wrote: Repeating old posts again appearing [No not complaining… I know people are working on it. Thanks Skip and whoever else] Just thought I'd mention they are now mildly mojibaked I've just added a new filter and pinged the other list admins /

Re: nospam ** infinity?

2017-11-28 Thread Tim Golden
On 28/11/2017 10:17, Thomas Jollans wrote: On 2017-11-28 02:14, Skip Montanaro wrote: I'm 99.5% certain it's not gate_news. A funny thing. All messages I have looked at so far with the "nospam" thing have a Message-ID from binkp.net. (They are also all Usenet posts.) For example: Newsgroups:

Re: Increasing the diversity of people who write Python

2017-11-28 Thread Tim Golden
On 28/11/2017 08:41, Paul Moore wrote: On 27 November 2017 at 19:05, Paul Moore wrote: On 27 November 2017 at 18:13, Skip Montanaro wrote: If you have a Windows key, you can assign it to be the Compose key. Would this be true on a machine

Re: Easiest way to access C module in Python

2017-11-07 Thread Tim Golden
On 07/11/2017 14:20, bartc wrote: On 07/11/2017 13:30, Thomas Jollans wrote: On 2017-11-07 12:53, bartc wrote: Having said that, I located pip.exe, trying typing 'pip install cffi' and it seemed to be doing something but then failed with a bunch of errors.) So you're missing out on all of

Re: Compression of random binary data

2017-10-24 Thread Tim Golden
On 24/10/2017 16:40, Lele Gaifax wrote: Steve D'Aprano writes: But given an empty file, how do you distinguish the empty file you get from 'music.mp3' and the identical empty file you get from 'movie.avi'? That's simple enough: of course one empty file would be

Re: Want to write a python code for sending and receiving frames over wifi/wlan0 using python

2017-10-12 Thread Tim Golden
On 12/10/2017 09:08, T Obulesu wrote: Hello all, I want to send some frames defined by me{Example, [0x45,0x43,0x32]} to the raspberry pi from any macine(Desktop/Laptop/other raspberry pi). But I want to send those frames over wifi or use wlan0 using python Any suggestions? Are you talking

Re: pathlib PurePosixPath

2017-10-10 Thread Tim Golden
On 2017-10-10 10:58, Chris Angelico wrote: On Tue, Oct 10, 2017 at 8:56 PM, Tim Golden <m...@timgolden.me.uk> wrote: My understanding of the document you linked to is that the colon still has special meaning, and thus you can't use it in arbitrary file names. In fact its pr

Re: pathlib PurePosixPath

2017-10-10 Thread Tim Golden
On 2017-10-10 10:28, Chris Angelico wrote: On Tue, Oct 10, 2017 at 8:22 PM, Tim Golden <m...@timgolden.me.uk> wrote: On 2017-10-10 08:29, Chris Angelico wrote: On Tue, Oct 10, 2017 at 6:21 PM, Sayth Renshaw <flebber.c...@gmail.com> wrote: Hi How do I create a val

Re: pathlib PurePosixPath

2017-10-10 Thread Tim Golden
On 2017-10-10 08:29, Chris Angelico wrote: On Tue, Oct 10, 2017 at 6:21 PM, Sayth Renshaw wrote: Hi How do I create a valid file name and directory with pathlib? When I create it using PurePosixPath I end up with an OSError due to an obvously invlaid path being

Re: The mysterious ways of Python mailing list

2017-09-30 Thread Tim Golden
On 29/09/2017 18:15, Vincent Vande Vyvre wrote: Is it a reason why my messages appears always a long time (today 9 hours) on the list after I send it ? Vincent, Your address is being caught in our moderation traps for some reason. At the moment I'm away and on-line less than usual. Perhaps

Re: Spacing conventions

2017-09-27 Thread Tim Golden
On 27/09/17 09:50, Bill wrote: If you are teaching beginning students, do you expect them to try to follow these sorts of conventions? Is it perfectly fine to let "taste" guide you (I'm just trying to get a feel for the philosophy here)? I few years ago I wrote a few short blog posts about

Re: Grumpy-pants spoil-sport [was Re: [Tutor] beginning to code]

2017-09-26 Thread Tim Golden
On 26/09/2017 15:16, Grant Edwards wrote: On 2017-09-26, Ned Batchelder wrote: On 9/25/17 10:20 PM, Steve D'Aprano wrote: On Tue, 26 Sep 2017 02:54 am, Ned Batchelder wrote: [...] We've been asked nicely by the list mod to stop :) Perhaps we could agree on a

Re: The Incredible Growth of Python (stackoverflow.blog)

2017-09-12 Thread Tim Golden
On 12/09/2017 12:20, Leam Hall wrote: This is an area the Python community can improve on. Even I would encourage someone new to Python and wanting to do webdev to use Python 3. But if someone comes onto the list, or IRC, and says they need to stay on Python 2 then please drop the dozens of

Re: Simple board game GUI framework

2017-09-11 Thread Tim Golden
On 11/09/2017 11:58, Paul Moore wrote: I'm doing some training for a colleague on Python, and I want to look at a bit of object orientation. For that, I'm thinking of a small project to write a series of classes simulating objects moving round on a chess-style board of squares. Don't know if

Re: Reading the documentation

2017-08-26 Thread Tim Golden
On 26/08/2017 03:22, Rick Johnson wrote: Steve D'Aprano wrote: Rustom Mody wrote: Ian wrote: "Larry Martell" wrote: 9:21 PM Rustom Mody wrote: Statement 1: Aeroplanes fly. Statement 2: Submarines swim. Are these two statements equally acceptable? [Inspired by a talk by Noam Chomsky] There

Re: Express thanks

2017-08-25 Thread Tim Golden
On 21/08/2017 15:34, Hamish MacDonald wrote: I wanted to give a shout out to the wonderfully passionate contributions to python I've witnessed following this and other mailing lists over the last little bit. The level of knowledge and willingness to help I've seen are truly inspiring. Super

Re: Recent Spam problem

2017-07-26 Thread Tim Golden
On 25/07/2017 06:13, Rustom Mody wrote: Of late there has been an explosion of spam Thought it was only a google-groups (USENET?) issue and would be barred from the mailing list. But then find its there in the mailing list archives as well Typical example:

[issue30979] the winapi fails to run shortcuts (because considers a shortcut not a valid Win32App)

2017-07-21 Thread Tim Golden
Tim Golden added the comment: For shell objects such as shortcuts you could use os.startfile which invokes ShellExecute under the covers -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

Re: how to get partition information of a hard disk with python

2017-07-07 Thread Tim Golden
On 07/07/2017 07:18, palashkhair...@gmail.com wrote: On Wednesday, September 22, 2010 at 4:01:04 AM UTC+5:30, Hellmut Weber wrote: Hi list, I'm looking for a possibility to access the partiton inforamtion of a hard disk of my computer from within a python program. Googling I found the module

Meta: double posts [Was: School Management System in Python]

2017-07-05 Thread Tim Golden
Are you posting both to python-list@python.org and to comp.lang.python -- and under different names? If you are, please use one or the other: they mirror both ways, and we're seeing double posts which the gateway thinks are different because of a different sending address. Thanks TJG --

Re: School Management System in Python

2017-07-05 Thread Tim Golden
On 05/07/2017 13:49, Thomas Nyberg wrote: On 07/05/2017 02:14 PM, Sam Chats wrote: Thanks for your suggestions. I would've not used pickle had I been aware about other tools while developing this. I was thinking about migrating to sqlite3. How about that? And yes, I need more comprehanesive

Re: Spammy spam spam spam spam

2017-07-04 Thread Tim Golden
On 04/07/2017 16:40, Steve D'Aprano wrote: On Tue, 4 Jul 2017 10:55 pm, Case Solution & Analysis wrote: Our e-mail address is CASESOLUTIONSCENTRE (AT) GMAIL (DOT) COM. Please replace (at) by @ and (dot) by . Since we don't yet have a protocol for transmitting a punch to the face over TCP/IP,

[issue30731] Use correct executable manifest for windows

2017-06-22 Thread Tim Golden
Changes by Tim Golden <m...@timgolden.me.uk>: -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue22028] Python 3.4.1 Installer ended prematurely (Windows msi)

2017-06-18 Thread Tim Golden
Tim Golden added the comment: [Housekeeping] Closing this as fixed. The mimetypes fix is in; the 3.4 installer is well out of support. If any other issues arise on current installers they should be raised as new issues. -- resolution: -> fixed stage: -> resolved status

[issue8631] subprocess.Popen.communicate(...) hangs on Windows

2017-06-18 Thread Tim Golden
Tim Golden added the comment: I can't reproduce either on 2.7 or on 3.5 with any of the examples shown. Closing again as not-a-bug. -- resolution: -> not a bug status: open -> closed versions: -Python 2.7, Python 3.4 ___ Python tracke

Re: Rosetta: Sequence of non-squares

2017-05-02 Thread Tim Golden
On 02/05/2017 11:18, Rhodri James wrote: On 02/05/17 08:20, Mark Summerfield via Python-list wrote: (The posts are already filtered out of the official comp.lang.python list, but they can't do this for the Google Groups version.) Careful! The posts are filtered out of the official Python

Re: Bigotry (you win, I give up)

2017-04-26 Thread Tim Golden
On 26/04/2017 08:00, m.n.summerfield--- via Python-list wrote: Surely it is time to stop the "Robert L." emails? We're currently blocking the "Robert L." emails through the list gateway. And -- barring one, which was passed through by mistake -- I've not seen any hit the list itself lately.

[issue30161] Using `with` statement causes dict to start papering over attribute errors

2017-04-25 Thread Tim Golden
Tim Golden added the comment: I think you're suppressing sys.stderr after the "with". Try a NameError or anything. Alternatively, try a "with" which isn't using sys.stderr Obviously, the next question is why *that's* happening.

Re: Moderating the list [was: Python and the need for speed]

2017-04-13 Thread Tim Golden
On 13/04/2017 03:39, Jason Friedman wrote: However, it's simply a technical fact: the thing which we moderate is the mailing list. We can control which posts make it through from the newsgroup by blocking them at the gateway. But the posts will continue to appear on comp.lang.python which is,

Moderating the list [was: Python and the need for speed]

2017-04-11 Thread Tim Golden
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse. What exactly do Tim Golden and Ethan Furman moderate on? We (and the other moderators) exactly moderate the mailing list. I have no authority over the newsgroup, and I don't know who does.

Re: Python and the need for speed

2017-04-11 Thread Tim Golden
On 11/04/2017 00:33, Chris Angelico wrote: If he does, it might be the final thing that gets him banned from the mailing list. A meta-note, since I happen to have seen this email come up. I don't know about the other list moderators, but I don't personally follow every sprawling thread and

Re: What's the neatest way of getting dictionary entries in a specified order?

2017-03-09 Thread Tim Golden
On 08/03/2017 22:10, Chris Angelico wrote: On Thu, Mar 9, 2017 at 8:25 AM, Chris Green wrote: Chris Angelico wrote: On Thu, Mar 9, 2017 at 6:27 AM, Chris Green wrote: dbcol['firstname'] = col('First Name', True, False)

Re: Who still supports recent Python on shared hosting

2017-03-06 Thread Tim Golden
On 06/03/2017 02:39, John Nagle wrote: I'm looking for shared hosting that supports at least Python 3.4. Hostgator: Highest version is Python 3.2. Dreamhost: Highest version is Python 2.7. Bluehost: Install Python yourself. InMotion: Their documentation says 2.6. Is Python on shared hosting

[issue29624] Python 3.5.3 x86 web installer cannot install launcher

2017-02-23 Thread Tim Golden
Tim Golden added the comment: Since the webmaster@ address tends to bear the brunt of these, can I make sure I understand the situation? * The only installers affected are those for x86/32-bit Windows 3.5.3 * By default [I just checked] the launcher checkbox is not checked

Re: Repeating of posts

2017-02-10 Thread Tim Golden
On 10/02/2017 16:20, Rob Gaddi wrote: On 02/10/2017 07:25 AM, Grant Edwards wrote: On 2017-02-10, Cecil Westerhof wrote: I see a lot of post delivered multiple times. Is that a problem at my side, or are others experiencing this also? I see it too. Same as a a month or

[issue29525] Python 2.7.13 for Windows broken (from prompt)

2017-02-10 Thread Tim Golden
Tim Golden added the comment: Although I don't remember seeing a crash out as quick as this, common causes for this kind of thing are to do with environment variables pointing to still-existing or part-existing installations. Can you try: set PY from a command prompt, please, to see if any

Re: Meta: mailing list, bounces, and SPF?

2017-02-03 Thread Tim Golden
On 03/02/2017 18:15, Tim Chase wrote: However, despite seeing messages appearing in the online archives, I'm not receiving anything via email. When I send a "subscribe" message to mailman, it responds telling me that I'm already subscribed (and checking the settings on the web interface confirm

Re: learning and experimenting python.

2017-01-01 Thread Tim Golden
On 02/01/17 06:40, Ian Kelly wrote: On Mon, Jan 2, 2017 at 12:15 AM, Ian Kelly wrote: Since they're unlikely to do that however, Then again, I see that einstein1410 made a couple of rather aggressive posts 11 hours ago that haven't made it to my email, so maybe he did

  1   2   3   4   5   6   7   8   9   10   >