Activity
From 07/24/2019 to 07/30/2019
07/30/2019
-
11:47 PM Revision 4afd8975 (git): File.exists? is deprecated.
-
11:47 PM Revision 3e4e8dbe (git): Uninstall ntlm-http and plist for failure of osx test.
- It contains too old configuration that is autorequire. It will be
removed at the RubyGems 3.1.0. -
11:47 PM Revision 77c0e23b (git): [rubygems/rubygems] Partly reverted be962ca0c411f3b4bcfebfb6e714c78cbad12775
- * `Gem::ConfigMap` is still used by Bundler.
* `Gem::RubyGemsVersion` is also still referred by the old gems.
https://github.com/rubygems/rubygems/commit/249c3ff44f -
11:47 PM Revision 2a81d3a2 (git): [rubygems/rubygems] Skip integration test for rake package task.
- https://github.com/rubygems/rubygems/commit/ca8afc01a3
- 11:47 PM Revision ab8d9a53 (git): [rubygems/rubygems] Initialize '@ran_rake' correctly, so we don't have to set it up later and cause confusion
- https://github.com/rubygems/rubygems/commit/6ec3ba983c
- 11:47 PM Revision 5824981d (git): [rubygems/rubygems] Remove extension 'double pipe equals' assigment since is not needed anymore
- https://github.com/rubygems/rubygems/commit/930de86a24
- 11:47 PM Revision b73ad499 (git): [rubygems/rubygems] Move 'build_for' to handle extension type before the extension is used
- https://github.com/rubygems/rubygems/commit/2a32c5ef0a
- 11:47 PM Revision 9dc0f39d (git): [rubygems/rubygems] Do not pass +build_dir+ argument to build_error
- https://github.com/rubygems/rubygems/commit/107fea3432
- 11:47 PM Revision d97fc48e (git): [rubygems/rubygems] Remove useless param +build_dir+
- https://github.com/rubygems/rubygems/commit/0402974149
- 11:47 PM Revision a51661d3 (git): [rubygems/rubygems] Drop support for 'gem env packageversion'
- https://github.com/rubygems/rubygems/commit/be962ca0c4
-
11:47 PM Revision 62e2b2e6 (git): [rubygems/rubygems] Improve `rake package` test error message
- https://github.com/rubygems/rubygems/commit/be962ca0c4
-
11:47 PM Revision 61893ddf (git): [rubygems/rubygems] Get `rake package` tested
- https://github.com/rubygems/rubygems/commit/006cdd4084
-
11:47 PM Revision bb6bd7e9 (git): [rubygems/rubygems] Generate a licenses.rb file with correct style
- https://github.com/rubygems/rubygems/commit/469fceeb2f
-
11:47 PM Revision 497efa0e (git): [rubygems/rubygems] Enable `Layout/AlignArray` cop
- https://github.com/rubygems/rubygems/commit/1ea674d8f7
-
11:47 PM Revision 0817d957 (git): [rubygems/rubygems] Enable `Layout/EmptyLinesAroundAccessModifier`
- https://github.com/rubygems/rubygems/commit/41b1cebc33
- 11:47 PM Revision 3cc814bd (git): [rubygems/rubygems] Remove warning: shadowing outer local variable - spec
- https://github.com/rubygems/rubygems/commit/70c5c17a5f
- 11:47 PM Revision 33025d97 (git): [rubygems/rubygems] Make error code a constant and remove TODO comment
- https://github.com/rubygems/rubygems/commit/3d6c7c92e4
- 11:47 PM Revision a3b784b3 (git): [rubygems/rubygems] Move default specifications dir definition out of BasicSpecification.
- This was never the right place. The method got there just by evolution,
not by design. Move it within default methods, where it suits better.
Since this method is presumably used just internally, it should be safe
to deprecate it and re... -
11:47 PM Revision d1806bd8 (git): [rubygems/rubygems] There is no usage of @orig_env_* variables in test suite.
- https://github.com/rubygems/rubygems/commit/2adef51dc9
-
11:47 PM Revision a3c0ea55 (git): [rubygems/rubygems] Ignore GEMRC variable for test suite. It affects with some test case.
- https://github.com/rubygems/rubygems/commit/4a0ca2583a
- 11:47 PM Revision 1eaacb1e (git): [rubygems/rubygems] Use File#open instead of Kernel#open
- https://github.com/rubygems/rubygems/commit/bfb3f67494
- 11:47 PM Revision 41dd9f7e (git): [rubygems/rubygems] Deprecate Gem::RemoteFetcher#fetch_size
- https://github.com/rubygems/rubygems/commit/c2049c3276
- 11:47 PM Revision a34168f2 (git): [rubygems/rubygems] Autorequire was used by old RubyGems, it is neither supported nor functional.
- https://github.com/rubygems/rubygems/commit/cadb66037d
-
11:47 PM Revision a2f0331c (git): [rubygems/rubygems] Simplify #to_ruby code
- Separate #add_runtime_dependency and #add_development_dependency
availability condition from #specification_version availability,
which is not related to directly.
Also check if the former method is available, instead of comparing
the ve... - 11:47 PM Revision 5947ea31 (git): [rubygems/rubygems] Missing dependency
- https://github.com/rubygems/rubygems/commit/79b62c233a
- 11:47 PM Revision 0d596c1a (git): [rubygems/rubygems] Making Gem::S3URISigner.sign method smaller with helper methods
- https://github.com/rubygems/rubygems/commit/2a96494d91
- 11:47 PM Revision 74419711 (git): [rubygems/rubygems] Use default value for expiration in the method signature
- https://github.com/rubygems/rubygems/commit/1372e50c17
- 11:47 PM Revision aa9015dd (git): [rubygems/rubygems] Moving rubygems/request dependencies into ec2_metadata
- https://github.com/rubygems/rubygems/commit/6a1856517f
- 11:47 PM Revision 4a8c2dd4 (git): [rubygems/rubygems] Extracting sign_s3_url & s3_source_auth into a separate S3URISigner class
- https://github.com/rubygems/rubygems/commit/c30d21ec7a
- 11:47 PM Revision 1dfe132a (git): [rubygems/rubygems] Move TODO comment to an information comment
- https://github.com/rubygems/rubygems/commit/853ecdd417
- 11:47 PM Revision 70811856 (git): [rubygems/rubygems] Remove unused 'raise' from test_case
- https://github.com/rubygems/rubygems/commit/2481efcb37
- 11:47 PM Revision eb35124c (git): [rubygems/rubygems] Remove TODO comment, there's no Gem::Dirs constant
- https://github.com/rubygems/rubygems/commit/4bacf577f1
- 11:47 PM Revision 60d3f9ef (git): [rubygems/rubygems] Remove useless TODO comment
- https://github.com/rubygems/rubygems/commit/44bc809dc8
- 11:47 PM Revision bd78eabc (git): [rubygems/rubygems] Addressing PR comments
- https://github.com/rubygems/rubygems/commit/fb62d3043c
- 11:47 PM Revision b2a54744 (git): [rubygems/rubygems] check_version_conflict don't have a 'dep' variable available for use
- https://github.com/rubygems/rubygems/commit/1783cf0fd3
- 11:47 PM Revision 56801d45 (git): [rubygems/rubygems] Remove missleading comment, no reason to move Gem.host to Gem::Util
- https://github.com/rubygems/rubygems/commit/e12c98aa72
- 11:47 PM Revision ff214e92 (git): [rubygems/rubygems] Remove useless comment in exceptions.rb
- https://github.com/rubygems/rubygems/commit/d7ad696fa2
- 11:47 PM Revision 6bd77723 (git): [rubygems/rubygems] Rename Gem::Package.metadata to Gem::Package.raw_spec
- https://github.com/rubygems/rubygems/commit/a76f25dff0
- 11:47 PM Revision 38daeded (git): [rubygems/rubygems] Upgrading S3 source signature to AWS SigV4
- https://github.com/rubygems/rubygems/commit/f289788ca5
- 11:47 PM Revision 688ccc96 (git): [rubygems/rubygems] Move metadata method to Gem::Package
- https://github.com/rubygems/rubygems/commit/2c9cfcb666
-
11:47 PM Revision 8103d46a (git): [rubygems/rubygems] Add a package attr_reader to Gem::Installer.
- Add some basic specs for the package attr_reader.
https://github.com/rubygems/rubygems/commit/68af2a0ee3 - 11:47 PM Revision 6be927ff (git): [rubygems/rubygems] Remove missleading TODO comment. Can't use @parser.accept since not
- every class where this is used has a parser available. i.e lib/rubygems/install_update_options.rb
https://github.com/rubygems/rubygems/commit/519fd4dcc0 - 11:47 PM Revision c421ef11 (git): [rubygems/rubygems] Move gemcutter utilities code to Gem::Command
- https://github.com/rubygems/rubygems/commit/f296645033
- 11:47 PM Revision 5eacb4c5 (git): [rubygems/rubygems] Remove conflict.rb code that was supposed to be removed in Rubygems 3
- https://github.com/rubygems/rubygems/commit/6d5f743a89
- 11:47 PM Revision a7bce011 (git): [rubygems/rubygems] Remove unnecessary &&= operator
- https://github.com/rubygems/rubygems/commit/a10b5265d7
- 11:47 PM Revision 8b91a6d0 (git): [rubygems/rubygems] Remove unnecessary TODO comment
- https://github.com/rubygems/rubygems/commit/ad7e379f79
-
11:47 PM Revision df0b41fc (git): [rubygems/rubygems] Explicitly deprecate `rubyforge_project`
- https://github.com/rubygems/rubygems/commit/9094740109
-
11:47 PM Revision 0ca494fc (git): [rubygems/rubygems] Silence deprecations when gemdeps is used in tests
- Because we can't control 3rd party gems using deprecated rubygems
behavior, and thus outputting warnings to the screen.
https://github.com/rubygems/rubygems/commit/6912ebf20a -
11:47 PM Revision 05ae2c11 (git): [rubygems/rubygems] Do not replace the cache entry if there is already one
- * That way, multiple lookups for the same file always return the same object.
https://github.com/rubygems/rubygems/commit/50a431b6db -
11:47 PM Revision 2453d16f (git): [rubygems/rubygems] Synchronize access to the Gem::Specification::LOAD_CACHE Hash
- * It's accessed concurrently, notably when installing a gem with a C extension.
https://github.com/rubygems/rubygems/commit/543294d7dd - 11:47 PM Revision 89bd1df8 (git): [rubygems/rubygems] Add a blank line after private to be consistent with the current style
- https://github.com/rubygems/rubygems/commit/df7c0e4223
- 11:47 PM Revision 673ef894 (git): [rubygems/rubygems] Return early if filename is empty
- https://github.com/rubygems/rubygems/commit/1b9ab33083
- 11:47 PM Revision d74ea2ee (git): [rubygems/rubygems] Simplify config_file_name assigment
- https://github.com/rubygems/rubygems/commit/1b3154f905
- 11:47 PM Revision 6c517063 (git): [rubygems/rubygems] Lazy require stringio
- https://github.com/rubygems/rubygems/commit/82f0d4ca69
- 11:47 PM Revision 7990d8dc (git): [rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if available
- https://github.com/rubygems/rubygems/commit/471239f1fa
- 11:47 PM Revision 6f60ead7 (git): [rubygems/rubygems] Move config_file_name logic to its own method
- https://github.com/rubygems/rubygems/commit/ac4596aace
-
11:47 PM Revision d64cc80b (git): [rubygems/rubygems] Migrate extension builder to use Open3
- Since it works on jruby.
https://github.com/rubygems/rubygems/commit/5229e00df4 -
11:47 PM Revision 4e27319c (git): [rubygems/rubygems] Remove unused method
- https://github.com/rubygems/rubygems/commit/f2dbf242ea
-
10:30 PM Misc #15723: Reconsider numbered parameters
- Eregon (Benoit Daloze) wrote:
>
> ...
What about those of us who don't like the current trend in Ruby of turning everything into a shorter, harder-to-grok jumble of non-alphanumeric symbols? Or is that just me?
WRT the issue at ha... -
06:59 PM Misc #15723: Reconsider numbered parameters
- shevegen (Robert A. Heiler) wrote:
First, it's Benoit (my first name) or Eregon/eregon, but not `benoit`.
I think it's perfectly fine to include a proposal in addition to the summary, and have that to guide the discussion at the me... -
03:34 PM Misc #15723: Reconsider numbered parameters
- I think we have quite a bit of repetitive statements going on here. I'll not write too much,
but instead I should like to point out that mame started another thread in regards to the
single argument situation (such as "it") versus mul... -
10:15 PM Bug #15727 (Closed): [BUG] Segmentation fault at 0x0000000000000000 ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
-
09:47 PM Bug #16023: json/add/core isn't complete
- I'm not sure why it's in the standard library if it isn't the standard library, but sure.
-
08:55 PM Bug #15551: The behavior of FIX2INT and FIX2UINT differs by platform
- I consider this an implementation detail and not a bug. I'm guessing the reason for this behavior is if `sizeof(int) == sizeof(long)`, then all Fixnums are convertible to int (since all Fixnums are convertible to long). This is differen...
-
08:49 PM Bug #12989 (Closed): Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
- Applied in changeset commit:git|ebc99e026d0ae770b297a93d1f1c1ceeffd13bfc.
----------
Do not change IO.pipe encodings if encodings explicitly given
This commit makes it so that if the binmode option is given with
any encoding arguments,... -
09:37 AM Bug #12989: Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
- jeremyevans0 (Jeremy Evans) wrote:
> Here's an updated patch based on tenderlove's original patch that does not change the encoding of the returned IO objects if encoding arguments are given in addition to the `binmode` option. Is this ... -
08:04 AM Bug #12989 (Assigned): Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
- 08:49 PM Revision a4c09342 (git): * expand tabs.
-
07:12 PM Revision ebc99e02 (git): Do not change IO.pipe encodings if encodings explicitly given
- This commit makes it so that if the binmode option is given with
any encoding arguments, the reader and writer IO objects are
not set to binary encoding.
Fixes [Bug #12989] - 07:03 PM Revision d8562ab2 (git): Passing `binmode: true` to `IO.pipe` should behave like `binmode`
- When passing `binmode: true` to `IO.pipe`, it should behave the same way
as calling `binmode` on each of the file handles. It should set the
file to binmode *and* set the encoding to binary on the file.
Before this commit, passing `bin... -
07:00 PM Bug #14485 (Closed): For File#path.tainted? and File#to_path.tainted? should match original.tainted?
- Applied in changeset commit:git|a50bc9f3c8e0696ede25305c03eadecc543b863b.
----------
Do not always taint the result of File#path
The result should only be tainted if the path given to the method
was tainted.
The code to always taint t... - 07:00 PM Revision 369c36ef (git): * 2019-07-31
-
06:55 PM Revision a50bc9f3 (git): Do not always taint the result of File#path
- The result should only be tainted if the path given to the method
was tainted.
The code to always taint the result was added in
a4934a42cbb84b6679912226581c71b435671f55 (svn revision 4892) in
2003 by matz. However, the change wasn't me... -
04:32 PM Feature #15973: Let Kernel#lambda always return a lambda
- akr (Akira Tanaka) wrote:
> The lambda-ness of Proc object affects control flow: the behavior of "return" and "break".
> ...
I think everyone can agree with that. The issue I guess is **should it be allowed to define a lambda using blo... -
01:31 PM Feature #15973: Let Kernel#lambda always return a lambda
- I agree with @akr here, as long as `lambda` with a block argument warns.
We need to keep compatibility. But I think we should warn this inconsistent behavior.
Matz. -
08:08 AM Feature #15973 (Assigned): Let Kernel#lambda always return a lambda
- does anyone can write a discussion summary? :p
-
04:04 PM Bug #14834 (Open): rb_profile_frames SEGV when PC adjusted on IFUNC
- I believe since r64737 this is an issue again.
On Ruby 2.6.3 I get an almost identical stacktrace as before
```
Thread 1 "ruby" received signal SIGSEGV, Segmentation fault.
0x00005555555cac9e in succ_index_lookup (x=<optimized ou... -
01:35 PM Bug #12961: Bad value for range using infinity for Date or Time
- So we only need to fix `Date` class. I don't think we should enhance Time ranges to support Integer/Float.
Matz.
-
08:50 AM Bug #12961: Bad value for range using infinity for Date or Time
- matz (Yukihiro Matsumoto) wrote:
> Since both `Time` and `Date` work with float numbers at the other ends of the ranges, it should accept `Float::INFINITY` as well.
> ...
It looks only Date supports float number. -
01:26 PM Feature #16011 (Rejected): Digit grouping
- I agree with @duerst and @Hanmac
It's handy but it cannot be in the standard library.
Matz. -
07:56 AM Feature #16011 (Assigned): Digit grouping
-
12:16 PM Revision ceb9e276 (git): Shorten dependency hint [ci skip]
-
12:15 PM Revision f3b0ed3f (git): Try giving up `brew update` in Azure as well
- homebrew-cask fetch fails too often.
https://dev.azure.com/rubylang/ruby/_build/results?buildId=1917 -
11:30 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #15868] Implement `File.absolute_path?`
-
08:42 AM Misc #15996: DevelopersMeeting20190829Japan
- Triage:
* [Feature #15998] Allow String#-@ to deduplicate tainted string, but return an untainted one
* taint removal schedule
* [Feature #15123] Enumerable#compact proposal
* [Feature #15854] Tracing instance variable assignment
... -
04:32 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Misc #15723] Reconsider numbered parameters
* Reading from description, I think there are a few supporters of removing `@1`, `@2` in favor of just having `@` refer to the first argument.
* I also believe having just `@` is enoug... -
11:20 AM Misc #16025: 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
- k_takata (Ken Takata) wrote:
> 2\. Remove `st_check_for_sizeof_st_index_t`
> ...
This failure means the size of `st_index_t` doesn't equal the size of `void*`, so this check was not redundant actually. -
08:23 AM Misc #16025 (Assigned): 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
-
09:43 AM Bug #9529 (Third Party's Issue): TarHeader (Gem::Package) doesn't parse size correctly for +8GB entries
- I'm not sure what usecase of this issue.
Can you file the details into the upstream repository? https://github.com/rubygems/rubygems
Thanks. -
09:38 AM Bug #6702 (Rejected): Date should be either required or not
- This issue was too old. If anyone still has an issue, Please report the new issue.
-
08:38 AM Feature #16027 (Assigned): Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- I need to study USDT...
* I think dtrace feature is useful because they can operate *outside* of process (do not need to modify observed process). However, your proposal seems to introduce new Ruby APIs to enable them. What do you th... -
12:32 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- Hi Martin,
> Do you have any parts implemented already
Yes,I have a prototype gem that adds StaticTracing.tracepoint as a way to define
a stub library that can be used for a debugger (dtrace/bpftrace) to attach
to, similar to the... -
08:34 AM Bug #15490 (Third Party's Issue): socket.rb - recurring segmentation faults
-
08:34 AM Bug #15639 (Third Party's Issue): [BUG] Segmentation fault at 0x000000010e82ca3a
-
08:26 AM Bug #16000 (Closed): How to avoid the need for updating dependencies manually
- Applied in changeset commit:git|e25088488bbf7b4bf1be19e57ee5fba41ad6f21c.
----------
Hint for the dependency update [Bug #16000] -
08:23 AM Revision e2508848 (git): Hint for the dependency update [Bug #16000]
-
08:13 AM Feature #15955: UnboundMethod#apply
- > In fact, TruffleRuby does it for such a pattern.
I wonder that people use this pattern! (I'd never used it except test). -
08:13 AM Feature #16012 (Assigned): Add a (small) test-install suite?
-
07:54 AM Bug #10466 (Assigned): rb_eval_string_wrap does not actually wrap in a module binding
-
07:51 AM Feature #15923 (Rejected): New independent string without memcpy
- I didn't all comments, but it seems solved.
Please reopen it if it is my mistake.
-
07:45 AM Feature #15902: Add a specialized instruction for `.nil?`
- All right, go ahead.
-
07:44 AM Revision 47144f91 (git): Separate VCS::GIT#upstream
-
07:44 AM Bug #10919 (Assigned): [gem install] installs multipe platforms
-
07:30 AM Bug #15620 (Assigned): Block argument usage affects lambda semantic
-
07:26 AM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- * maybe it should be an alias of `caller_locations(1, 1).first`.
* do you know good name on it? `caller_location(n=1)`, for example?
* do people use it on performance important places? I assume it is debugging method. Other than debugg... -
07:07 AM Feature #14145: Proposal: Better Method#inspect
- > My motivation is that selection by double-clicking in the terminal just works with a space,
Good motivation! -
05:39 AM Bug #15977: Unobvious result value from #next_rotate_time and #previous_period_end methods of Logger::Period module
- I feel raising an ArgumentError for invalid value is the way to fix. It breaks backward behavior, but it is probably acceptable and a correct way to handle an invalid value.
-
04:23 AM Feature #15865: `<expr> in <pattern>` expression
- Alongside pattern matching in case statements, single line pattern matching must be useful too. I understand some are not fully satisfied with `in` operator, but it is a very tough compromise. Introducing a new keyword could break many e...
-
04:23 AM Bug #10006 (Rejected): instance_exec uses incorrect binding with curried proc
- I'm for the first interpretation of @jeremyevans0 . The semantics is simple and clear.
If `instance_eval` affects the context of curried proc, we need to decide how to handle an intermediate call to `instance_eval` that does not invo... -
04:08 AM Feature #15897: `it` as a default block parameter
- I'm against on this proposal because of compatibility issue.
I think current workaround introduces new confusion. -
04:04 AM Misc #15802: Reduce the minimum string buffer size from 127 to 63 bytes
- :)
-
04:03 AM Bug #15994 (Rejected): irb miscalculates nest level when typing do keyword
- could you make an issue on github?
https://github.com/ruby/irb -
03:58 AM Bug #10104 (Rejected): Fileutils cp_r fails on sockets or fifes even if File.mknod and File.mkfifo are defined
- continue on github issue?
-
03:54 AM Bug #15989 (Rejected): irb-1.1.0.pre.1 crashes on using arrow up, home and delete
- could you continue on github issue?
https://github.com/ruby/irb -
03:53 AM Bug #10715 (Closed): WEBrick::HTTPResponse#to_s calls send_response(), and make debugging quite difficult.
- should we continue on github issue?
-
03:47 AM Bug #11493 (Rejected): IRB/Ruby completely exits when attempting to use NoMethodError exception in BasicObject
- could you make an issue and continue to discuss on https://github.com/ruby/irb ?
Thanks,
Koichi -
03:44 AM Revision 2e6f777f (git): `/o` should not use with instance variable
- for example:
```
class C;def initialize(pat);@pat=pat;end;def re;/#{@pat}/o;end;end
C.new('1').re #=> /1/
C.new('2').re #=> /1/
``` -
03:41 AM Feature #15983 (Rejected): Can we have a similar syntax (string interpolation) the way V language has?
- > I know that Ruby has already occupied this $ character. But we can use another character which is not used in Ruby.
Please make new ticket if you have good character instead of `$`.
Thanks. -
03:39 AM Revision 3805ef7f (git): Separate test_set_lineno_gets
-
03:33 AM Feature #15964 (Assigned): Support for RFC2389 in Net::FTP
-
03:21 AM Feature #15963: Add *_start and *_running methods to VM_COLLECT_USAGE_DETAILS API
- Please list new methods to discuss.
```
existing:
rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_INSN_STOP", usage_analysis_insn_stop, 0);
rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_OPERAND_STOP", usage_... -
03:15 AM Bug #16028 (Closed): Backport r67563: SNI is not enabled in Net::IMAP
- Duplicate of #15769, which requires to be backported to also 2.4 and 2.5.
Only _closed_ ticket will be backported. -
03:01 AM Bug #14612 (Closed): IPv6 address inconsistency (downcase vs. upcase)
- Applied in changeset commit:git|1da3a31a5f0211db121e0df4ca456838a437537f.
----------
Use lowercase letters for IPv6 addresses.
Reported by chucke (Tiago Cardoso).
Patch by jeremyevans0 (Jeremy Evans).
[Bug #14612] -
02:59 AM Revision 1da3a31a (git): Use lowercase letters for IPv6 addresses.
- Reported by chucke (Tiago Cardoso).
Patch by jeremyevans0 (Jeremy Evans).
[Bug #14612] -
01:52 AM Feature #14240: warn four special variables: $; $, $/ $\
- jeremyevans0 (Jeremy Evans) wrote:
> > And non-default `$;` and `$,` are warned now.
> ...
There are tons of that warnings, and it is not easy to suppress parser warning within the given file only.
> One problem with the implementat...
07/29/2019
-
11:36 PM Bug #15449: Range#=== is not using cover in Ruby 2.6
- I agree that this is a bug, and not the intended behavior now that `Range#===` calls `Range#cover?` in most cases. Hopefully nobu can confirm. Attached is a patch that fixes the behavior.
I think this should be backported to 2.6, as... -
10:44 PM Bug #15493 (Closed): Seg Fault on 'vagrant up' Fedora29 intel
-
10:44 PM Bug #15601 (Closed): bug in the Ruby interpreter or extension libraries.
-
10:44 PM Bug #15675 (Closed): "fatal - exception reentered" error after installing Ruby 2.5.5
-
10:43 PM Bug #15728 (Closed): error compiling C - file under Ruby
-
10:39 PM Bug #15368 (Closed): Crash Report log information
-
10:37 PM Bug #15309 (Closed): ECB is broken
- This is because `encrypt` is called after `key`, which goes against the documentation. It is not specific to ECB. This is fixed by https://github.com/ruby/openssl/pull/263, which raises an exception for this broken code instead of silen...
-
10:31 PM Bug #15252 (Closed): hitting what seems like a gc segfault at random
-
10:29 PM Bug #15140 (Closed): Bug in Interpreter or Extension Libraries
-
10:28 PM Bug #15034 (Closed): Crash in Opensuse Software management
-
10:27 PM Bug #14943 (Closed): ruby 2.4 doesn't work with jemalloc 5.1.0 properly.
-
10:20 PM Bug #14695 (Closed): [2.5.1] `===` is 1.77x slower than `match?`
-
07:55 PM Bug #16028 (Closed): Backport r67563: SNI is not enabled in Net::IMAP
- There was an issue already created for https://bugs.ruby-lang.org/issues/15594 as a backport for Ruby 2.6 by naruse: https://bugs.ruby-lang.org/issues/15769. Can we get this backported to Ruby 2.5 and 2.4? This affects users on Ubuntu 18...
-
07:18 PM Bug #14485 (Open): For File#path.tainted? and File#to_path.tainted? should match original.tainted?
- I had to revert my patch for this because it failed on a lot of operating systems. There must be cases where the file path is tainted on those systems other than the one place where I removed `rb_obj_taint`. Either that, or the new tes...
-
05:48 PM Bug #14485 (Closed): For File#path.tainted? and File#to_path.tainted? should match original.tainted?
- Applied in changeset commit:git|1a759bfe5d554c22571d2e6e4e5998cf06a7b98f.
----------
Do not always taint the result of File#path
The result should only be tainted if the path given to the method
was tainted.
The code to always taint t... -
07:10 PM Revision 6eab49a4 (git): Revert "Do not always taint the result of File#path"
- This reverts commit 1a759bfe5d554c22571d2e6e4e5998cf06a7b98f.
This fails on some operating systems. -
07:03 PM Feature #14240: warn four special variables: $; $, $/ $\
- nobu (Nobuyoshi Nakada) wrote:
> It does not match to test `rb_warn` with `assert_warning`.
> ...
Thanks. I switched to `assert_warn`, as I think deprecation warnings should be a regular warning, not a verbose warning. Verbose warning... -
06:06 PM Revision 177731aa (git): Document that Timezone argument for Time uses dst? if available [ci skip]
-
05:48 PM Bug #14062 (Closed): Top-level return allows an argument
- Applied in changeset commit:git|aa97410b0a85cb4ceb956ab943b5eee92a128411.
----------
Warn if using return at top-level with an argument
Fixes [Bug #14062] - 05:48 PM Revision 9170646f (git): * 2019-07-30
-
05:45 PM Revision 1a759bfe (git): Do not always taint the result of File#path
- The result should only be tainted if the path given to the method
was tainted.
The code to always taint the result was added in
a4934a42cbb84b6679912226581c71b435671f55 (svn revision 4892) in
2003 by matz. However, the change wasn't me... -
04:40 PM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- So there is one path that might work here (it has limits but there are limits in general that cannot be worked around).
If one takes the following scenario
We have a set of items in a store where the base unit of price is 0.01 mean... -
07:49 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- mrkn (Kenta Murata) wrote:
> Julia provides `isapprox` function in `Base` module. This returns `true` if `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))`.
> ...
From https://repl.it/languages/julia (online julia repl)
isappro... -
07:35 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- Julia provides `isapprox` function in `Base` module. This returns `true` if `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))`.
The detail documentation is [here](https://docs.julialang.org/en/v1/base/math/#Base.isapprox).
The def... -
07:34 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- yennguyenh (yen nguyen) wrote:
> wishdev (John Higgins) wrote:
....
> ...
First, my sincere apologies - I missed an email along the way and this just popped up on my radar this evening with the newest message.
However to be clear
... -
06:54 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- could you share how about other languages (code examples)?
anyway, if you are interest about this ticket yet, could you file on our dev-meeting agenda?
https://bugs.ruby-lang.org/issues/15996
Thanks.
-
04:07 PM Bug #14442 (Closed): report a bug when I run ruby project
-
04:01 PM Revision aa97410b (git): Warn if using return at top-level with an argument
- Fixes [Bug #14062]
-
03:29 PM Bug #14432 (Closed): Ruby crashes with "[BUG] pthread_mutex_destroy: Device or resource busy (EBUSY)"
-
03:25 PM Bug #14398 (Closed): [BUG] Bus Error
-
02:54 PM Bug #14100 (Closed): segfault in vm_exec during compile
-
02:47 PM Bug #14089 (Closed): Configure/build issue on OSX 10.12 w/ utimensat
-
02:05 PM Revision c2428b8b (git): Erase only on tty
-
02:05 PM Revision e62a6092 (git): Should match the beginning/end of string
-
02:05 PM Revision 3ee63cfe (git): Match suffix for content type more precisely
- Suffix needs a dot and should match the end of string.
-
02:05 PM Revision bef398eb (git): Chomp html suffix literally
- Unescaped dot does not mean a suffix.
-
02:05 PM Revision 968c7b43 (git): Fix unused variable
-
11:57 AM Revision a5ea55fe (git): Actually remove travis_wait
- I forgot to amend again... Details are explained in
f6a6b21f09b24955a44622e1767bf5b6630525be -
11:56 AM Feature #15588: String#each_chunk and #chunks
- I also wanted something like `# each_slice`.
For example, use it when you want to fix the width of the output.
```ruby
puts "abcdefghijklmnopqrstuvwxyz".each_slice(5).map { |s| "#{s}<br>" }
# output:
# abcde<br>
# fghij<br>
# kl... -
11:01 AM Feature #15588: String#each_chunk and #chunks
- `#each_slice` and `#slices` seems fine to me as well; I think it is also a better
name than chunks.
-
09:22 AM Feature #15588: String#each_chunk and #chunks
- I think `String#each_slice(n_chars)` would make sense, since it's like `str.chars.each_slice(9) { |a| a.join }`
-
09:04 AM Feature #15588: String#each_chunk and #chunks
- > I wonder if we should have consistency with slice and `each_slice` from `Array`. But honestly, I don't care, just if it's available.
I like `String#each_slice` and `#slices`.
> ...
Considering consistency with `#slice` , it is be... -
11:55 AM Revision f6a6b21f (git): `travis_wait` silences any output
- and thus it does not work with `-v` for investigating hangs well.
This seems to be by design: https://github.com/travis-ci/travis-ci/issues/4190
Also I simplified a comment about `homebrew.update`.
I had this in-flight change while edit... -
11:25 AM Revision e05f397f (git): Give up `brew update` on Travis
- No `brew update` causes "Error: Your Homebrew is outdated" like https://travis-ci.org/ruby/ruby/jobs/547485832,
but doing `brew update` is also problematic like https://travis-ci.org/ruby/ruby/jobs/564916879.
Hoping that the former case... -
11:14 AM Bug #15812 (Closed): Run specs from install folder?
- @MSP-Greg I think it's OK to run specs after make-install if that is somehow better in CI.
I'd like to only support running specs on installed Ruby, but that's a separate issue: #13620.
I saw that you closed https://github.com/ruby... -
10:49 AM Revision 5af28fec (git): Resurrect -v to debug osx problems
- Formerly we did f432fd6ea595ef854e15d6dd65ef0ccb24a70456, but it did not
eliminate our problems: https://travis-ci.org/ruby/ruby/jobs/564804923 -
10:45 AM Revision 4b4d8a66 (git): Stop isolating test_gc_compact on CI
- I think it's been stable these days.
-
10:36 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #15588] String#each_chunk and #chunks
* name: #each_slice and #slices are better?
* size as characters or bytes
* should we support :strip parameter?
* [Feature #15553] Addrinfo.getaddrinfo supports timeout
* I'd... -
08:31 AM Feature #15921: R-assign (rightward-assignment) operator
- nobu (Nobuyoshi Nakada) wrote:
> ioquatix (Samuel Williams) wrote:
> ...
You may be able to use `|>` here.
```ruby
Users.where(active: true) => active_users |> where(type: "admin") => admin_users
``` -
08:26 AM Feature #15919 (Rejected): Offset parameter for `Integer#times`
-
08:24 AM Feature #15919: Offset parameter for `Integer#times`
- I think `Numeric#step` was OK. Is there any reason to stick with `Integer#times`?
Matz. -
08:19 AM Feature #15919: Offset parameter for `Integer#times`
- It seems difficult to introduce (`Integer#step`)...
Matz, what do you think about it? -
08:20 AM Bug #12961: Bad value for range using infinity for Date or Time
- Since both `Time` and `Date` work with float numbers at the other ends of the ranges, it should accept `Float::INFINITY` as well.
Matz. -
08:04 AM Feature #15912 (Assigned): Allow some reentrancy during TracePoint events
- Sorry for inconvenient. Should we re-enable a hook in a block like `TP.new{ ...; tp.reopen{ ... 'enable here'}; ...}` ?
-
08:01 AM Feature #15236 (Rejected): add support for hash shorthand
- Please reopen (re-create) new proposal which can persuade Matz.
-
07:56 AM Bug #15558: Should Exception#exception copy the backtrace?
- I'm not sure the intention, but
Japanese document shows how to use it:
```
# http://rurema.clear-code.com/2.6.0/method/Exception/i/exception.html
begin
... # do something
rescue => e
raise e.exception("an error occu... -
07:48 AM Feature #15878 (Assigned): Make exit faster by not running GC
-
07:48 AM Feature #15982: Remove y2racc and racc2y
- https://github.com/ruby/racc/tree/1-4-stable/bin still have them. We can remove them when releasing racc-2.0.
-
07:44 AM Feature #15896 (Rejected): Symbol#+
- Ut seems difficult to introduce.
Please reopen it with your opinion if it should be discussed more. -
07:39 AM Bug #15885 (Assigned): Duplicated `:raise` tracepoint event when exception inside `load` call happens
-
07:32 AM Feature #15879: Proposal: Time#to_i accepts :unit keyword
- joker-san, if you are interest about this ticket yet, could you file on our dev-meeting agenda?
https://bugs.ruby-lang.org/issues/15996
Thanks.
-
07:30 AM Bug #15877 (Assigned): Incorrect constant lookup result in method on cloned class
- oops!
-
07:20 AM Bug #15625 (Closed): Module#name performance has exponential-time worst case by aliased constants
-
07:13 AM Feature #15833: Some refactors for shared-root array
- Eregon (Benoit Daloze) wrote:
> I think RARRAY_SHARED_ROOT_FLAG could be in internal.h, if you want to expose it outside of array.c but not as public C API.
> ...
I agree both. -
07:07 AM Misc #16025: 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
- Original discussion at here: https://github.com/k-takata/Onigmo/issues/130
I think it's better to fix this in Ruby rather than in Onigmo.
I can suggest two ways.
1\. Add `#ifndef` around `st_check_for_sizeof_st_index_t`
```diff... -
07:05 AM Bug #15850 (Closed): Deprecate and remove optparse/ac
-
07:04 AM Misc #15851: stdlib extension gems - building/testing on Windows
- Greg, who should have a ball?
-
07:01 AM Bug #15849 (Closed): Using hash as first positional argument, mixed with named arguments causes unexpected behavior
- I believe Jeremy :) and if it is not the same issue, please reopen it.
-
06:58 AM Feature #15829 (Rejected): Object#then_if(condition){}
- It seems difficult to introduce.
if you are interest about this ticket yet, could you reopen it and file on our dev-meeting agenda?
https://bugs.ruby-lang.org/issues/15996
Thanks. -
06:37 AM Feature #15815: Add option to raise NoMethodError for OpenStruct
- mtsmfm-san, if you are interest about this ticket yet, could you file on our dev-meeting agenda?
https://bugs.ruby-lang.org/issues/15996
Thanks. -
06:28 AM Misc #15800: Reduce ONIG_NREGION from 10 to 4: power of 2 and testing revealed most pattern matches are less than or equal to 4 results
- https://github.com/ruby/ruby/commit/a47f598d77ac97f9fe89fe16aa8bcab4fd262c16
-
06:02 AM Feature #15631: Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
- pls give us your measurements. We can't understand how it is useful.
Thanks,
Koichi -
05:01 AM Feature #15602 (Assigned): Eliminate recording full-width hash value for small Hash
- Patch is updated:
https://github.com/ko1/ruby/tree/hash_small_ar
NEWS:
* Support 32bit CPU
* Support > 127 Hash iteration level
* Fix bugs
# Evaluation
## Discourse benchmark
### overall benchmark
With discourse benchm... -
04:29 AM Revision 8c6f1715 (git): Removed unused variables and methods
-
04:29 AM Revision 630eb04b (git): [ruby/rdoc] Removed unused variable
- 03:06 AM Revision f811a5e9 (git): * 2019-07-29
-
02:44 AM Revision 61f0f71e (git): Moved osx_image
- Set osx_image under each configuration, as it decides the OS (and
kernel) version not only Xcode version, and the configuration name
contains the kernel version. -
01:15 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- @dalehamel: Do you have any parts implemented already, or any plans for implementation? Would you be ready to do significant implementation work if this feature got accepted? What parts do you think could be done as a Gem, and what parts...
07/28/2019
-
03:20 PM Bug #16026: `Set#count` performance issues
- > Maybe it's worth considering, #count with no arguments can invoke #size. What do you think?
Since it's what Array does (`rb_ary_count `), it would make sense to do the same in `set.rb` IMHO.
-
02:16 PM Bug #15906: a=a のような式をもつ条件分岐が意図しない挙動をする
- ruby_2_6 r67716 merged revision(s) a6a26e42b15c46f117f4fce07a2050e9d727355d.
-
02:16 PM Revision 4e12051f (git): merge revision(s) a6a26e42b15c46f117f4fce07a2050e9d727355d: [Backport #15906]
- compile.c: Partially revert r63870 which caused wrong optimization
[Bug #15906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 PM Bug #15845: Backport dcb6a6ae3e
- ruby_2_6 r67715 merged revision(s) dcb6a6ae3e2b8a3e298e7f0d4a3e7f8ff102a30e.
-
02:02 PM Revision 4913edde (git): merge revision(s) dcb6a6ae3e2b8a3e298e7f0d4a3e7f8ff102a30e: [Backport #15845]
- Windows simply causes an error to open invalid path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:15 PM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- > As far as I understand, target provides just an internal filtering, so I wonder how it involves external USDT API.
The external USDT API is "always on" or "always off", it must be enabled for all events of a type or not used at all.... -
06:54 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- > Ruby JIT may make this easier
> ...
You seem to hope JIT can hook your feature easily, but I believe that's not true. For example, JIT often fallbacks to VM interpretation when some unexpected things like a method redefinition or Trac... -
02:34 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- ioquatix (Samuel Williams) wrote:
> It was merged.
Hi Samuel excellent work. I'm just wondering about the 20MB pool size noticeable across a few different application types with the fiber pool changes. And the ruby teardown sequence ... -
12:52 AM Revision b4058980 (git): [reline] Do not compile regexp for each line
-
12:47 AM Revision a6e32855 (git): [reline] Do not escape and compile regexp for each byte
07/27/2019
-
11:23 PM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- dalehamel (Dale Hamel) wrote:
> Once the Ruby TracePoint API recently added the ability to do filtered tracing in [Feature #15289], it added new functionality but brought the TracePoint and USDT API out of sync.
As far as I underst... -
08:02 PM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- Hi Robert,
Thank you for your reply and feedback.
To clarify, I don't think that this feature not working on, for instance, Windows is much of a big deal, and perhaps it could be extended to Windows or any other unsupported platfor... -
06:18 PM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- You refer to koichi in #15289, and to kokobun here, so perhaps they may comment
here in due time. :)
As for running only on *nix - I think there is at the least a ~loose policy that
ruby should run on as many operating systems as p... -
05:22 PM Feature #16027 (Assigned): Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- # Abstract
I propose that Ruby's "dtrace" support be extended to match what is available in the TracePoint API, as was the case until feature [Feature #15289] landed.
# Background
I will refer to Ruby's "dtrace" bindings as USDT... - 10:37 PM Revision bce34820 (git): * 2019-07-28
-
10:33 PM Revision 1d1f98d4 (git): Reuse match data
- * string.c (rb_str_split_m): reuse occupied match data. [Bug #16024]
-
04:15 PM Bug #16026: `Set#count` performance issues
- I understand and I agree with your logic.
Maybe it's worth considering, `#count` with no arguments can invoke `#size`. What do you think? -
07:09 AM Bug #16026: `Set#count` performance issues
- technically `Set#count` comes from `Enumerable`, where it has support for this too
```
enum.count(item) -> int
enum.count { |obj| block } -> int
```
so i don't think Set should make `#count` work like `#size` -
06:00 AM Bug #16026 (Rejected): `Set#count` performance issues
- `Set#size` is O(1), but `Set#count` is O(N).
I would like to add `alias count size` to `class Set`
Is it okay? -
02:46 PM Revision adf13625 (git): Extend travis_wait to 50min for osx
- but shorten --timeout-scale for now to avoid finishing with timeout
if possible.
timeout: https://travis-ci.org/ruby/ruby/jobs/564370175 -
01:16 PM Bug #16024 (Closed): String#split with block. cannot use Regexp in the block.
- Applied in changeset commit:git|f1b76ea63ce40670071a857f408a4747c571f1e9.
----------
Occupy match data
* string.c (rb_str_split_m): occupy match data not to be modified
during yielding the block. [Bug #16024] -
05:46 AM Bug #16024: String#split with block. cannot use Regexp in the block.
- tksotn (TAKASHI OOTANI) wrote:
> $ ruby -v
> ...
Hi,
I tried with `str.split().each &block` and things work just fine for me.
-
05:26 AM Bug #16024 (Closed): String#split with block. cannot use Regexp in the block.
- ```
$ ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
$ cat foo
str = "aaa,bbb;ccc,ddd"
n=0
str.split(/[;,]/) do |word|
n+=1
p [n,word.gsub(/\w/,"A")]
end
$ ruby foo
[1, "AAA"]
[2, "\u0000AAA,AAA;AAA,... -
12:54 PM Revision f1b76ea6 (git): Occupy match data
- * string.c (rb_str_split_m): occupy match data not to be modified
during yielding the block. [Bug #16024] -
12:34 PM Revision e3b613a6 (git): Include travis osx timeout
- for failures like https://travis-ci.org/ruby/ruby/jobs/564351066
-
11:15 AM Revision 73530a96 (git): tool/merger.rb: execute 'svn update' after 'svn ci' to update revision info on working copy.
-
11:10 AM Bug #14062: Top-level return allows an argument
- jeremyevans0 (Jeremy Evans) wrote:
> Attached is a patch that adds a warning when using a top-level return with an argument.
Thank you, it looks good to me.
Although, I would suggest to change the warning message to one of these:
`... -
10:57 AM Revision 7b727e30 (git): Update to ruby/spec@0526d8f
-
10:40 AM Revision 5c276e1c (git): Update to ruby/spec@875a09e
-
09:38 AM Misc #15723: Reconsider numbered parameters
- There might be one more reason for limiting the feature to a single argument referenced via `@` (or any other sigil/keyword):
`@<n>` can obscure the block signature.
E.g. `record_finder.perform { @1.delete }` tells me nothing about... -
09:22 AM Misc #16025: 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
- vadimp (Vadim Peretokin) wrote:
> ```
> ...
What is this file?
Do you mix different oniguruma?
-
05:32 AM Misc #16025 (Assigned): 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
- Compilation of st.h with Emscripten 1.38.30 fails:
``` c
st.h:65:45: error: 'st_check_for_sizeof_st_index_t' declared as an
array with a negative size
typedef char st_check_for_sizeof_st_index_t[SIZEOF_VOIDP == (int)sizeof(st... -
09:13 AM Feature #15976: Add Array#overlap? for whether the intersection of 2 arrays is non empty?
- I think this should be called `intersect?` for consistency with `Set#intersect?` and `SortedSet#intersect?`.
-
07:56 AM Revision a06301b1 (git): Ignore history file without saving if permissions cannot be changed
- Fixes [Ruby Bug 13907]
-
07:56 AM Revision f9f02e82 (git): Use JRuby equivalent of RubyVM.compile.
- RubyVM is specific to CRuby and not supported on JRuby. This is
the equivalent operation. -
07:47 AM Revision 58bb7f0c (git): Skip the some of commits when sync default gems from upstream.
- * Skip failed to sync commits because it needs to pick manually.
* Skip empty commit. -
07:47 AM Revision 012d39c4 (git): Added ignore files to sync_default_gems_with_commits and make constant them.
-
05:57 AM Feature #15997 (Closed): Improve performance of fiber creation by using pool allocation strategy.
- It was merged.
-
04:55 AM Bug #15988 (Closed): Time#dst? vs "real" timezones
- Applied in changeset commit:git|149e414ed529d27aaeb0543bc133e08c782d8d41.
----------
Initialize DST flag
* time.c (zone_timelocal): initialize DST flag by asking the
timezone object. [Bug #15988] -
03:41 AM Revision 149e414e (git): Initialize DST flag
- * time.c (zone_timelocal): initialize DST flag by asking the
timezone object. [Bug #15988] -
01:54 AM Feature #14240: warn four special variables: $; $, $/ $\
- It does not match to test `rb_warn` with `assert_warning`.
Should be `rb_warn`+`assert_warn` or `rb_warning`+`assert_warning`.
And non-default `$;` and `$,` are warned now.
Do you think these **names** should be warned too? -
12:06 AM Bug #14263 (Closed): Array Intersection does not seem to use hash
- Applied in changeset commit:git|8bccbf3cfea8c1059d40db5b5e61900cf6cf29d3.
----------
Add more documentation on #eql?/#hash relationship [ci skip]
Fixes [Bug #14263] -
12:05 AM Revision 8bccbf3c (git): Add more documentation on #eql?/#hash relationship [ci skip]
- Fixes [Bug #14263]
07/26/2019
-
11:57 PM Revision 6279cf8b (git): Restore documentation for Object#hash [ci skip]
- Object#hash documentation was removed (probably by accident) in
7b19e6f3fdf8b0238752cb1561dfe42a283f5308. -
11:19 PM Feature #14240: warn four special variables: $; $, $/ $\
- Attached is a patch that adds a deprecation warning for the 5 global variables ($; $, $/ $\ $.), unless inside ruby `-e`. However, there is use of these variables inside Ruby that should be fixed if we plan to make this change. I've al...
-
10:46 PM Bug #14202 (Closed): gem install rails fails
-
10:46 PM Bug #14198 (Closed): Error forwarding standard input to subprocess
-
10:45 PM Bug #14161 (Closed): Getting segmentation fault some time while running rspec
-
10:42 PM Bug #14157 (Closed): You may have encountered a bug in the Ruby interpreter or extension libraries.
-
10:42 PM Bug #14156 (Closed): broken bundler install
-
10:41 PM Bug #14148 (Closed): Longstanding behavior regarding correspondence of toplevel with Object is surprising
-
10:26 PM Bug #14120 (Closed): Gem bundle installation on ruby 2.2.2
-
10:25 PM Bug #14113 (Closed): Crashed Thread: 15 thread_pool.rb*
-
10:25 PM Bug #14106 (Closed): [BUG] Segmentation fault
-
10:23 PM Bug #14099 (Closed): heap-use-after-free (WRITE of size 8) in rb_obj_write (include/ruby/ruby.h:1484)
-
10:21 PM Bug #14081 (Closed): Compile failure in "make install" step, at "stringio"
-
10:21 PM Bug #14080 (Closed): Performance issue with Marshal.dump and Array of Floats - 100x regression in 2.3.x
-
10:16 PM Bug #14072 (Closed): Ruby interpreter
-
10:16 PM Bug #14062: Top-level return allows an argument
- Attached is a patch that adds a warning when using a top-level return with an argument.
-
09:48 PM Bug #13992 (Closed): Strange behaviour for kernel#integer method
-
09:47 PM Bug #13907 (Closed): Operation not permitted (Errno::EPERM) when adjusting .irbrc_history file permissions
-
09:45 PM Bug #13841 (Closed): Segmentation fault in Ruby CFUNC :to_s
-
09:45 PM Bug #13835 (Closed): Using 'open-uri' with 'tempfile' causes an exception
- This issue no longer occurs in the master branch, probably due to commit:05aac90a1bcfeb180f5e78ea8b00a4d1b04d5eed. That commit changed the behavior so that `open` is not called on the first argument to `Kernel#open` if the object respon...
-
09:34 PM Bug #13834 (Closed): RubyGems test suite occasionally changes working directory and breaks the rest of test suite
-
09:33 PM Bug #13811 (Feedback): Ruby 2.4.1 fails to compile inside qemu armhf - signal 11 (Segmentation fault)
- Does this still happen with Ruby 2.5.5, 2.6.3, or the master branch?
-
09:32 PM Bug #13778 (Closed): net/http.rb:879 TCPSocket.open fail
-
09:29 PM Bug #13749 (Closed): Encountered a bug in the Ruby interpreter or extension libraries.
-
09:29 PM Bug #13716 (Closed): Unexpected or undocumented (or maybe both) behaviour when mixing String#scan with named captures
- Applied in changeset commit:git|bd3283338250827e0f9e2fd1785bd1fd4151e66d.
----------
Document behavior when mixing named captures with parentheses [ci skip]
Fixes [Bug #13716] -
09:26 PM Revision bd328333 (git): Document behavior when mixing named captures with parentheses [ci skip]
- Fixes [Bug #13716]
-
06:48 PM Bug #13664 (Closed): encountered a bug in the Ruby interpreter or extension libraries
-
06:47 PM Feature #15955: UnboundMethod#apply
- I think this makes sense for convenience and better performance on MRI or during interpretation (vs in compiled code).
Using an UnboundMethod for getting a copy of a method at a given time is indeed a good usage, we use it in TruffleR... -
01:48 PM Feature #15955: UnboundMethod#apply
- Zeitwerk had the exact same use case recently: https://github.com/fxn/zeitwerk/blob/ba7ff65d40a4309701981f9443249ac7e0e8c65f/lib/zeitwerk/real_mod_name.rb
i.e. get the true Module name even if the method was redefined. -
06:47 PM Bug #13660 (Closed): rb_str_hash_m discards bits from the hash
-
06:45 PM Bug #13650 (Closed): Sporadic Ruby Crashing
-
06:44 PM Bug #13635 (Closed): ruby and linux-pf or linux-zen kernels
-
06:27 PM Bug #13617 (Closed): ruby 2.3.4 will not run nor install on same disk but different machine
-
06:25 PM Bug #13607 (Closed): .rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:228: [BUG] Segmentation fault at 0x00000000000038
-
05:59 PM Bug #13603 (Closed): SecureRandom.uuid is not valid v4 and/or RFC 4122
- Applied in changeset commit:git|5fef46ae0dedaab359f55bc3680f4278eb7da98d.
----------
Test SecureRandom.uuid format
SecureRandom uses v4 UUIDs, which are completely random except for
6 bits, 4 in the version field and 2 in the clk_seq_h... -
05:53 PM Feature #15973: Let Kernel#lambda always return a lambda
- I think the delegating lambda idea doesn't really work. I mean, it doesn't *do* anything. You just get a lambda that behaves like a proc. It just changes the return value of `Proc#lambda?` which I don't think has any benefit by itself. I...
-
05:16 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
- The issue seemed to be in how .dotfiles were handled, where all leading periods were trimmed when only the first should have been.
I've created a patch that seems to fix the issue and added a spect test for it. It's only a 2 line chan... -
04:56 PM Revision 5fef46ae (git): Test SecureRandom.uuid format
- SecureRandom uses v4 UUIDs, which are completely random except for
6 bits, 4 in the version field and 2 in the clk_seq_hi_res field.
Add a test that those bit patterns are set correctly for v4 UUIDs,
per RFC 4122 section 4.4.
Fixes [Bug... -
03:23 PM Bug #13594 (Closed): Segfault in gc_sweep_step 2.4.1
-
03:22 PM Bug #13586 (Closed): Ruby hangs when accessing array which is modified in instance_eval after Coverage.start
-
03:22 PM Bug #13580 (Closed): bug
-
03:21 PM Bug #13564 (Rejected): Exception message management
-
03:19 PM Bug #13548 (Closed): miniruby SEGV while building with non-default CFLAGS (caused by __builtin_setjmp)
-
03:18 PM Bug #13501 (Closed): Process.kill behaviour for negative pid is not documented and may be wrong
- Applied in changeset commit:git|b1a2eddbfcb883c363bd67858a4dc739f4755775.
----------
Document acceptance of negative pid in Process.kill [ci skip]
Fixes [Bug #13501] - 03:18 PM Revision 4f978a1c (git): * 2019-07-27
-
03:13 PM Revision b1a2eddb (git): Document acceptance of negative pid in Process.kill [ci skip]
- Fixes [Bug #13501]
-
03:04 PM Bug #13490 (Closed): segmentation fault while parsing object to time and adding to array
-
03:02 PM Bug #13421 (Closed): problem rails c
-
03:00 PM Bug #13410 (Closed): [BUG] Segmentation fault at file read
-
02:58 PM Bug #13377 (Closed): Crash while running tests
-
02:57 PM Bug #13375 (Third Party's Issue): msfconsole up to date not work with ruby installer rvm version 2.3.3 2.4.0 2.4.1 correctly ruby kali rolling
-
02:56 PM Bug #13373 (Closed): FileUtils methods for copy, move and remove directories is not providing a decent error trace for letting know if it was success or fail
-
02:56 PM Bug #13372 (Closed): File class is not able to identify EOL for file text using CR character .
-
02:56 PM Bug #13349 (Closed): Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
-
02:55 PM Bug #13347 (Closed): bug in the Ruby interpreter or extension libraries when using rails s
-
02:54 PM Bug #13320 (Closed): rescue blocks get an entry in backtrace locations
-
02:53 PM Bug #13311 (Closed): Segmentation fault while running rspec
-
02:52 PM Bug #13307 (Closed): Changing scheme from http to https for the URI does not change the port number
-
02:52 PM Bug #13274 (Closed): Ruby interpreter when using Puma.
-
02:50 PM Bug #13258 (Closed): Segmentation fault at 0x00000000000000 during instance_eval
-
02:49 PM Bug #13255 (Closed): segmentation fault
-
02:47 PM Bug #13243 (Closed): Test suite failure
-
02:47 PM Bug #13235 (Closed): [BUG] Segmentation fault at 0x00000000000038
-
02:44 PM Bug #13216 (Closed): Possible unexpected behaviour reading string starting with a byte order mark
-
02:43 PM Bug #13178 (Closed): CGI.unescape change in behavior
-
02:41 PM Bug #13160 (Closed): Socket c code breaks ruby interpreter
-
02:37 PM Bug #13142 (Closed): Forwardable regression: cannot delegate to a constant since 2.4.0
- Applied in changeset commit:git|4b7d7d007fa5a06d237be6f379106feea25fca79.
----------
Document and add spec for delegating to constants in Forwardable
Fixes [Bug #13142] -
02:35 PM Revision 4b7d7d00 (git): Document and add spec for delegating to constants in Forwardable
- Fixes [Bug #13142]
-
01:31 PM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- shevegen (Robert A. Heiler) wrote:
> (Not the same, I know, but my point is mostly that the second usage is
> ...
Then what about making them equivalent so it's easier to compare which is more understandable.
``` ruby
12.3456.floo... -
01:22 PM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- shyouhei (Shyouhei Urabe) wrote:
> Dan0042 (Daniel DeLorme) wrote:
> ...
Good point, I see what you mean. I would expect 12.3456 but because of float imprecision we get 12.3454 using the above formula. Of course that's the gotcha with ... -
10:12 AM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- Hmm. I have mixed feelings about the proposal. I think in principle it
would be ok to add more flexibility as such (e. g. :step or :by, although
I think :step is a strange name). At the same time, though, this proposal
makes the use o... -
02:17 AM Feature #16021 (Feedback): floor/ceil/round/truncate should accept a :step argument
- Dan0042 (Daniel DeLorme) wrote:
> Equivalent to e.g. `((num / step.to_f).round * step)`
> ...
Can I ask you what do you expect for `12.3456.floor(step: 0.0002)` then? -
09:32 AM Revision 21ce8b32 (git): [ruby/rdoc] Fix image links in rdoc.css
- Every image in the rdoc.css that use url has the wrong one. They end up pointing to `css/images/zoom.png` instead of `images/zoom.png`.
Just open this page https://ruby.github.io/rdoc/RDoc/CodeObject.html on chrome and you can see in th... -
09:32 AM Revision 8bb48923 (git): [ruby/rdoc] Update jQuery to 3.3.1
- https://github.com/ruby/rdoc/commit/17df871ee
-
09:29 AM Revision 3b0f952e (git): [ruby/rdoc] Support nesting text page URL
- RDoc::Servlet#documentation_page replaces "/" in URL with "::" for class
or module but it's also used for the replaced name on text pages. This
causes a bug when text pages are in nesting directory.
This commit fixes #615.
https://gith... -
09:20 AM Revision a86d4eef (git): [ruby/rdoc] Normalization of comment should check language
- RDoc::Text#normalize_comment that is included RDoc::Comment always
remove Ruby style comment indicator "#" and C style comment indicator
"/**/", but should check language and remove only the language's comment
indicator.
https://github.... -
09:20 AM Revision f7cbbc70 (git): [ruby/rdoc] ClassModule#add_comment should receive RDoc::Comment
- https://github.com/ruby/rdoc/commit/3fb03bf399
-
09:20 AM Revision 95aa60f6 (git): Ignore Merge commit and insufficiency commit for ruby core repository.
-
08:06 AM Revision 071bf889 (git): Improve the commits list for cherry-picking from default gems.
- * Ignore Merge commit from the commit lists before trying to
pick commit.
* Show the commits list at first. -
07:49 AM Bug #16022: Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- you can use `#with_index` there
```ruby
data.sort_by.with_index { |h, i| [h[:a], i] }
```
this should return a stable result -
01:17 AM Bug #16022: Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- ryanflach (Ryan Flach) wrote:
> Thanks for the response. You are definitely correct regarding its documentation. What I was attempting to point out was the apparent predictability in which it is not consistent
The sort isn't stable, ... -
12:39 AM Bug #16022: Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- jeremyevans0 (Jeremy Evans) wrote:
> The current behavior is expected and documented: `The result is not guaranteed to be stable. When two keys are equal, the order of the corresponding elements is unpredictable.`
> ...
Jeremy,
Than... -
07:45 AM Revision 348c9687 (git): Escape parentheses for syntax hilighting for VScode.
-
07:34 AM Revision 51f22dea (git): Adjust the test direcotry structure of rdoc.
-
05:09 AM Bug #16023 (Third Party's Issue): json/add/core isn't complete
- Would you mind report it upstream? https://github.com/flori/json
-
02:52 AM Bug #16023 (Third Party's Issue): json/add/core isn't complete
- Several `json/add/*.rb` are not required by `json/add/core`. It should probably check its directory and require the contents automatically, to ensure this doesn't end up happening again if more are added.
Actually, why is it a separat... -
03:47 AM Feature #15990: "else if" causes confusing syntax error
- Sorry for the delay, but that isn't actually a helpful error message in this case. Certainly it's an improvement, but it still doesn't actually explain the issue. Is there some reason your proposal in #2 isn't possible?
-
02:45 AM Revision 82b02c13 (git): pass to obj_info().
- obj_info() has a routine to show SPECIAL_CONST_P() objects so
we don't need to check it here. - 01:46 AM Revision 300de6ae (git): * 2019-07-26
-
12:21 AM Revision 957a29fc (git): Bump osx_image on Travis CI to xcode11
- Also Homebrew is up-to-date and "Updating Homebrew" takes less
than one minute.
07/25/2019
-
11:48 PM Bug #13126 (Closed): __dir__ in eval returns nil
-
11:46 PM Bug #13104 (Closed): mathn.rb affects Rational literals
- mathn was removed in Ruby 2.5.
-
11:45 PM Bug #13101 (Closed): Date#rfc2822 and Time#rfc2822 don't return the same format
-
11:42 PM Bug #13098 (Closed): miniruby fails with SEGV on NetBSD/powerpc
-
11:41 PM Bug #13092 (Closed): Interpreter Bug
-
11:41 PM Bug #13064 (Closed): Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
-
11:35 PM Bug #13079 (Closed): linked list corruption (probable race condition)
-
11:20 PM Bug #16022 (Rejected): Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- The current behavior is expected and documented: `The result is not guaranteed to be stable. When two keys are equal, the order of the corresponding elements is unpredictable.`
If you want a stable sort, you could use the approach men... -
10:38 PM Bug #16022 (Rejected): Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- **Overview**
I've seen in the source code that the ordering may be unpredictable (https://github.com/ruby/ruby/blob/515e106fb73a1a3bc69b6f1670bbaaebf45fee30/enum.c#L1159-L1160), but it seems to consistently swap the first and last eleme... -
11:17 PM Bug #15775: Update broken URL in Float documentation
- ruby_2_6 r67714 merged revision(s) b72623012d74abdb06210153ed48c9e2fa075bbd.
-
11:17 PM Revision e678e6ee (git): merge revision(s) b72623012d74abdb06210153ed48c9e2fa075bbd: [Backport #15775]
- Update broken URL in Float documentation.
[Misc #15775][ruby-core:92332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:13 PM Bug #15803: File.realpath should always return a tainted string
- ruby_2_6 r67713 merged revision(s) a15f7dd1fb1148c3d586238ee6907875f2e40379.
-
11:11 PM Revision c2ce9eb9 (git): merge revision(s) a15f7dd1fb1148c3d586238ee6907875f2e40379: [Backport #15803]
- Always mark the string returned by File.realpath as tainted
This string can include elements that were not in either string
passed to File.realpath, even if one of the strings is an
absolute path, due to symlinks... -
09:52 PM Feature #16021 (Feedback): floor/ceil/round/truncate should accept a :step argument
- These rounding methods currently accept a number of (decimal) digits, but a more general mechanism would allow rounding to the nearest ¼, multiple of 5, etc.
Equivalent to e.g. `((num / step.to_f).round * step)`
``` ruby
12.3456.flo... -
09:01 PM Feature #15955: UnboundMethod#apply
- Whoops, sorry for the belated response -- Redmine email seems to not be working for me. We have a `replace_method` helper that is a shorthand for doing something like:
```
orig_require = Kernel.instance_method(:require)
Kernel.defin... -
08:58 PM Bug #13063 (Rejected): net/http abends with local file URI
-
08:58 PM Bug #13055 (Closed): Bug
-
08:58 PM Bug #13005 (Closed): Inline rescue is inconsistent when rescuing NoMethodError
-
08:53 PM Bug #12989: Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
- nobu (Nobuyoshi Nakada) wrote:
> Encoding argument should be prior to `binmode` option.
> ...
Here's an updated patch based on tenderlove's original patch that does not change the encoding of the returned IO objects if encoding argumen... -
06:29 PM Bug #12984 (Closed): `rescue *[]` should be equivalent to `rescue` as `method_call(*[])` is equivalent to `method_call`
- This is the expected behavior. `rescue *array` should mean rescue only exception classes in the array. It should not mean rescue only exception classes in the array, unless the array is empty, in which case rescue StandardError. Other...
-
06:23 PM Bug #12950 (Third Party's Issue): irb: 'input-method.rb:151: [BUG] Segmentation fault' / 'malloc(): smallbin double linked list corrupted'
-
06:22 PM Bug #12954 (Closed): valgrind shows memory leaks
-
06:21 PM Bug #12941 (Closed): malloc: *** error for object 0x7fb4a88d2320: pointer being freed was not allocated
-
06:20 PM Bug #12907 (Closed): rb_respond_to() return value is incorrect
-
06:19 PM Bug #12891 (Closed): armv7l-linux-eabihf/openssl.so: [BUG] Illegal instruction at 0xb6659cfc
-
06:19 PM Bug #12883 (Closed): Bus Error at 0x0000010b8075eb
-
06:19 PM Bug #12880 (Closed): rails generate but
-
06:18 PM Bug #12870 (Closed): Crash when querying with activerecord
-
06:17 PM Bug #12844 (Closed): Unable to run $rails console
-
06:17 PM Bug #12806 (Closed): Compiling ruby 2.3.1 on HPUX 11.31 ia64 breaks in segmentation fault
-
06:16 PM Bug #12801 (Closed): Bug while developing a Rails app
-
06:16 PM Bug #12792 (Closed): cannot open https://bugs.jruby.org/4176
-
06:15 PM Bug #12784 (Closed): Compiling v2.3.1 on Debian stable
-
06:15 PM Bug #12771 (Closed): Allow setting max memory consumption
-
06:15 PM Bug #12763 (Closed): Performance regression in bm_securerandom.rb
-
05:49 PM Bug #16020 (Rejected): Forbid `if` `elsif` without a condition
-
01:56 PM Bug #16020: Forbid `if` `elsif` without a condition
- Rubocop can detect such bug.
<https://rubocop.readthedocs.io/en/stable/cops_layout/#layoutconditionposition> -
12:16 PM Bug #16020 (Rejected): Forbid `if` `elsif` without a condition
- Hello.
I might have missed something, but examples like:
```ruby
if
puts "!!!!1"
elsif
puts "!!!!2"
elsif
puts "!!!!3"
else
puts "!!!!4"
end
# Output:
# !!!!1
# !!!!2
# !!!!3
# !!!!4
```
```ruby
if false
... -
05:48 PM Bug #12688 (Closed): Thread unsafety in autoload
-
05:42 PM Bug #12687 (Closed): OpenSSL::X509::Store wont load certificates from set_default_paths
- I'm guessing `c_rehash` in this case refers to `sample/c_rehash.rb` in the ruby/openssl repository (or `sample/openssl/c_rehash.rb` in the ruby repository).
-
05:38 PM Bug #12685 (Closed): malloc error: pointer being freed was not allocated
-
05:37 PM Bug #12672 (Closed): rails server
-
05:33 PM Bug #12658 (Closed): variable_name_checker
-
05:24 PM Bug #12643 (Closed): When generating exts.mk need to escape newlines for @echo
- This appears to be fixed in the master branch, which currently does:
```
err and err.scan(/.+/) do |ee|
mf.puts %Q<\t@echo "\t#{ee.gsub(/["`$^]/, '\\\\\\&')}">
end
```
Since `/.+/` is not a multi... -
05:11 PM Bug #12627 (Closed): Segfault
-
05:11 PM Bug #12600 (Closed): Crash when starting up sidekiq
-
05:06 PM Bug #12552 (Closed): You may have encountered a bug in the Ruby interpreter or extension libraries.
-
05:00 PM Bug #12544 (Closed): Segfault on ruby-head
-
04:58 PM Bug #12528 (Closed): Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
-
04:58 PM Bug #12518 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
-
04:58 PM Bug #12516 (Closed): rails server aborts
-
04:57 PM Bug #12511 (Closed): can't build 2.4.0-preview1 on Centos 5
-
04:55 PM Bug #12489 (Closed): hppa problems on Debian GNU/Linux
-
03:29 PM Bug #12485: Kernel.Rational raises TypeError though given denominator returns 1 by to_int
- I'm not sure if this is considered a bug or not. Rational will already try to convert numerator and denominator via `to_r`. However, if we do want to convert via `to_int` if `to_r` is not defined, the attached patch should implement it.
-
11:57 AM Revision 7e33f324 (git): Get rid of failures about coverage
- Run test suites explicitly instead of auto-running, to get rid of
failures when simplecov is not installed but COVERAGE is set. -
08:31 AM Revision a50c8446 (git): Initialize vm_throw_data::throw_state as int
- As `struct vm_throw_data::throw_state` is initialized as `VALUE`
by rb_imemo_new, extended MSW part is assigned to it on LP64
big-endian platforms.
Fix up 1feda1c2b091b950efcaa481a11fd660efa9e717 -
08:19 AM Revision 0f9ec4a8 (git): Check wether multibyte character is split
-
07:57 AM Revision 8e53d18e (git): Separated tool/test/runner.rb and test/runner.rb
- As `make test-tool` does not use gems, and no Rubygems stuffs is
needed, so moved such things to test/runner.rb. Also no longer
nees `--test-target-dir` option. -
07:57 AM Revision 46771abf (git): Use libraries in the base directory if given
-
07:57 AM Revision 4c1db84d (git): Added --base-directory option
-
07:57 AM Revision f5ea0548 (git): Moved NoMemoryError hook
- Moved NoMemoryError hook from AutoRunner.run to Runner#run, so
it will work even in non-autorunning mode. -
07:39 AM Revision d8e90f55 (git): Fix a typo in inspect
07/24/2019
-
11:42 PM Revision a850be68 (git): Moved NoMemoryError hook to Test::Unit::AutoRunner
-
11:37 PM Bug #16019 (Closed): please backport df317151a5b4e0c5a30fcc321a9dc6abad63f7ed
- `TracePoint#enable` can cause SEGV without df317151a5b4e0c5a30fcc321a9dc6abad63f7ed on ruby_2_6.
```
$ ((cd ../../; git checkout .); make install-nodoc -j4) >/dev/null 2>&1
$ ruby -v -e 'def foo; TracePoint.new(:b_return, &:disable)... -
11:30 PM Bug #12448 (Closed): vm_call_cfunc - cfp consistency error
-
11:30 PM Bug #12430 (Closed): Segfault in irb when improperly using coerce in combination with method_missing
- I don't think this is a bug, the SystemStackError is expected. In some cases, Ruby doesn't catch the stack overflow and you end up with a segfault.
The reason for the behavior:
```ruby
x = BrokenNumber.new(2)
# original express... -
11:19 PM Revision 82ae4621 (git): Do not fetch remote tags
-
11:16 PM Revision 077c2888 (git): [ruby/io-console] Do not use add_development_dependency
- https://github.com/ruby/io-console/commit/bc77f46391
-
11:13 PM Bug #12429 (Closed): http.rb:933: [BUG] Segmentation fault at 0x00000000000000
-
11:07 PM Bug #12425 (Closed): encoding string to UTF-16 is causing a segfault
-
11:05 PM Bug #12404 (Closed): Segmentation fault in ruby 2.3.0p0
-
11:05 PM Bug #12396 (Closed): Compilation crashes with segmentation fault in HP-UX 11.31
-
11:03 PM Bug #12393 (Closed): SingleForwardable broken in 2.2.5
-
10:58 PM Bug #12384 (Closed): vm_call_cfunc - cfp consistency error ruby 2.3.1p112
-
10:58 PM Bug #12358 (Closed): TestProcess#test_threading_works_after_exec_fail random test failures
-
10:57 PM Feature #12354: PKey::EC Can't output public key pem when private key exists
- The following is a way to generate a PEM for a `OpenSSL::PKey::EC` with both a private and a public key without allocating a new `OpenSSL::PKey::EC`:
```
pk = key.private_key
key.private_key = nil
key.to_pem
key.private_key = key
... -
10:52 PM Revision 414d6cf1 (git): [ruby/psych] Get rid of C90 feature
- For ruby 2.6 and earlier.
https://travis-ci.org/ruby/psych/jobs/562435717#L245-L248
```
../../../../ext/psych/psych_parser.c: In function ‘make_exception’:
../../../../ext/psych/psych_parser.c:87:5: warning: ISO C90 forbids mixed decla... -
10:52 PM Revision 698dde52 (git): [ruby/psych] Suppress uninitialized instance variable warnings
- In verbose mode, `test_delegator` in `test/psych/visitors/test_yaml_tree.rb` shows following warning.
https://travis-ci.org/ruby/psych/jobs/562435717#L268
```
/home/travis/build/ruby/psych/test/psych/visitors/test_yaml_tree.rb:10: warni... -
10:52 PM Revision 6ca7dc69 (git): [ruby/psych] Deduplicate hash keys if they're strings
- https://github.com/ruby/psych/commit/0414982ffd
-
10:50 PM Revision 50076903 (git): [ruby/psych] Drop to support fat gem support.
- ref. https://github.com/ruby/bigdecimal/pull/149
https://github.com/ruby/psych/commit/25ae263252 -
10:47 PM Revision 938032a7 (git): [ruby/psych] Do not use add_development_dependency.
- https://github.com/ruby/psych/commit/939754237f
-
09:41 PM Bug #12230 (Closed): Wrong exception raised when IO.read from a pipe is passed an offset on Windows
- Applied in changeset commit:git|0a63c4d5fbbbfae9aba92c78e39b1521b90f1b06.
----------
Fix errno at seeking socket/pipe on Windows
[Bug #12230] -
06:46 PM Bug #12230: Wrong exception raised when IO.read from a pipe is passed an offset on Windows
- I think we should fix this to make the behavior on Windows consistent with other operating systems. Attached is a patch that attempts to do so. I'm not sure if the approach the patch takes is the best way to fix this. I also don't hav...
-
09:39 PM Revision 0a63c4d5 (git): Fix errno at seeking socket/pipe on Windows
- [Bug #12230]
-
08:54 PM Revision efa380b0 (git): Use PRIuSIZE instead of "%zu"
-
07:06 PM Bug #12335 (Closed): Segfault running Rails with Objectspace (2.2.4)
-
07:06 PM Bug #12327 (Closed): Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
-
07:05 PM Bug #12325 (Closed): Ruby 2.2.1 fails with Rails 4.2.0-6 - Segmentation fault at 0x00000000000418 ruby 2.2.1p85
-
07:05 PM Bug #12315 (Closed): OptionParser parses quoted --dash strings in 2.3.0
-
07:05 PM Bug #12305 (Closed): "can't remove str from str_id" at unregister_sym
-
07:04 PM Bug #12278 (Closed): Sometimes I have segmentation fault with procs reducer
-
07:03 PM Bug #12260 (Closed): Process finished with exit code 134. Empty test suite.
-
07:03 PM Bug #12259 (Rejected): DateTime.parse does not take into account the system timezone
-
07:02 PM Bug #12257 (Rejected): io/wait: wait_readable/writable working different than IO.select when descriptor not open
-
06:59 PM Bug #12252 (Closed): Clarify Thread exception handling documentation.
- Applied in changeset commit:git|da76c4460f754baabc7a8db16d2e1b5f1c3eb264.
----------
Clarify Thread exception handling documentation [ci skip]
From djellemah (John Anderson).
Fixes [Bug #12252] -
06:54 PM Revision da76c446 (git): Clarify Thread exception handling documentation [ci skip]
- From djellemah (John Anderson).
Fixes [Bug #12252] -
06:46 PM Bug #12243 (Closed): Segmentation fault at 0x0000000000001c
-
05:58 PM Bug #12195 (Closed): [BUG] probable buffer overflow: 4010 for 2005 (CFUNC :read)
-
05:57 PM Bug #12187 (Closed): BigDecimal.divmod failing spuriously on 2.0.0
-
05:57 PM Bug #12175 (Closed): rb_gc_mark prevents the value from being garbage collected if called outside of a GC cycle
-
05:57 PM Bug #12144 (Closed): Segfault in Ruby 2.3.0p0
-
05:54 PM Bug #12135 (Closed): OptParse rejects --longopt= with a zero-length argument.
-
05:53 PM Bug #12132 (Closed): Crash during tests
-
05:52 PM Bug #12120 (Closed): [target/sh4] error: 'asm' operand requires impossible reload
-
05:51 PM Bug #12117 (Closed): UDPSocket.new crash on win32 with "rb_update_max_fd: invalid fd (xxx) given"
-
05:36 PM Bug #12102 (Closed): Ruby Interpreter or extension library
-
05:36 PM Bug #12090 (Closed): `Range#cover` does not raise an exception when comparison fails
- Applied in changeset commit:git|3556cba5038530e728eb6309dcf5d4d1a96a02ac.
----------
Document that Range#cover? returns false if <=> returns nil
Fixes [Bug #12090] - 05:36 PM Revision 48b4deb4 (git): * 2019-07-25
-
05:35 PM Revision 3556cba5 (git): Document that Range#cover? returns false if <=> returns nil
- Fixes [Bug #12090]
-
05:21 PM Bug #12088 (Closed): Segmentation fault at 0x00000000000000 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
-
05:21 PM Bug #12071 (Closed): Gem installation fails with 2.3.0 on Cygwin
-
05:20 PM Bug #12060 (Closed): 2016_02_10 Downloaded Ruby 2.3.0 Fails to Build
-
05:20 PM Bug #12053 (Closed): Issue with installing pubnub gem on Arduino Yun
-
05:19 PM Bug #12049 (Closed): rb_gc_mark(): unknown data type
-
05:19 PM Bug #12045 (Closed): Add documentation lib/debug.rb
-
05:19 PM Bug #12036 (Closed): Enumerator's automatic rewind behavior
-
05:17 PM Bug #12033 (Closed): WSASocket can't work with Ruby extensions.
-
05:16 PM Bug #12028 (Closed): Crash ruby
-
05:00 PM Bug #11996 (Closed): bin/rails server Unavailable
-
05:00 PM Bug #11992 (Closed): Regexp match data
-
04:59 PM Bug #11985 (Closed): SignalException: SIGABRT when rake test
-
04:58 PM Bug #11972 (Closed): CGI::pretty がコメント内のhtmlタグにより範囲を見失う
- This was fixed between 2.6 and 2.7.0-preview1:
```
$ ruby26 t/t.rb
Traceback (most recent call last):
1: from t/t.rb:2:in `<main>'
/usr/local/lib/ruby/2.6/cgi/util.rb:217:in `pretty': bad value for range (ArgumentError)
$... -
04:48 PM Bug #11961 (Closed): Array#delete_if gets an unexpected behavior when Array is modified during execution
-
03:18 PM Bug #11956 (Closed): RUBYOPT parses after rubygems loaded
-
03:17 PM Bug #11935: Date.new returns inconsistent errors when passed invalid arguments
- I agree that we should make these errors consistent and have submitted a pull request to do so: https://github.com/ruby/date/pull/9
-
03:04 PM Feature #16018 (Open): Add a way to deprecate methods
- Since #11398, We have `Module#deprecate_constant` available. But I wonder, why we don't have a way to deprecate methods? There is already `Gem::Deprecate` [1], so may be this could be extracted and made more generic?
This might be use... -
01:07 PM Revision 1cce4303 (git): Suppress deflateParams() warnings
-
12:07 PM Revision 538ba984 (git): Split ls line
-
12:03 PM Revision 96b0d7cd (git): GNU ls -T has different meaning
-
11:51 AM Revision 65a9d4b0 (git): Fix typo [ci skip]
-
11:50 AM Revision 7b1893c7 (git): Resurrect timestamp debug log
- because it failed again https://travis-ci.org/ruby/ruby/jobs/563026412
even after 676df311d90990a4666adb5b1db4c7aa6b080e57. -
11:08 AM Revision dc954cbb (git): @@project_dir in Gem::TestCase is no longer used
-
10:15 AM Revision 99fb637c (git): [rubygems/rubygems] Make `@@project_dir` constants per files
- https://github.com/rubygems/rubygems/commit/955174658f
-
10:15 AM Revision 99680f81 (git): [rubygems/rubygems] Resolve `@@project_dir` from test file paths
- `Dir.pwd` may differ from the source path. Test directories and
files should be resolved from test file paths.
https://github.com/rubygems/rubygems/commit/e18e7c81b4 -
08:04 AM Misc #15723: Reconsider numbered parameters
- I would like to voice my support for only having `@` for the single argument as well.
I think this should already cover majority of the use case, where we want to refer to the only argument that is being passed to the block. For me, t... -
07:35 AM Misc #15723: Reconsider numbered parameters
- I see many suggestions for different keywords or sigils, but they're all about the argument itself. What i feel is being ignored is adding to the block syntax itself; for example:
``` ruby
[1, 2, 3].reduce ${ arg_1 * arg_2 }
# or
... -
07:28 AM Feature #16017: String and Array Slices
- I use both ruby and python; ruby significantly more than python though.
First, to the direct comparison - I am against using : in ruby. It does
not make a whole lot of sense (to me).
For equivalent purposes we have:
Python:
... -
06:41 AM Feature #16017: String and Array Slices
- I tried Python syntax and did not think it would be different. Well, if it's not difficult for you, then you can add the familiar syntax [::] Thank.
-
01:35 AM Feature #16017 (Feedback): String and Array Slices
- As @zverok mentioned there are String / Array slicing methods. Not a 1-to-1 translation of Python though. Is it enough for you? If not, tell us in detail what you want.
-
03:25 AM Revision 3a227b99 (git): Adjusted test runner
-
03:13 AM Revision 5108a5dd (git): test-bundled-gems-run: Respect -k option
-
02:56 AM Revision a39f218f (git): Reduced duplicate commands in test-bundled-gems-run