unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30964: python-mode failing "overlapping strings" assertion lately
@ 2018-03-27 18:09 dancol
  2018-04-02  1:11 ` Noam Postavsky
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: dancol @ 2018-03-27 18:09 UTC (permalink / raw)
  To: 30964

Has something changed in master that might be breaking python-mode? We
keep hitting a parsing assertion.

The surrounding code in python.el claims that

                       ;; The assertion can only fail if syntax table
                       ;; text properties and the `syntax-ppss' cache
                       ;; are somehow out of whack.  This has been
                       ;; observed when using `syntax-ppss' during
                       ;; narrowing.
                       (cl-assert (> string-start last-string-end)
                                  :show-args
                                  "\
Overlapping strings detected (start=%d, last-end=%d)")

I can _sometimes_ repro with (while (not (eobp))
(python-nav-forward-statement)), but I haven't found a reliable test case.






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

end of thread, other threads:[~2018-06-17  7:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-27 18:09 bug#30964: python-mode failing "overlapping strings" assertion lately dancol
2018-04-02  1:11 ` Noam Postavsky
2018-04-03 18:12 ` Charles A. Roelli
2018-04-03 22:06   ` Dmitry Gutov
2018-05-18 15:46 ` Clément Pit-Claudel
2018-05-18 19:18   ` Andreas Röhler
2018-05-19  1:49     ` Noam Postavsky
2018-05-19  6:49       ` Andreas Röhler
2018-05-30  0:29   ` Noam Postavsky
2018-06-02 19:03     ` Philipp Stephani
2018-06-02 20:35       ` Noam Postavsky
2018-06-16 20:55         ` Daniel Colascione
2018-06-16 22:36           ` Noam Postavsky
2018-06-17  7:33             ` Andreas Röhler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).