Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(47)

Issue 6471043: Removes popen3 deprecated warning (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by PhilEHolmes
Modified:
11 years, 8 months ago
Reviewers:
John Mandereau, mail, Graham Percival, Reinhold, t.daniels, email
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

I tested this on windows by adding a call to Popen (just opening notepad) at the start of lilypond-book. This is why we need the conditional test for fds-close - windows does not allow this to be True when used with the stdin, etc., options. This is running the python instance that is delivered with the current lilypond. I have also run make, make doc and confirmed that the deprecation warning is taken out.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
M python/book_snippets.py View 2 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 14
PhilEHolmes
Please review
11 years, 8 months ago (2012-08-18 13:50:13 UTC) #1
Reinhold
IIRC, the problem was not the Popen wouldn't be working on Windows. Rather, our GUB ...
11 years, 8 months ago (2012-08-18 14:12:43 UTC) #2
Graham Percival
Hmm. I'm not really qualified to comment on python+windows+GUB stuff, but are you certain that ...
11 years, 8 months ago (2012-08-18 14:23:09 UTC) #3
mail_philholmes.net
----- Original Message ----- From: <reinhold.kainhofer@gmail.com> To: <PhilEHolmes@googlemail.com>; <graham@percival-music.ca>; <john.mandereau@gmail.com> Cc: <reply@codereview-hr.appspotmail.com>; <lilypond-devel@gnu.org> Sent: Saturday, ...
11 years, 8 months ago (2012-08-18 14:31:12 UTC) #4
email_philholmes.net
----- Original Message ----- From: <graham@percival-music.ca> To: <PhilEHolmes@googlemail.com>; <john.mandereau@gmail.com>; <reinhold.kainhofer@gmail.com> Cc: <lilypond-devel@gnu.org>; <reply@codereview-hr.appspotmail.com> Sent: Saturday, ...
11 years, 8 months ago (2012-08-18 14:31:55 UTC) #5
Graham Percival
On Sat, Aug 18, 2012 at 03:31:06PM +0100, Phil Holmes wrote: > My understanding of ...
11 years, 8 months ago (2012-08-18 14:39:29 UTC) #6
mail_philholmes.net
----- Original Message ----- From: "Graham Percival" <graham@percival-music.ca> To: "Phil Holmes" <mail@philholmes.net> Cc: <PhilEHolmes@googlemail.com>; <john.mandereau@gmail.com>; ...
11 years, 8 months ago (2012-08-18 15:14:01 UTC) #7
email_philholmes.net
----- Original Message ----- From: "Phil Holmes" <mail@philholmes.net> To: "Graham Percival" <graham@percival-music.ca> Cc: <PhilEHolmes@googlemail.com>; <john.mandereau@gmail.com>; ...
11 years, 8 months ago (2012-08-18 16:23:42 UTC) #8
email_philholmes.net
----- Original Message ----- From: "Phil Holmes" <email@philholmes.net> To: "Phil Holmes" <mail@philholmes.net>; "Graham Percival" <graham@percival-music.ca> ...
11 years, 8 months ago (2012-08-18 17:06:35 UTC) #9
Graham Percival
On Sat, Aug 18, 2012 at 05:23:17PM +0100, Phil Holmes wrote: > ----- Original Message ...
11 years, 8 months ago (2012-08-18 18:34:36 UTC) #10
t.daniels_treda.co.uk
Graham Percival wrote Saturday, August 18, 2012 7:34 PM > On Sat, Aug 18, 2012 ...
11 years, 8 months ago (2012-08-18 21:03:54 UTC) #11
t.daniels_treda.co.uk
Trevor Daniels wrote Saturday, August 18, 2012 10:03 PM > I don't know what Phil ...
11 years, 8 months ago (2012-08-18 21:37:17 UTC) #12
email_philholmes.net
----- Original Message ----- From: "Trevor Daniels" <t.daniels@treda.co.uk> To: "Graham Percival" <graham@percival-music.ca>; "Phil Holmes" <email@philholmes.net> ...
11 years, 8 months ago (2012-08-19 09:34:36 UTC) #13
t.daniels_treda.co.uk
11 years, 8 months ago (2012-08-19 20:09:50 UTC) #14
Phil Holmes

> See my other note - if you have stashes of your installs, have a look at
> 
> C:\Program Files (x86)\LilyPond\usr\lib\python2.4\config\config.c
> 
> You'll see that at 15.18 there's no mention of msvcrt but in 15.21 it's 
> there.  So something (but I don't know what) caused us to start delivering 
> msvcrt-linked python at that time.  There's no binary needed to test this 
> one - you could update/download an updated book_snippets.py, or I could send 
> you one, if you want?

I don't have the versions of 15 between .13 and .21 installed, but I can
confirm that config.c does not contain msvcrt in .13 but config.c in .21 and 
later all do.  So you've definitely found the source of the msvcrt problem -
the python installation on the machine used to run GUB must have changed
between 15.18 and 15.21.  That explains why the symptoms of issue 1933
changed between Sept 11 and Dec 11 too.

It probably isn't worth pursuing this any further as it's no longer an issue,
unless Graham has any recollection of what might have changed between
the .18 and .21 builds.  It would be nice to know, just in case it reappears.

Trevor

Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b