Activity
From 10/05/2024 to 10/11/2024
10/11/2024
- 09:08 PM Revision ad5641fd (git): Support `IO#timeout` for `rsock_connect`. (#11880)
-
09:00 PM Revision 2e6ddd96 (git): Don't enable GC.auto_compact in EnvUtil.under_gc_compact_stress when not supported
-
07:34 PM Revision 5f62522d (git): [ruby/prism] Prism::StringQuery
- Introduce StringQuery to provide methods to access some metadata
about the Ruby lexer.
https://github.com/ruby/prism/commit/d3f55b67b9 -
07:29 PM Revision 8aeb60ae (git): Rename supports_auto_compact? to supports_compact?
- It's testing whether GC compaction is supported in general.
-
07:29 PM Revision 6a88e9d4 (git): Used respond_to? check for compaction in test_gc_compact.rb
- 04:34 PM Revision 95abf679 (git): [ruby/irb] Document infinite history
- (https://github.com/ruby/irb/pull/1012)
As introduced in 824473e8
https://github.com/ruby/irb/commit/15e3f50c3f - 04:34 PM Revision eccfb6e6 (git): [ruby/irb] History refactors (https://github.com/ruby/irb/pull/1013)
- * Extract logic save_history in separate helper
* Extract logic history_file in helper
* Allow for readonly history
https://github.com/ruby/irb/commit/52307f9026 -
03:35 PM Revision 2dab5993 (git): Remove defined check for GC.config in test_gc.rb
- GC.config is always defined.
-
03:30 PM Revision 77c7d880 (git): [DOC] Tweaks for Array#rotate! (#11875)
-
03:25 PM Revision 628da153 (git): [DOC] Tweaks for Array#sample (#11876)
- 03:16 PM Revision 5e799cc1 (git): Fix spelling
-
03:13 PM Revision c0447775 (git): [DOC] Tweaks for Array#rotate
-
03:12 PM Revision c5194767 (git): [DOC] Tweaks for Array#repeated_permutation (#11873)
-
03:04 PM Feature #20792: String#with_encoding(encoding)
- > as a short-hand for Encoding.find(enc).valid_string?(str).
I suspect most of the time you'd check a specific encoding, so `Encoding::UTF_8.valid_sequence?(str)` would be enough.
That said I think that what @Eregon mentioned in te... -
08:05 AM Feature #20792: String#with_encoding(encoding)
- nirvdrum (Kevin Menard) wrote in #note-6:
> I'm partial to this one. Alternatively, it could be nice to have the inverse: `Encoding#valid_string?` (or `Encoding#valid_bytes?`).
I prefer `valid_sequence?` over `valid_bytes?`.
> ...... -
02:24 PM Revision a9fb0a20 (git): YJIT: Improve build instructions for non-hackers (#11878)
-
02:22 PM Revision 11e7ab79 (git): Remove 1 allocation in Enumerable#each_with_index (#11868)
- * Remove 1 allocation in Enumerable#each_with_index
Previously, each call to Enumerable#each_with_index allocates 2
objects, one for the counting index, the other an imemo_ifunc passed
to `self.each` as a block.
Use `struct vm_ifunc::d... -
01:02 PM Revision 372bb990 (git): Remove unused PRELOADENV macro in ruby-runner.h
-
01:02 PM Revision df2fb880 (git): Remove unused SOEXT macro in ruby-runner.h
-
12:56 PM Revision d641b7d1 (git): Improve RUBY_GC_LIBRARY
- Instead of passing the full GC SO file name to RUBY_GC_LIBRARY, we now
only need to pass the GC name.
For example, before we needed to pass `RUBY_GC_LIBRARY=librubygc.default.so`
but now we only need to pass `RUBY_GC_LIBRARY=default`. -
12:49 PM Feature #18033: Time.new to parse a string
- matz (Yukihiro Matsumoto) wrote in #note-27:
> Currently, `Time.new` only takes numeric arguments, so adding extra argument pattern add only a small complexity.
But older versions like 3.0 accept year as a String: https://bugs.ruby-l... -
10:12 AM Feature #20205: Enable `frozen_string_literal` by default
- > The problem is that the warning does not point where you are doing StringIO.new("")
We can improve that by displaying where the String was allocated when you are running with `--debug-frozen-string-literal`. I'll work on that Monday... -
05:10 AM Feature #20205: Enable `frozen_string_literal` by default
- byroot (Jean Boussier) wrote in #note-59:
> Yes, for code that have a `String#frozen?` conditional, the source of the issue can be harder to find, that is why the initial implementation had `String#frozen?` return `true`.
The problem... -
09:59 AM Revision 047a7750 (git): [ruby/time] [DOC] Escape the word "Date" that does not mean Date class
- https://github.com/ruby/time/commit/933eccf8d9
-
09:42 AM Revision aad4bfd7 (git): [rubygems/rubygems] Fix `gem install` on NFS shares
- NFS shares seem to support flock these days, but they need read-write
permissions.
https://github.com/rubygems/rubygems/commit/1c492804cd -
09:40 AM Revision 01abc2f7 (git): [rubygems/rubygems] Check that the binstub was actually reset
- https://github.com/rubygems/rubygems/commit/d46fca6126
-
07:52 AM Revision b4eb7e22 (git): Refine assertion failure message
-
07:37 AM Revision 2c3d26cf (git): Fix an implicit conversion that loses integer precision
- Both `rb_ensure` and `udp_bind_internal` return `VALUE`.
- 05:36 AM Revision c43be94f (git): Update `rsock_connect` to take `VALUE io` argument. (#11847)
10/10/2024
-
08:18 PM Misc #20781: DevMeeting-2024-11-07
- * [Feature #20794] Expose information about the currently running GC Module (@eightbitraptor)
* This adds a dynamic component to `RUBY_DESCRIPTION`, when a modular GC is loaded. Is this acceptable?
* This adds a method `GC.active_g... -
08:12 PM Feature #20794 (Closed): Expose information about the currently running GC module
- ## Summary
[[Github PR #11872]](https://github.com/ruby/ruby/pull/11872)
Currently it's not possible for the user to easily find out information about the currently running GC, and whether modular GC has been enabled.
The linked... -
08:03 PM Revision 09100508 (git): [DOC] Tweaks for Array#reverse_each (#11855)
-
07:46 PM Revision 1ad990a3 (git): [rubygems/rubygems] Only pristine executables for default gems
- https://github.com/rubygems/rubygems/commit/1cfc1d626c
-
06:34 PM Revision 3d8fe462 (git): Move return value of rb_gc_impl_config_set to gc.c
-
06:31 PM Revision ebbb0930 (git): [ruby/prism] Short-circuit if possible for start line and unused warning
- https://github.com/ruby/prism/commit/2745c81d31
-
06:02 PM Revision 7a198af7 (git): [ruby/prism] Prism::CodeUnitsCache
- Calculating code unit offsets for a source can be very expensive,
especially when the source is large. This commit introduces a new
class that wraps the source and desired encoding into a cache that
reuses pre-computed offsets. It perfor... -
05:57 PM Revision b77ff342 (git): [rubygems/rubygems] Revert "Fix `bundle.bat` re-execution"
- This reverts commit https://github.com/rubygems/rubygems/commit/e04e00f7bb5b.
https://github.com/rubygems/rubygems/commit/554ece1587 -
04:54 PM Revision caf0d205 (git): [ruby/time] [DOC] nodoc VERSION
- This file is parsed as a part of Ruby documentation, and this constant
appears in the built-in Time class unexpectedly.
https://github.com/ruby/time/commit/f26f7ab689 -
04:54 PM Revision e6b9348e (git): [ruby/time] [DOC] Escape the word "Time" that does not mean Time class
- https://github.com/ruby/time/commit/8572a306bb
-
04:54 PM Revision db352a51 (git): [ruby/time] [DOC] RDoc does not use backticks
- https://github.com/ruby/time/commit/aefa245a20
-
04:32 PM Revision 5f3e9f18 (git): [DOC] Mention that Enumerable#each_with_index calls self.each
-
04:32 PM Revision 25c4629e (git): Remove duplicate struct declaration
-
04:24 PM Revision ae6bd3b4 (git): [DOC] Tweak "Timezone Objects"
- - Make method descriptions plain pragraphs in each method.
- Make "Argument" and "Returns" note-lists. -
04:24 PM Revision e8a7d169 (git): [DOC] Tweak "Time Internal Representation"
- - Remove `T_BIGNUM` word
- Mark up function names and type names as code
- Mark up struct member names as variables -
04:24 PM Revision 605698c7 (git): [DOC] Link labels cannot contain attributes for now
-
04:09 PM Revision a778562f (git): [ruby/rdoc] Make methods and attributes linkable
- (https://github.com/ruby/rdoc/pull/1189)
* Use the same color for both class/module and method highlight
* Make methods and attributes linkable
https://github.com/ruby/rdoc/commit/7757fd9fe4 -
03:44 PM Revision 9df86a86 (git): Fix typo in test_gc.rb [ci skip]
-
03:15 PM Revision 71a59543 (git): [DOC] Tweaks for Array#repeated_combination (#11839)
-
03:13 PM Bug #20788 (Closed): Prism issues unused variable warnings for negative line numbers
- Applied in changeset commit:git|b5ecb03ae40e01ffe57b4dc409f8c96b15e32b12.
----------
[ruby/prism] Do not warn for unused variables on negative lines
Fixes [Bug #20788]
https://github.com/ruby/prism/commit/27e91f21af -
03:13 PM Revision b5ecb03a (git): [ruby/prism] Do not warn for unused variables on negative lines
- Fixes [Bug #20788]
https://github.com/ruby/prism/commit/27e91f21af -
02:54 PM Revision d12c8cbf (git): [rubygems/rubygems] Fix `gem pristine etc` resetting gem twice sometimes
- If a default version and a regular version of etc are present at the
same time, RubyGems will end up duplicating work and running pristine
twice.
The `etc` gem is special because it's loaded by RubyGems by default.
When doing this, Ruby... -
02:54 PM Revision 36e9a6bb (git): [rubygems/rubygems] Improve some indentations
- https://github.com/rubygems/rubygems/commit/30f228a97f
-
02:52 PM Revision cd611bec (git): [ruby/fiddle] Cast via `VALUE` function pointer between object
- pointer
(https://github.com/ruby/fiddle/pull/150)
With gcc 13 and -pedantic:
```
../../../src/ext/fiddle/function.c: In function ‘function_call’:
../../../src/ext/fiddle/function.c:374:15: error: ISO C forbids conversion of object poin... -
02:51 PM Revision 3fdf0e7e (git): [rubygems/rubygems] Fix specs with missing extensions getting activated
- https://github.com/rubygems/rubygems/commit/c80998a22a
-
02:51 PM Revision f63873e7 (git): [rubygems/rubygems] Remove more compatibility code with old RubyGems
- https://github.com/rubygems/rubygems/commit/74e8eff779
-
02:51 PM Revision f8e3afd2 (git): [rubygems/rubygems] Remove code that's not needed for the spec to pass
- https://github.com/rubygems/rubygems/commit/ce9f6285c4
-
02:51 PM Revision 2f0b1874 (git): [rubygems/rubygems] Fix warnings about old C style
- https://github.com/rubygems/rubygems/commit/f40610b699
-
02:51 PM Revision a1492ffd (git): [rubygems/rubygems] Run specs that now pass on JRuby
- https://github.com/rubygems/rubygems/commit/2af077ee38
-
02:45 PM Revision 82c76f18 (git): [ruby/prism] Reject invalid splat as last statement of parentheses
- https://github.com/ruby/prism/commit/3a0b1c6110
-
02:45 PM Revision 146ff661 (git): [ruby/digest] Cast via `uintptr_t` function pointer between object pointer
- https://github.com/ruby/digest/commit/661d4643ef
- 01:43 PM Revision 4f9836be (git): [ruby/prism] Update rescue node doc
- Its `exception` field was renamed to `reference` in #1204 but the
documentation was not updated.
https://github.com/ruby/prism/commit/a477607ba2 -
01:41 PM Revision 2bb7cbff (git): Directly call rb_gc_impl_writebarrier_unprotect
-
01:41 PM Revision fc40bd7c (git): Directly call rb_gc_impl_copy_finalizer
-
12:17 PM Revision 243d48c0 (git): [DOC] Generate HTML doc when importing from ruby/rdoc
-
11:21 AM Feature #20793: Allow Multiple Arguments for the .is_a? Method
- Eregon (Benoit Daloze) wrote in #note-2:
> I think pattern matching should be used here instead
Very nice, thank you!
If kind_of? (and alias is_a?) has a strong implementation optimization, I agree that this is not so important enhanc... -
10:48 AM Feature #20793: Allow Multiple Arguments for the .is_a? Method
- I think pattern matching should be used here instead of making `is_a?` more complicated:
```
irb(main):001:0> name = :abc
=> :abc
irb(main):002:0> name in String | Symbol
=> true
irb(main):003:0> name = 42
=> 42
irb(main):004:0> name in ... -
09:55 AM Feature #20793: Allow Multiple Arguments for the .is_a? Method
- Also `kind_of?` method?
-
08:50 AM Feature #20793 (Rejected): Allow Multiple Arguments for the .is_a? Method
- I propose allowing multiple arguments to be passed to the .is_a? Method imply "OR" semantics:
``` ruby
name.is_a? String, Symbol
```
Currently, we need to write the following to achieve the same functionality:
``` ruby
[Str... -
09:45 AM Revision c5f0fe12 (git): [ruby/rdoc] Improve method source toggling
- (https://github.com/ruby/rdoc/pull/1176)
* Move method source block to the top
Currently, if a method description is long (e.g. `Array.new`), users need
to click the method toggle button next to the method title, and then scroll
down t... -
06:15 AM Revision 2cf4aa08 (git): [ruby/fiddle] Only print Fiddle::VERSION when flag is true
- (https://github.com/ruby/fiddle/pull/151)
The test of current HEAD revision occurred `unknown command` on
`ruby/ruby` repo.
```
$ make test-all -j TESTS="fiddle -j12" MSPECOPT="-j"
(snip)
# Running tests:
unknown command: "Fiddle::VE... -
06:15 AM Revision 43d14d50 (git): Revert "Commented out to print fiddle version"
- This reverts commit a1db8dbe166d82d7238b3d375344799e057dab2b.
-
05:44 AM Revision 15bb5717 (git): test/resolv/test_dns.rb: Keep `UDPSocket`s until a free port is found
- Follow up to 589f1978d8c368b8eccf34453463ad46a58d36da
I suspect `UDPSocket.new` grabs the same port number because they are
closed at each trial. -
04:42 AM Bug #20631 (Assigned): Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
-
04:41 AM Bug #20631 (Closed): Build failure with Xcode 16 beta and macOS 15 (Sequoia) Beta
- Applied in changeset commit:git|c77f0b91342935f661c6e5ba0f6f5c19427da174.
----------
[Bug #20631] Workaround for macOS 15.0 fork crash
macOS 15.0 24A5331b seems to have a weird issue that
`CFStringCreateWithBytesNoCopy` does not return... -
04:40 AM Revision 63f94e12 (git): Revert "TestProcess#test_daemon_noclose is only working with macOS 15.1 beta, we should skip with macOS 15.0"
- This reverts commit 3830bca5edd6964131971866c80107c89fac5362.
-
04:40 AM Revision c77f0b91 (git): [Bug #20631] Workaround for macOS 15.0 fork crash
- macOS 15.0 24A5331b seems to have a weird issue that
`CFStringCreateWithBytesNoCopy` does not return `NSTaggedPointerString`
instance for the first call. This issue is fixed in macOS 15.1 but we
need to workaround it for macOS 15.0. -
04:23 AM Revision e00b746b (git): Suppress warnings with `RUBYPOT=-w`
- ```
-:3: warning: assigned but unused variable - var
-:3: warning: assigned but unused variable - var
-:3: warning: assigned but unused variable - var
-:3: warning: assigned but unused variable - var
-:3: warning: assigned but unused var... -
04:20 AM Revision a1db8dbe (git): Commented out to print fiddle version
-
03:53 AM Revision 5792bd71 (git): Emit warning for other method redefinition types
- This commit ensures warnings about `object_id` and `__send__` method
redefinitions are emitted for other method types such as aliases, procs,
and attr readers—anything except C functions. -
03:44 AM Feature #20792: String#with_encoding(encoding)
- Eregon (Benoit Daloze) wrote in #note-1:
> I have wanted this feature too, how about adding an optional argument to `String#valid_encoding?`?
> ...
I'm partial to this one. Alternatively, it could be nice to have the inverse: `Encoding... -
03:23 AM Revision a985695b (git): Make test_hash_symbol_colon_key pass on LANG=en_US
- It failed on a platform with LANG=en_US
```
1) Failure:
PPTestModule::PPSingleLineTest#test_hash_symbol_colon_key [/home/chkbuild/chkbuild/tmp/build/20241010T010005Z/ruby/test/test_pp.rb:207]:
<"{a: 1, a!: 1, a?: 1, \u3042: 1}"> expect... -
02:30 AM Revision 51fdd2c6 (git): Move directives outside `rb_ary_new3` call
- This function may be a macro for optimization, which will be expanded
to `rb_ary_new_from_values`.
```
ext/socket/ancdata.c: In function ‘bsock_recvmsg_internal’:
ext/socket/ancdata.c:1648:1: error: embedding a directive within macro ar... -
02:29 AM Revision 6f673589 (git): Cast via `uintptr_t` function pointer between object pointer
-
01:54 AM Revision 133bacc0 (git): Rename win32-sspi to net-http-sspi
- 01:06 AM Revision f1a94a49 (git): [ruby/fiddle] test jruby: fix a typo
- https://github.com/ruby/fiddle/commit/d76c87b804
- 01:06 AM Revision da3c4087 (git): [ruby/fiddle] test jruby: fix a wrong message
- https://github.com/ruby/fiddle/commit/00b3521f5e
- 01:06 AM Revision d7fc90d2 (git): [ruby/fiddle] test jruby: fix a typo
- https://github.com/ruby/fiddle/commit/5bc55e0533
- 01:05 AM Revision a47f153d (git): Import JRuby implementation (#147)
- Fix GH-104
lib/fiddle/jruby.rb is based on
https://github.com/jruby/jruby/blob/master/lib/ruby/stdlib/fiddle/jruby.rb
.
Here are changes for it:
* Move `Fiddle::TYPE_*` to `Fiddle::Types::*`
* Add `Fiddle::Types::VARIADIC`
* Add `Fid... -
01:03 AM Revision a392ee14 (git): Update vendored net-http
- Signed-off-by: Samuel Giddins <segiddins@segiddins.me>
10/09/2024
-
10:34 PM Feature #20792: String#with_encoding(encoding)
- Right, that would also solve this specific usage.
However I think `String#with_encoding` is a good general method to have, as for instance there are [lots of `.dup.force_encoding`](https://github.com/search?q=.dup.force_encoding+languag... -
07:07 PM Feature #20792: String#with_encoding(encoding)
- Eregon (Benoit Daloze) wrote in #note-3:
> I think I discussed this with @byroot a couple times as well, what about `String#with_encoding(Encoding)`, which is like `force_encoding` but doesn't mutate the receiver.
> ...
A variation of ... -
06:53 PM Feature #20792: String#with_encoding(encoding)
- I think I discussed this with @byroot a couple times as well, what about `String#with_encoding(Encoding)`, which is like `force_encoding` but doesn't mutate the receiver.
Then this would be efficient in that it would scan the code range... -
06:23 PM Feature #20792: String#with_encoding(encoding)
- In terms of performance though, both methods need 2 code range scans if the String is then `force_encoding(Encoding::UTF_8)` if valid and used later for some operation needing the code range.
Maybe the String should stay in the argument... -
06:20 PM Feature #20792: String#with_encoding(encoding)
- I have wanted this feature too, how about adding an optional argument to `String#valid_encoding?`?
Like `binary_string.valid_encoding?(Encoding::UTF_8)`. -
03:44 PM Feature #20792 (Rejected): String#with_encoding(encoding)
- I would like to add a method to String called `forcible_encoding?(encoding)`. This would return true or false depending on whether the receiver can be forced into the given encoding without breaking the string. It would effectively be an...
-
09:31 PM Revision a838f980 (git): `me->defined_class` should be T_CLASS/T_ICLASS
- `me->defined_class` will be used for ancestor searching
so that it should be T_CLASS or T_ICLASS.
This patch will resoleve https://github.com/ruby/ruby/pull/11715 -
08:57 PM Revision d0bff661 (git): Remove unused timeout in parsey CI.
- This is unset and has no fallback. it's causing an error in the CI
output
Error: An error occurred when attempting to determine the step timeout.
Error: The template is not valid. .github/workflows/parsey.yml (Line:
78, Col: 26): Unexpe... -
06:05 PM Revision f7fdf6cc (git): [DOC] Tweaks for Array#rindex
-
06:02 PM Revision 1962be26 (git): [DOC] Tweaks for Array#reverse!
-
05:54 PM Revision 377d0228 (git): [DOC] Tweaks for Array#reverse
-
04:36 PM Revision 6dac070a (git): Add `--with-parser` configure option
-
03:42 PM Revision e39e5825 (git): [ruby/prism] Attempt to assume binary is UTF-8
- https://github.com/ruby/prism/commit/343197e4ff
-
03:31 PM Revision 2e2a5e4f (git): [rubygems/rubygems] Remove unused variable
- https://github.com/rubygems/rubygems/commit/b31f33d55c
-
02:58 PM Bug #20789 (Closed): `->a=1...{}` is syntax error in 3.4.0dev parse.y
- Applied in changeset commit:git|1c762d95664796275460025b37379753c0ac8e36.
----------
[Bug #20789] Fix an invalid syntax error when `->a=1...{}`
https://bugs.ruby-lang.org/issues/20789 -
01:59 PM Bug #20789: `->a=1...{}` is syntax error in 3.4.0dev parse.y
- https://github.com/ruby/ruby/pull/11850
-
03:24 AM Bug #20789 (Closed): `->a=1...{}` is syntax error in 3.4.0dev parse.y
- `->a=1...{}` is syntax error since https://github.com/ruby/ruby/pull/11751
-
02:58 PM Revision 1c762d95 (git): [Bug #20789] Fix an invalid syntax error when `->a=1...{}`
- https://bugs.ruby-lang.org/issues/20789
- 02:07 PM Revision e50754fc (git): [ruby/prism] Avoid breaking code units offset on binary encoding
- https://github.com/ruby/prism/commit/25a4cf6794
Co-authored-by: Kevin Newton <kddnewton@users.noreply.github.com> -
12:54 PM Feature #20205: Enable `frozen_string_literal` by default
- > `--debug-frozen-string-literal` does not work well for `StringIO.new("")` case.
Yes, for code that have a `String#frozen?` conditional, the source of the issue can be harder to find, that is why the initial implementation had `Strin... -
05:37 AM Feature #20205: Enable `frozen_string_literal` by default
- `--debug-frozen-string-literal` does not work well for `StringIO.new("")` case.
```
$ ruby --enable-frozen-string-literal --debug-frozen-string-literal -rstringio -w -e 'io = StringIO.new("")
io.write("foo")'
-e:2:in 'StringIO#writ... -
04:12 AM Feature #20205: Enable `frozen_string_literal` by default
- I did quick investigation on the warnings that @hsbt said.
> ```
> ...
This warning is due to the fact that httpclient calls `OpenURI::Meta.init(o = '')` and `OpenURI::Meta.init` destructively modifies the argument by `Object#extend`... -
03:18 AM Feature #20205 (Open): Enable `frozen_string_literal` by default
- I and @yhonda try to fix this warnings at `httpclient`.
https://github.com/nahi/httpclient/pull/462
I surprisedly faced stdlib have this warning like:
```
ruby-dev/lib/ruby/3.4.0+0/open-uri.rb:455: warning: literal string will ... -
12:35 PM Revision 615a0872 (git): [ruby/json] Restore the simple standlone benchmark for iterating
- https://github.com/ruby/json/commit/7b68800991
-
12:35 PM Bug #20791: RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin
- Thank you @nobu!
-
11:58 AM Bug #20791 (Closed): RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin
- Applied in changeset commit:git|3aa044f10c1db1608974ba4bc282c7dd1c9db3f5.
----------
[Bug #20791] Set LIBRUBY_RELATIVE on mswin -
10:22 AM Bug #20791 (Closed): RbCONFIG::CONFIG does not have a LIBRUBY_RELATIVE key on mswin
- I noticed that mswin Ruby does not provide `RbCONFIG::CONFIG["LIBRUBY_RELATIVE"]`. My understanding is that all Windows should have this set to "yes", as per https://github.com/ruby/ruby/blob/67d6e89b0b6d7dd7d6454ace7734157ee51f3f79/conf...
-
12:18 PM Revision d10e09b7 (git): [rubygems/rubygems] Add `Gem::Specification#gem_dir` back
- If old Bundler versions that unconditionally try to remove this method
are run with RubyGems versions _without_ this method, Bundler crashes
because it tries to remove a method that does not exist.
We need to wait until RubyGems cannot ... -
11:45 AM Revision 3aa044f1 (git): [Bug #20791] Set LIBRUBY_RELATIVE on mswin
- 10:48 AM Revision 438ef21a (git): Update `Socket#recvfrom` to use `rb_io_blocking_region`.
- 10:48 AM Revision 04ddb7e8 (git): Update `Socket#accept` to use `rb_io_blocking_region`.
- 10:48 AM Revision 3031bf6b (git): Update `UDPSocket#send` to use `rb_io_blocking_region`.
-
10:09 AM Revision 67d6e89b (git): Added byroot to JSON maintainer
- [Misc #20746]
-
10:07 AM Revision 48410af5 (git): [rubygems/rubygems] Fix a `gem install` crash during "done installing" hooks
- It would happen when the gem is already installed to multiple GEM_PATHS.
RubyGems was removing duplicate specs without considering the
potentially different `base_dir`. That was causing the gem to be
misidentified as not already installe... -
08:55 AM Revision 5eee2698 (git): Make mkconfig.rb string literals frozen
- 08:05 AM Revision 823f29a3 (git): Update `IPSocket` to use `rb_io_descriptor` and `rb_io_mode`.
- 08:05 AM Revision d78bf437 (git): Update `UNIXSocket` to use `rb_io_blocking_region`.
- 08:05 AM Revision dee15211 (git): Update `BasicSocket` to use `rb_io_blocking_region`.
-
06:21 AM Revision 9f812522 (git): [rubygems/rubygems] Allow `gem pristine` to reset default gems too
- https://github.com/rubygems/rubygems/commit/c9e665eb8a
-
05:54 AM Revision 73834f11 (git): [rubygems/rubygems] Fix `Gem::Specification#gem_dir` losing custom source for some reason
- https://github.com/rubygems/rubygems/commit/f8f589b1b8
-
05:26 AM Revision 83456d1e (git): [rubygems/rubygems] Fix plugin command loading
- The `LoadError` needs to be ignored because command may have been
defined and registered from a rubygems_plugin.rb file.
https://github.com/rubygems/rubygems/commit/31f13d449b - 04:56 AM Revision fc08f726 (git): Update default gems list at 4eda289a13c61347c28cbb327d07e5 [ci skip]
-
04:55 AM Revision 4eda289a (git): Sync from ruby/win32-registry
-
04:55 AM Revision fc2efc2b (git): Added win32-registry
- 03:56 AM Revision 3e98abc4 (git): Update bundled gems list at bd85e88d3190556fc59ad9665b8e6f [ci skip]
-
03:55 AM Revision bd85e88d (git): Support `The following bundled gems are added.`
-
03:53 AM Bug #20790 (Open): Syntax acceptance of `*x = p rescue p 1` is different between parse.y and prism
- ~~~ruby
*x = p rescue p 1 # syntax error in prism
*x = p 1 rescue p 1 # both syntax ok
x = p rescue p 1 # both syntax error
x = p 1 rescue p 1 # both syntax ok
~~~
Which is correct? If `*x = p rescue p 1` is syntax valid, should `x... - 03:27 AM Revision ed11a244 (git): Bump actions/cache in /.github/actions/setup/directories
- Bumps [actions/cache](https://github.com/actions/cache) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.co... -
03:05 AM Revision 75c3c0b0 (git): Update NEWS entry for repl_type_completor
-
02:28 AM Revision 589f1978 (git): mingw environment can't bind free port with 10 times. We should omit it instead of test failure.
- ```
1) Error:
TestResolvDNS#test_multiple_servers_with_timeout_and_truncated_tcp_fallback:
Errno::EACCES: Permission denied - bind(2) for "127.0.0.1" port 59677
D:/a/ruby/ruby/src/test/resolv/test_dns.rb:78:in 'TCPServer#initi... -
01:28 AM Revision 09d5f3c1 (git): [DOC] Generate document HTMLs only when document commit/PR
-
01:05 AM Revision 5840b436 (git): [DOC] Use the recent RDoc always to generate the doc of ruby itself
10/08/2024
-
11:55 PM Bug #20788 (Closed): Prism issues unused variable warnings for negative line numbers
- parse.y does not issue unused variable warnings for negative line numbers. However, prism does issue such warnings.
Example code:
```ruby
Object.class_eval(<<END, nil, -2)
def a(locals)
foo = locals[:foo]
2
end
END
```
... -
11:30 PM Feature #20738: Removing a specific entry from a hash literal
- OK, I'm sorry to hear that, but I'm glad to hear your opinions. Thanks.
- 10:14 PM Revision 3fc1495c (git): Fix spelling
-
08:58 PM Revision 65494d3c (git): [DOC] Tweaks for Array#reject!
-
08:57 PM Revision 0469d169 (git): [DOC] Tweaks for Array#reject
-
08:54 PM Revision 015d9eba (git): [DOC] Tweaks for Array#rassoc
-
05:48 PM Revision 9e121ef9 (git): [rubygems/rubygems] Give `gem install` commands more time
- https://github.com/rubygems/rubygems/commit/44f3ae4bc8
-
05:48 PM Revision cfcc7522 (git): [rubygems/rubygems] Remove more unnecessary ENV modifications
- https://github.com/rubygems/rubygems/commit/457b25df1a
-
05:48 PM Revision 6bd79e53 (git): [rubygems/rubygems] Pass `--verbose` to realworld gem installation
- In case it gives us some useful debugging output when it fails.
https://github.com/rubygems/rubygems/commit/d781416483 -
05:48 PM Revision abd01d61 (git): [rubygems/rubygems] Don't modify ENV when installing realworld gems
- https://github.com/rubygems/rubygems/commit/b75319aa96
-
05:37 PM Revision 7c304e31 (git): [DOC] Tweaks for Array#product (#11823)
-
04:29 PM Revision de50c4bd (git): [DOC] Use RIGHT SINGLE QUOTATION MARK
- Ideally, RDoc would be expected to replace U+0027 APOSTROPHE with
U+2019 RIGHT SINGLE QUOTATION MARK, as well as the case the preceeding
word is not a class name; but a boundary of attributes is treated as a
word boundary currently. Alt... -
04:29 PM Revision bb57f7d2 (git): [DOC] Link win32-sspi upstream URL
-
04:29 PM Revision 2c6317de (git): [DOC] Enable cross references to classes and methods
-
04:29 PM Revision a081fe11 (git): [DOC] Split old and new backtrace displays
-
04:29 PM Revision eddcff26 (git): [DOC] Insert an empty line between nested lists
- Without an empty line, often results in weird layouts.
-
04:29 PM Revision bf4571c3 (git): [DOC] Adjust indents
- RDoc's current markdown implementation parses only 4-spaces as
indentation, not 2-spaces. -
04:29 PM Revision df973d95 (git): [DOC] Fix typos
-
03:44 PM Revision ded078c2 (git): YJIT: Fastpath for Module#name (#11819)
- Module#name shows up as a top C method callee in lobsters so probably
common enough. It's also easy to substitute thanks to rb_mod_name()
already having no GC yield points.
klass = BasicObject
50_000_000.times { klass.name }
... -
03:15 PM Revision cb19dfca (git): [ruby/irb] Change debug test workaround to use ENV
- RUBY_DEBUG_TEST_UI
(https://github.com/ruby/irb/pull/1014)
https://github.com/ruby/irb/commit/9933584754 -
03:10 PM Revision a3208330 (git): [DOC] Tweaks for Array#pop (#11821)
-
03:09 PM Revision 45edfa73 (git): [DOC] Tweaks for Array#unshift
-
02:51 PM Revision 044f6ba2 (git): [DOC] Generate HTML documents in CI
-
02:43 PM Revision 02101f47 (git): rdoc-srcdir: Adjust the version number in the title in .rdoc_options
- Other command line options are no longer needed usually.
-
02:29 PM Revision 8ba2c310 (git): Fix extra semicolon outside of a function in `NO_SANITIZE`
- ```
internal/sanitizers.h:57:26: error: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
57 | COMPILER_WARNING_PUSH; \
| ^
```
and so many.
Remove semicolons following pragma, and ... -
02:29 PM Revision 1f39184b (git): Substitute `coroutine_transfer` with prefixed symbol in Makefile
- ```
coroutine/arm64/Context.S:31:57: error: invoking macro TOKEN_PASTE argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic]
31 | .global PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer)
| ... -
02:29 PM Revision 49ccc31d (git): Add a macro to initialize union `cfunc_type`
- ```
vm_insnhelper.c:2430:49: error: ISO C prohibits argument conversion to union type [-Wpedantic]
2430 | if (!vm_method_cfunc_is(cd_owner, cd, recv, rb_obj_equal)) {
| ^~~~~~~~~... -
02:29 PM Revision 9a90cd22 (git): Cast via `uintptr_t` function pointer between object pointer
- - ISO C forbids conversion of function pointer to object pointer type
- ISO C forbids conversion of object pointer to function pointer type -
02:29 PM Revision d8b64eac (git): `rb_fix_mul_fix` needs internal/bits.h for `MUL_OVERFLOW_FIXNUM_P`
-
02:18 PM Revision 6e2619c9 (git): Revamp the benchmark suite
- There is a large number of outstanding performance PRs that I want to
merge, but we need a decent benchmark to judge if they are effective.
I went to borrow rapidjson's benchmark suite, which is a good start.
I only kept the comparison... -
01:48 PM Revision 7cdbf93a (git): Improve error message in load_external_gc_func
-
12:22 PM Revision 61369473 (git): [ruby/json] generator.c: better fix for comparison of integers of different signs
- https://github.com/ruby/json/commit/c372dc9268
-
11:29 AM Bug #19984 (Assigned): `make test-bundler-parallel` fails with ` --enable-shared`
-
08:37 AM Bug #20733: Build failure OpenSSL extension with FreeBSD 13.3
- >Can we close this issue ticket now?
I'm wondering why Ruby couldn't build with system openssl(1.1.1w) at FreeBSD 13?
`ruby/openssl` have CI for openssl-1.1.1w. It seems working fine.
https://github.com/ruby/openssl/actions/runs... -
08:13 AM Feature #20775: Gemify win32-registry, win32-sspi and win32-resolv
- I and @nobu removed `win32-sspi` from ruby repository.
https://github.com/ruby/ruby/pull/11829
We will do minimum maintenance win32-sspi library at https://github.com/ruby/win32-sspi. -
08:11 AM Revision dd4677cf (git): Mentioned win32-sspi
-
08:11 AM Revision 02d4703e (git): Extract ext/win32/lib/win32/sspi.rb to ruby/win32-sspi
-
06:52 AM Revision 638b4468 (git): Call Resolv::DNS::Config#lazy_initialize explicitly if that instance is not initialized
-
06:52 AM Revision 63149cad (git): Specify use_ipv6 option for ipv4 test
-
06:50 AM Bug #20783 (Closed): --enable-shared and the rpath/runpath are broken on Linux on CRuby master
- Fixed at https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/79a8750ade3e332c1ab78aa9cbc6ca7fd823dec2
-
05:18 AM Feature #20705 (Closed): Should "0.E-9" be a valid float value?
- commit:d17edf3a170b733356836353508319443d12c53c
-
05:10 AM Revision c6841645 (git): Fixed C23 compilation error with ruby/ruby master
-
05:10 AM Revision fe334756 (git): Removed trailing space
-
05:10 AM Revision 8a79f345 (git): [ruby/json] Unicode string like § is not allowed in C files at ruby/ruby repo
- https://github.com/ruby/json/commit/53409bcc74
-
05:10 AM Revision 718c4f7e (git): JSONPure: String#to_json should raise on invalid encoding
- Fix: #344
This matches the ext behavior. -
05:10 AM Revision 8fdd3d0e (git): JSON::Pure fix strict mode
- Followup: https://github.com/flori/json/pull/519
Fix: https://github.com/flori/json/issues/584 -
05:10 AM Revision ea9d3408 (git): [ruby/json] Fix compilation warning
- ```
generator.c:69:27: warning: comparison of integers of different signs: 'short' and 'unsigned long' [-Wsign-compare]
for (i = 1; i < ch_len; i++) {
```
https://github.com/ruby/json/commit/ff8edcd47c - 05:10 AM Revision 934d67b4 (git): [ruby/json] generator.c: Optimize by combining calls to fbuffer_append
- https://github.com/ruby/json/commit/62301c0bc3
- 05:10 AM Revision 74d459fd (git): [ruby/json] Adjust to the CVTUTF code being gone
- I, Luke T. Shumaker, am the sole author of the added code.
I did not reference CVTUTF when writing it. I did reference the
Unicode standard (15.0.0), the Wikipedia article on UTF-8, and the
Wikipedia article on UTF-16. When I saw some... - 05:10 AM Revision 6e479689 (git): [ruby/json] Delete code that is based on CVTUTF
- I did this based on manual inspection, comparing the code to my re-created
history of CVTUTF at https://git.lukeshu.com/2git/cvtutf/ (created by the
scripts at https://git.lukeshu.com/2git/cvtutf-make/)
https://github.com/ruby/json/comm... -
05:10 AM Revision bad4ad63 (git): [ruby/json] Update all links to the repository following transfert
- https://github.com/ruby/json/commit/1edfeb8f10
- 03:22 AM Revision f35e97bf (git): Bump actions/checkout in /.github/actions/setup/directories
- Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](http... - 03:04 AM Revision f6494276 (git): Bump github/codeql-action from 3.26.11 to 3.26.12
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.11 to 3.26.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.... - 03:03 AM Revision 24621df4 (git): Bump actions/upload-artifact from 4.4.0 to 4.4.1
- Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/507695... - 02:45 AM Revision b9b06df3 (git): Bump actions/cache in /.github/actions/setup/directories
- Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.co... -
02:18 AM Feature #20782 (Assigned): Introduction of Happy Eyeballs Version 2 (RFC8305) in TCPSocket.new
-
12:27 AM Misc #20746: Request to migrate the json gem from flori/json repository to ruby/json
- I made @byroot to new maintainer of `ruby/json`.
He will optimize performance of JSON like https://github.com/ruby/json/pull/598 and https://github.com/ruby/json/pull/597. -
12:12 AM Revision 8c7e291d (git): Update references to flori/json
- Now that the repository was transfered, these links will become
dead in a few months.
10/07/2024
-
07:32 PM Feature #6648: Provide a standard API for retrieving all command-line flags passed to Ruby
- @nobu True, it would also be helpful to have a way to capture the original CWD.
Then that example would work just fine with `ruby -C subdir -e 'exec(RbConfig.ruby, *Process.ruby_args, "-e", "p :OK", chdir: Process.original_working_direc... -
07:21 PM Revision 05d3b727 (git): [DOC] Tweaks for Array#permutation (#11802)
-
05:57 PM Revision 4cbd2ab9 (git): [ruby/prism] Properly handle non-assoc operators
- https://github.com/ruby/prism/commit/dbd5c929d6
-
05:07 PM Revision 35711903 (git): YJIT: Add --yjit-mem-size option (#11810)
- * YJIT: Add --yjit-mem-size option
* Improve --help
* s/the region/this virtual memory region/
Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
---------
Co-authored-by: Maxime Chevalier-Boisvert <max... -
04:38 PM Revision 8d1906e8 (git): [ruby/prism] Handle invalid commas in arguments, parameters, and arrays
- https://github.com/ruby/prism/commit/023e894b74
-
04:36 PM Revision a9086134 (git): [rubygems/rubygems] Fix `bundle.bat` re-execution
- It does not have ruby code, so we should not prepend `ruby` to the
command the re-execute it.
https://github.com/rubygems/rubygems/commit/e04e00f7bb -
03:52 PM Revision 8d359644 (git): [ruby/prism] Set contains_keywords flag for implicit gets($/, chomp: true) method call to handle -l CLI option
- https://github.com/ruby/prism/commit/717e41c87d
-
03:44 PM Revision b8c8529d (git): [ruby/prism] Fix up unary * binding power
- https://github.com/ruby/prism/commit/c1d23d4702
-
02:47 PM Revision a6cf1324 (git): Revert "Add debugging code to vm_objtostring in ASAN"
- This reverts commit c32fd1b5ed6709dfbed3d19cac881886576e231b.
The bug seems to have been fixed with 6acf03618a937f5302fbd3043f9c3420a49f8cb3. -
02:39 PM Revision fa547b80 (git): [ruby/prism] Fix up errors on invalid escape character syntax
- https://github.com/ruby/prism/commit/14c8559378
-
01:39 PM Revision 216d087f (git): Disable -Wunused-function for shared GC in gc/gc.h
- Shared GC might not use the private functions in gc/gc.h, so they will
show up as warnings for unused functions. This commit disables
-Wunused-function for these functions when building as shared GC. -
01:07 PM Revision 9ee0e112 (git): Mention `Hash#inspect` changes in NEWS.md
- This will likely cause some incompatibilities in various projects
we should try to make it as clear as possible for the next preview
release. -
01:00 PM Revision ef7d7ee7 (git): CI: Use full name of the label 'Documentation'
- Since `github.event.pull_request.labels.*.name` is an object filter,
the item to be searched in needs to be the same whole string, not a
partial string. - 11:25 AM Revision c818606d (git): [ruby/rdoc] Use normal `font-weight` for links
- (https://github.com/ruby/rdoc/pull/1188)
https://github.com/ruby/rdoc/commit/b53f0cb2ed -
10:24 AM Misc #20728 (Closed): Propose Eileen Uchitelle as a core committer
- I prepared email, slack, git.r-l.o, github and redmine.
-
10:20 AM Revision 67591b54 (git): Make rbconfig/sizeof keys US-ASCII
-
09:45 AM Revision dbb1abac (git): Make rbconfig/sizeof keys as literals
- These keys are made from string literals, and used only as keys of
hashes. -
09:39 AM Feature #20786: Flow chaining with "then" keyword
- You're right. Thats why I proposed to evaluate rhs conditionally.
The canonical form has a clear *beginning* and *end*, so I assume your comment refers to the beginningless form. Let's look the following example:
``` ruby
foo then bar... -
02:18 AM Feature #20786: Flow chaining with "then" keyword
- It looks to conflict inside `if`.
-
09:22 AM Revision 66b69d4e (git): [DOC] Move each `Float#to_s` example item by item
- Like as +half+ option in Float#round.
If the body of the preceding list items and the following code block
are indented at the same position, the code block is parsed as a list
continuation.
[Fixes GH-11683] - 08:20 AM Revision 7081838d (git): [DOC] String#sub! and String#gsub! return nil if no replacement occured
- 06:28 AM Revision 32c733f5 (git): [DOC] Add some descriptions for options of `Socket::tcp`
-
03:38 AM Misc #20746 (Closed): Request to migrate the json gem from flori/json repository to ruby/json
- flori transferred json repo under the Ruby organization today. We have https://github.com/ruby/json now.
-
02:06 AM Revision 773d140f (git): [Bug #20787] Check the separator in `IO#readline` as well as 3.2
-
01:04 AM Revision ec526c61 (git): json upstream is ruby/json now
-
12:37 AM Revision 0752fff2 (git): [ruby/reline] Add cursor keys for application keypad mode to default
- key bindings
(https://github.com/ruby/reline/pull/719)
* Add SS3 arrow sequence to default key bindings
* Remove wrong KDE arrow sequence
https://github.com/ruby/reline/commit/546a42522e
10/06/2024
-
11:35 PM Revision 8f5abcb0 (git): [ruby/reline] Allow utf-8 safe meta key mapping in inputrc
- (https://github.com/ruby/reline/pull/723)
Readline's convert-meta setting is utf-8 unsafe.
Allow assigning `"\M-char": key` to bind "\echar": key even if convert-meta is not enabled.
https://github.com/ruby/reline/commit/9844b99c6e -
06:53 PM Bug #20787 (Closed): IO#readline does not check its arguments like IO#gets and will read more data than limit
- In revision commit:d3574c117a637a4456aa3ee78e24d8df510b9355, the implementation of IO#readline was modified and consequently broke argument handling in a subtle way. It no longer checks that the encoding of the separator string is compa...
-
02:04 PM Feature #20786 (Rejected): Flow chaining with "then" keyword
- Hi,
I would like to propose using the *"then"* keyword to create chained flows.
### Background:
Original idea: https://bugs.ruby-lang.org/issues/20770#change-110056
However, the concept has changed slightly since then. I now assume... -
11:10 AM Revision 98620f6c (git): [ruby/irb] Change default completor from regexp to auto, try
- TypeCompletor and fallback to RegexpCompletor.
(https://github.com/ruby/irb/pull/1010)
https://github.com/ruby/irb/commit/bb6a99d815 -
04:07 AM Bug #20785: Should `a in b, and c` `a in b, or c` `a in b, rescue c` be syntax ok?
- I agree with tompng's proposal.
> I'm guessing that `a in b`, is parsed as `a in [b,]` but a trailing comma like that is just too wild for me
`in` (`=>`) can be considered right assignment.
And, I think it makes sense that a trail... -
12:55 AM Bug #20785: Should `a in b, and c` `a in b, or c` `a in b, rescue c` be syntax ok?
- tompng (tomoya ishida) wrote:
> I think these should be accepted like parse.y (prism rejects)
> ...
Can you explain your reasoning here? I'm guessing that `a in b,` is parsed as `a in [b,]` but a trailing comma like that is just too wi...
10/05/2024
-
11:29 PM Revision a6383fbe (git): CI: Simplify parsey.yml
-
07:46 PM Feature #20770: A *new* pipe operator proposal
- I think there are good reasons to want a `|>` operator in addition to (or instead of) `.{}`, but `foo.{ bar it }` is intriguing syntactic sugar. I think I like it. I just noticed that [it was rejected by Matz](https://bugs.ruby-lang.or...
-
05:58 PM Revision a1c22280 (git): Non-zero exit when error in loading shared GC
- Before this commit, when there is an error in loading the shared GC, an
error was outputted but it did not exit, causing it to segfault later on. -
05:02 PM Revision 80244548 (git): [ruby/reline] Fix tempfile leaks
- (https://github.com/ruby/reline/pull/757)
https://github.com/ruby/reline/actions/runs/11187507536/job/31104699331#step:13:1064
```
Children under /tmp/rubytest.m48l5o:
* -rw------- 1 101 2024-10-02 17:43:51 +0000 rubyfile20241002-60503-... -
05:02 PM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- To provide some datapoint, here's the impact on Rails test suite: https://github.com/rails/rails/pull/53202
I still love the change, and it really wasn't much work to fix, but I fear we may hear some complaints. -
04:55 PM Revision e6fa7c35 (git): [ruby/reline] Hash#inspect style has changed in ruby 3.4
- [[Bug #20433]](https://bugs.ruby-lang.org/issues/20433)
https://github.com/ruby/reline/commit/ca457ffb70 -
03:55 PM Revision a6da8d69 (git): [ruby/irb] Hash#inspect style has changed in ruby 3.4
- [[Bug #20433]](https://bugs.ruby-lang.org/issues/20433)
https://github.com/ruby/irb/commit/ecd08a527e -
02:29 PM Revision d17edf3a (git): [Bug #20705] Update `strtod` implementation
- The absence of either the integer or fractional part should be
allowed. -
07:47 AM Bug #20785 (Closed): Should `a in b, and c` `a in b, or c` `a in b, rescue c` be syntax ok?
- This code is accepted in parse.y but rejected in prism
~~~ruby
tap do
a in b, and c
a in b, or c
a in b, rescue c
end
# parsed as
tap do
(a in b,;) and c
(a in b,;) or c
a in b,;
rescue c
end
~~~
I think th... -
07:07 AM Revision f37e6d7f (git): Merge `rb_parser_enc_compatible_latter` into `rb_parser_enc_compatible`
-
07:06 AM Revision 4b065bbe (git): Move common code to `enc_compatible_latter`
-
06:59 AM Revision 9dbbd018 (git): Parser string encoding is always ASCII-compatible
-
06:59 AM Revision 6743e628 (git): [Bug #20784] Fix incomplete character syntax followed by EOF
-
06:21 AM Bug #20784: `?\` followed by EOF is parsed wrong
- https://github.com/ruby/ruby/pull/11805
-
06:17 AM Bug #20784 (Closed): `?\` followed by EOF is parsed wrong
- `?\` at EOF should be syntax error
~~~
% printf "p ?\\" | ruby --parser=parse.y
[nothing shown]
% printf "1 in a ?\\" | ruby --parser=parse.y -c
Syntax OK
~~~
With `--parser=prism`, `?\` at EOF is parsed as empty string, repor... -
06:17 AM Feature #17326 (Closed): Add Kernel#must! to the standard library
- I still do not see the need for this method. Although this method can be used for type assertion, there are no plans at this time to introduce features related to type declarations and assertion into the language core.
Matz.
-
06:13 AM Feature #20769 (Feedback): Add `Hash#transform_value`
- I don't see the real-world use-case for the proposed method.
Matz.
-
02:36 AM Revision e939f28c (git): Use quadrigraphs for a hash
- So that the closing bracket does not look like commented out.
- 02:10 AM Revision c50298d7 (git): Introduce `rb_io_blocking_region` which takes `struct rb_io` argument. (#11795)
- This does not change any actual behaviour, but provides a choke point for blocking IO operations.
* Update `IO::Buffer` to use `rb_io_blocking_region`.
* Update `File` to use `rb_io_blocking_region`.
* Update `IO` to use `rb_io_blocki...