Activity
From 10/08/2024 to 10/14/2024
10/14/2024
-
07:24 PM Feature #20792: String#with_encoding(encoding)
- > I think the advantage right now is that it doesn't require a mutable string to check.
`with_encoding` would alwa... -
05:41 PM Feature #20792: String#with_encoding(encoding)
- I think the advantage right now is that it doesn't require a mutable string to check. It seems like all of these othe...
-
05:00 PM Bug #20798 (Closed): Missing spaces/punctuation in SyntaxError message.
-
05:00 PM Bug #20798: Missing spaces/punctuation in SyntaxError message.
- kddnewton (Kevin Newton) wrote in #note-1:
> This is an issue with the syntax suggest gem. Could you open an issue h... -
04:55 PM Bug #20798: Missing spaces/punctuation in SyntaxError message.
- This is an issue with the syntax suggest gem. Could you open an issue here please? https://github.com/ruby/syntax_sug...
-
04:49 PM Bug #20798 (Closed): Missing spaces/punctuation in SyntaxError message.
- Hi all,
with the following simple snippet of Ruby code:
``` ruby
def x.y.z
end
```
the interpreter rais... -
09:54 AM Feature #20205: Enable `frozen_string_literal` by default
- We just submitted a PR with @etienne: https://github.com/ruby/ruby/pull/11893
Now the default warning is: `warning... -
06:55 AM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
- This PR seems relevant, and fits in the (rather large) preview1/preview2 window: https://github.com/ruby/ruby/pull/11519
-
05:24 AM Bug #20797 (Closed): UTC offset seconds part is not checked
- Applied in changeset commit:git|9611c619ac60e9aeb0341b0c8cf322a42707ce38.
----------
[Bug #20797] Check seconds in U... -
04:38 AM Bug #20797 (Closed): UTC offset seconds part is not checked
- While this raise ArgumentError:
```ruby
Time.new(2024, 12, 25, 0, 0, 0, "+09:99") # ... expected for utc_offset (...
10/13/2024
-
10:59 PM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
- The segmentation fault does not reproduce when running the test individually:
```console
$ bundle exec rake TESTO... -
09:44 PM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
- Yes, that's correct. I'm using an Intel-based Mac running macOS. Here are the details of my environment:
* Archite... -
08:11 PM Bug #20796: Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
- I'm not able to reproduce this, but I'm on an ARM mac. It looks like this is an Intel machine running macos? Is that...
-
12:22 AM Bug #20796 (Closed): Segmentation fault in rubyzip tests with ruby 3.4.0-preview2~659 e7cb70be4e on x86_64-darwin24
- Steps to reproduce
---
```console
$ git clone [email protected]:rubyzip/rubyzip
$ cd rubyzip
$ bundle
$ bundle e... -
04:46 PM Bug #20795: Timeout method doesn't check for negative time values
- Could you make a PR to https://github.com/ruby/timeout ? (or if not open an issue there?)
10/12/2024
-
07:07 PM Bug #20795 (Closed): Timeout method doesn't check for negative time values
- ```ruby
require 'timeout'
# Case 1: Negative timeout with quick execution
Timeout.timeout(-5) do
puts "This s...
10/11/2024
-
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 enc... -
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 inv... -
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 a... -
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 displ... -
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 th...
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 dynami... -
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 us... -
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 un... -
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 yo... -
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 = ... -
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_... -
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 mac... -
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 ...
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... -
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 ... -
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 l...
-
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::...
-
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_strin... -
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 dependi...
-
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 syn... -
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
-
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 `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... -
04:12 AM Feature #20205: Enable `frozen_string_literal` by default
- I did quick investigation on the warnings that @hsbt said.
> ```
> ruby-dev/lib/ruby/3.4.0+0/open-uri.rb:455: war... -
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 surprised... -
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_RELATI... -
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 Windo...
-
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 syn...
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.
... -
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.
-
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 ... -
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 minim... -
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/79a8750ade3e332c1ab78aa9cbc6ca7fd82...
-
05:18 AM Feature #20705 (Closed): Should "0.E-9" be a valid float value?
- commit:d17edf3a170b733356836353508319443d12c53c
-
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...
Also available in: Atom