[RTEMS Project] #4927: "Build Your Application" (Quick Start section 2.7) doesn't work

RTEMS trac trac at rtems.org
Thu Aug 17 00:13:49 UTC 2023


#4927: "Build Your Application" (Quick Start section 2.7) doesn't work
-----------------------+---------------------
 Reporter:  bsterling  |       Owner:  (none)
     Type:  defect     |      Status:  new
 Priority:  normal     |   Milestone:
Component:  admin      |     Version:
 Severity:  normal     |  Resolution:
 Keywords:             |  Blocked By:
 Blocking:             |
-----------------------+---------------------

Comment (by John Willis):

 Replying to [comment:2 Chris Johns]:
 > John, I have lost track of this issue, is there a patch I need to push I
 have missed?

 Hi Chris. Thanks for looping back around on this.

 It looks like this bug is still on master as of 2023-08-10. My comment has
 a proposed patch for this, that I have implemented on a fork. We could
 also just not use a generator for this particular function -- the largest
 the generator could possibly be is size 1, so seems a bit excessive as
 opposed to using a list comprehension or some if statements. That being
 said, I do appreciate the compact (functional) nature of the use of the
 generator, but if going that direction we need to catch the StopIteration
 in the event that it is empty. Also, adding some unit tests here would be
 really nice.

 I am happy to provide more info -- stack traces, examples, etc -- to help,
 if needed/desired.

--
Ticket URL: <http://devel.rtems.org/ticket/4927#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list