unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* %default-port-conversion-strategy and string ports
@ 2012-05-30 23:04 Ludovic Courtès
  2012-05-30 23:48 ` Mike Gran
  2012-05-31  5:09 ` David Kastrup
  0 siblings, 2 replies; 18+ messages in thread
From: Ludovic Courtès @ 2012-05-30 23:04 UTC (permalink / raw)
  To: guile-devel

Hello!

Commit b22e94db7c91d7661204e33f3bc2bfead002c9b7 adds
‘%default-port-conversion-strategy’, a natural friend of
‘%default-port-encoding’.

First, I’m wondering whether ‘port’ should be part of the name, given
that it’s also referred to by ‘scm_stringn’ & co.  It’s good to have it
in the name, for the symmetry with ‘%default-port-encoding’, but it’s
not accurate.

Second, in commit 9f6e3f5a997f484548bd03e7e7573c38a95c8d09, I changed
string ports to honor it, like other port types, instead of forcing
'error.  This seems like the right thing to me, for the sake of
consistency (in fact, I’d consider the previous behavior as a bug), but
it’s an observable change.

WDYT?

Thanks,
Ludo’.




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

end of thread, other threads:[~2012-06-05 12:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 23:04 %default-port-conversion-strategy and string ports Ludovic Courtès
2012-05-30 23:48 ` Mike Gran
2012-05-31  5:09 ` David Kastrup
2012-05-31 14:05   ` Ludovic Courtès
2012-05-31 14:48     ` David Kastrup
2012-05-31 21:25     ` Mark H Weaver
2012-06-01 15:38       ` Ludovic Courtès
2012-06-01 15:57         ` David Kastrup
2012-06-01 16:34           ` Ludovic Courtès
2012-06-01 22:40             ` Mark H Weaver
2012-06-02 12:52               ` Ludovic Courtès
2012-06-02 14:55                 ` David Kastrup
2012-06-03 14:47                   ` Daniel Krueger
2012-06-03 22:22                     ` Separate textual/binary ports vs. mixed ports Ludovic Courtès
2012-06-05  9:31                       ` Daniel Krueger
2012-06-05 11:57                         ` Noah Lavine
2012-06-05 12:47                           ` Ludovic Courtès
2012-06-05 12:45                         ` Ludovic Courtès

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).