linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rteval: Correct Python version in doc/rteval.txt
@ 2023-08-08 11:52 Tomas Glozar
  2023-08-08 18:29 ` John Kacur
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Glozar @ 2023-08-08 11:52 UTC (permalink / raw)
  To: linux-rt-users; +Cc: jkacur, Tomas Glozar

doc/rteval.txt specifies that rteval is a Python 2.x program. This is
not true, since rteval no longer works with Python 2.x:
$ python2 rteval-cmd
  File "rteval-cmd", line 67
    print(f"Don't know how to summarize {repfile} (tarfile open failed)")
                                                                       ^
SyntaxError: invalid syntax

Replace "Python 2.x" with "Python 3.x".

Signed-off-by: Tomas Glozar <tglozar@redhat.com>
---
 doc/rteval.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/rteval.txt b/doc/rteval.txt
index 7342866..569168e 100644
--- a/doc/rteval.txt
+++ b/doc/rteval.txt
@@ -21,7 +21,7 @@ of a network packet). To give a realtime application the best chance
 of meeting its deadline(s), a realtime OS must minimize the time
 between event occurance and the servicing of that event (latency). 
 
-This paper describes the 'rteval' program, a Python 2.x program
+This paper describes the 'rteval' program, a Python 3.x program
 developed at Red Hat to help quantify realtime performance on the
 Realtime kernel. Rteval is an attempt to put together a synthetic
 benchmark which mimics a well behaved realtime application, running on
-- 
2.39.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rteval: Correct Python version in doc/rteval.txt
  2023-08-08 11:52 [PATCH] rteval: Correct Python version in doc/rteval.txt Tomas Glozar
@ 2023-08-08 18:29 ` John Kacur
  0 siblings, 0 replies; 2+ messages in thread
From: John Kacur @ 2023-08-08 18:29 UTC (permalink / raw)
  To: Tomas Glozar; +Cc: linux-rt-users



On Tue, 8 Aug 2023, Tomas Glozar wrote:

> doc/rteval.txt specifies that rteval is a Python 2.x program. This is
> not true, since rteval no longer works with Python 2.x:
> $ python2 rteval-cmd
>   File "rteval-cmd", line 67
>     print(f"Don't know how to summarize {repfile} (tarfile open failed)")
>                                                                        ^
> SyntaxError: invalid syntax
> 
> Replace "Python 2.x" with "Python 3.x".
> 
> Signed-off-by: Tomas Glozar <tglozar@redhat.com>
> ---
>  doc/rteval.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/rteval.txt b/doc/rteval.txt
> index 7342866..569168e 100644
> --- a/doc/rteval.txt
> +++ b/doc/rteval.txt
> @@ -21,7 +21,7 @@ of a network packet). To give a realtime application the best chance
>  of meeting its deadline(s), a realtime OS must minimize the time
>  between event occurance and the servicing of that event (latency). 
>  
> -This paper describes the 'rteval' program, a Python 2.x program
> +This paper describes the 'rteval' program, a Python 3.x program
>  developed at Red Hat to help quantify realtime performance on the
>  Realtime kernel. Rteval is an attempt to put together a synthetic
>  benchmark which mimics a well behaved realtime application, running on
> -- 
> 2.39.3
> 
> 
Thanks for the clean-up
Signed-off-by: John Kacur <jkacur@redhat.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-08 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-08 11:52 [PATCH] rteval: Correct Python version in doc/rteval.txt Tomas Glozar
2023-08-08 18:29 ` John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).