Skip to content

completerlang: quick fix for PLY-3.6#482

Merged
lbudai merged 1 commit intosyslog-ng:masterfrom
lbudai:f/python-debug-cli-fix
May 12, 2015
Merged

completerlang: quick fix for PLY-3.6#482
lbudai merged 1 commit intosyslog-ng:masterfrom
lbudai:f/python-debug-cli-fix

Conversation

@lbudai
Copy link
Collaborator

@lbudai lbudai commented May 12, 2015

Local variable 'state' is not in frame 1 anymore, it is in frame 2 in
PLY-3.6 (there is a callback which calls our function this is the reason why
the state variable is in frame 2).

Note that this is an ugly-ugly hack :-)
We have to eliminate this sitation somehow.

Signed-off-by: Laszlo Budai [email protected]

Local variable 'state' is not in frame 1 anymore, it is in frame 2 in
PLY-3.6 (there is a callback which calls our function this is the reason why
the state variable is in frame 2).

Note that this is an ugly-ugly hack :-)
We have to eliminate this sitation somehow.

Signed-off-by: Laszlo Budai <[email protected]>
@bazsi
Copy link
Collaborator

bazsi commented May 12, 2015

I agree it is an ugly hack. The problem is that ply fails to publish this value to our callback, but upstream seems to be responsive so we might get a patch in that sets an attribute in the parser. However this hack is needed until that propagates to distros.

I think this is ok for now.

lbudai added a commit that referenced this pull request May 12, 2015
completerlang: quick fix for PLY-3.6
@lbudai lbudai merged commit e37a7a3 into syslog-ng:master May 12, 2015
@lbudai
Copy link
Collaborator Author

lbudai commented May 12, 2015

I understand the reason behind the patch (and know you wouldn't have wrote that code if there would be better solution) :-)

patch ply : 👍

HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Mar 28, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Mar 28, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Mar 28, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Mar 28, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Mar 28, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Mar 28, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Apr 4, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Apr 4, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Apr 9, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Apr 17, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
HofiOne pushed a commit to HofiOne/syslog-ng that referenced this pull request Apr 23, 2025
This reworks the various boolean members in TransportMapperInet that
control which logproto/transport we apply to a specific connection.

With these renames, it's much easier to follow what happens and why.

NOTE: there's a followup bugfix that fixes the same bug as syslog-ng#482.

Signed-off-by: Balazs Scheidler <[email protected]>
Signed-off-by: Hofi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants