General

Profile

robertgleeson (Robert Gleeson)

  • Login: robertgleeson
  • Registered on: 09/14/2009
  • Last sign in: 06/13/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 6 7

Activity

06/04/2017

10:51 PM Ruby Bug #13605: GC bug calling `ObjectSpace.each_object`
robertgleeson (Robert Gleeson) wrote:
> The segfault no longer happens, since https://github.com/pry/pry/pull/1611/commits/94316852f5c1114f3073876558085835f2cf5377.
> ...
Spoke too soon, i think we just got lucky, it still happens when...
robertgleeson (Robert Gleeson)
10:46 PM Ruby Bug #13605: GC bug calling `ObjectSpace.each_object`
The segfault no longer happens, since https://github.com/pry/pry/pull/1611/commits/94316852f5c1114f3073876558085835f2cf5377.
if you want to reproduce a commit before that one should work, on the `respond_to-2.4-warnings` branch.
robertgleeson (Robert Gleeson)
12:11 AM Ruby Bug #13605: GC bug calling `ObjectSpace.each_object`
Another case:
Ruby v2.4.1 (ruby), Pry v0.10.4, method_source v0.8.2, CodeRay v1.1.1, Pry::Slop v3.4.0
/home/travis/build/pry/pry/spec/pry_output_spec.rb:119: warning: assigned but unused variable - custom_io
...........................
robertgleeson (Robert Gleeson)
09:54 PM Ruby Feature #12739: deprecate_constant :Fixnum, :Bignum
robertgleeson (Robert Gleeson) wrote:
> znz (Kazuhiro NISHIYAMA) wrote:
> ...
I realise my comment isn't clear, here's very simple code to show what i mean:
deprecated_constants = [:Fixnum, :TimeoutError, :Bignum, :FALSE, :TRUE, :NI...
robertgleeson (Robert Gleeson)
09:44 PM Ruby Feature #12739: deprecate_constant :Fixnum, :Bignum
znz (Kazuhiro NISHIYAMA) wrote:
> How about `class Object; deprecate_constant :Fixnum, :Bignum; end`?
> ...
It would be nice to have `constant_deprecated?`.
To avoid all of these warnings while supporting <2.4 and >=2.4 i track ...
robertgleeson (Robert Gleeson)

06/03/2017

01:35 PM Ruby Bug #13605: GC bug calling `ObjectSpace.each_object`
wanabe (_ wanabe) wrote:
> I guess the code snippet is from pry. https://github.com/pry/pry/blob/c18601d6a4ff97d1b6599ccd9ffc8c63b8d8fccb/lib/pry/input_completer.rb#L172
> ...
Thanks wanabe.
shyouhei (Shyouhei Urabe) wrote:
> What ...
robertgleeson (Robert Gleeson)

11/19/2013

09:10 PM Ruby Bug #9127 (Closed): URI::Generic#normalize documentation is vague.
the documentation for `URI::Generic#normalize` is vague and does not provide enough details about the algorithm that applies normalization.
the documentation says, "Returns normalized URI" and nothing more. I would have expected a short...
robertgleeson (Robert Gleeson)

09/28/2013

04:20 AM Ruby Feature #8839: Class and module should return the class or module that was opened
I agree that returning the class or module makes sense (to me).
I'd also like to see "`def foo`" return a (`Unbound`)`Method` instead of a `Symbol`.
it seems like that'd also make more sense (not to derail this conversation). A (`Unbou...
robertgleeson (Robert Gleeson)

07/25/2013

10:44 AM Ruby Feature #8683: CSV library can't append to the current row. It should be able to.
@nobu Thanks! I've re-created an example using CSV::Table:
require "csv"
row = CSV::Row.new ["Name"], ["Name"], true
table = CSV::Table.new [row]
table[0] << ["Hair Color", "Hair Color"]
p table.to_csv
It works like I want, but CSV::Ro...
robertgleeson (Robert Gleeson)
07:21 AM Ruby Feature #8683: CSV library can't append to the current row. It should be able to.
I guess I could settle for:
headers = ["one"]
CSV.generate headers: true do
["two", three"].each do |e|
headers << e
csv << headers
end
end
but, this is preferable:
headers = ["one"]
CSV.generate headers: true do
csv << ...
robertgleeson (Robert Gleeson)

Also available in: Atom