mirror of
https://github.com/dart-lang/sdk
synced 2024-09-04 16:03:44 +00:00
![]() Right now most of the dart SDK's python is compatible with python2 or python3. This change fixes a few of the build scripts to make that completely true (at least when building the standard build on Linux). There are only four types of changes: - Bare `print` statements now use the `print ()` function - `commands.getoutput` becomes `subprocess.check_output` with `shell=True` - `xrange` becomes `range` - `print >> sys.stderr` becomes `sys.stderr.write` Starts work on addressing (but does not completely fix): https://github.com/dart-lang/sdk/issues/28793 See related issue: https://fuchsia-review.googlesource.com/c/fuchsia/+/272925 This change applys to both the `dev` and `master` branches. Change-Id: Ibd3eb9b1f57520d2d745f05c2ac430b1d20943da Closes #36662 https://github.com/dart-lang/sdk/pull/36662 GitOrigin-RevId: beab165294982a7e369daf6d61aea63efcab1b9b Change-Id: I6d240749a9ba0889b5a45a08f3c4c2c20291f484 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/99707 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Alexander Thomas <athom@google.com> |
||
---|---|---|
.github | ||
build | ||
client | ||
docs | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.clang-format | ||
.gitattributes | ||
.gitconfig | ||
.gitignore | ||
.gn | ||
.mailmap | ||
.packages | ||
.vpython | ||
AUTHORS | ||
BUILD.gn | ||
CHANGELOG.md | ||
codereview.settings | ||
CONTRIBUTING.md | ||
DEPS | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README.dart-sdk | ||
README.md | ||
WATCHLISTS |
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Using Dart
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
Building Dart
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
Contributing to Dart
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.