Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
* `import` now returns nil instead of the last module's string representation (#1174)

## [v0.3.5]
### Changed
Expand Down
3 changes: 2 additions & 1 deletion src/basilisp/core.lpy
Original file line number Diff line number Diff line change
Expand Up @@ -4936,7 +4936,8 @@
;; to the new ns, the global python namespace can still refer to the
;; old python global ns where the import would have been evaluated
;; otherwise.
(let [form `(import* ~@modules)]
(let [form `(do (import* ~@modules)
nil)]
`(eval '~form *ns*)))

(defn ^:private rewrite-clojure-libspec
Expand Down
Loading