-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: move stringmime to Base64, rename reprmime -> repr #25990
Conversation
I am having a bootstrapping problem with moving
I don't understand why stdlib/Test can do |
You need to add an entry for |
It looks like most of the calls to |
The error messages for code loading are going to need a bit of work before we cut a final release. And documenting how all this stuff works will help, of course. |
NEWS.md
Outdated
@@ -33,7 +33,7 @@ New language features | |||
|
|||
* Added `⟂` (`\perp`) operator with comparison precedence ([#24404]). | |||
|
|||
* The `missing` singleton object (of type `Missing`) has been added to represent | |||
* The `missing` singleton object (of type `Missing`) has been added to (repr)esent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😆
32-bit CI failures seem to be unrelated network problems. |
I've started opening issues to track the known ongoing CI failures:
ci
|
I think we should resolve the ambiguity in |
(The |
You can replace |
Updated to a |
This line's also going to have to change: Line 1119 in bde667d
The simplest fix is changing it to repr(LOAD_PATH, context = (:module => nothing)) |
Looks like the usual unrelated CI failures. |
This PR makes three main changes:
It renames
reprmime(mime, x)
torepr(mime, x)
, analogous to how we mergedwritemime
andshow
.It moves
stringmime
to theBase64
package, since the only reason to use this function rather thanrepr
is if you want base64 encoding for binary MIME types.It adds optional
context::Pair{Symbol}...
argumentscontext
keywords torepr
torepr(mime, x)
andstringmime
, similar to c418a10 andsprint
.One slight wrinkle is that there is an ambiguity forrepr(mime::Union{MIME,AbstractString}, p::Pair{Symbol})
: are you asking forrepr(mime)
using the contextp
, orrepr(p)
using the MIME typemime
? I opted to resolve this asrepr(p)
formime::MIME
andrepr(mime)
formime::AbstractString
.To do: