From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 9FDBD1960009 for ; Mon, 22 Jun 2015 23:39:22 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (smtp.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 04AFFB5D876 for ; Tue, 23 Jun 2015 00:03:00 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id D663D97A820 for ; Tue, 23 Jun 2015 00:03:02 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k3dIyJk4JNNF for ; Tue, 23 Jun 2015 00:03:02 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 5B25C97A82C for ; Tue, 23 Jun 2015 00:03:02 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 684B795243A for ; Tue, 23 Jun 2015 00:02:59 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id CF810120446; Tue, 23 Jun 2015 00:02:57 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o2.heroku.sendgrid.net (o2.heroku.sendgrid.net [67.228.50.55]) by neon.ruby-lang.org (Postfix) with ESMTPS id 40E9F120434 for ; Tue, 23 Jun 2015 00:02:52 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=jssppQ9dsAf4Pt8dNU7fHn4TCAc=; b=m2ob0NtjmHA6+oowRZ MEOGpdwPujSaJ2JA2Xu8YpnXBBdf3rwBTulFi5aRbioZG1j1FZTIhO/h8CO1E3sU YaKDeiNzeCeCs44LVPg+30SgjAdfsFzD1aqi4DZ8/9e2IllkBbZ0DMWb+4SmieUk G1Sw7TBG8YmOLZDanv33U/9q0= Received: by filter0527p1mdw1.sendgrid.net with SMTP id filter0527p1mdw1.9136.5588239417 2015-06-22 15:02:44.540723471 +0000 UTC Received: from herokuapp.com (ec2-54-145-108-15.compute-1.amazonaws.com [54.145.108.15]) by ismtpd-021 (SG) with ESMTP id 14e1bcafc2d.886.3554d8 for ; Mon, 22 Jun 2015 15:02:44 +0000 (UTC) Date: Mon, 22 Jun 2015 15:02:44 +0000 From: liveloveprosper@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 44260 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 11293 X-Redmine-Issue-Author: mattdipasquale X-Redmine-Sender: mattdipasquale X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS7BiAWyb2Le2VNIe7GAM89lGeSLitCYN0OOUZ ZwZow8LfSs3Bm09ElByq/NvM/RrW8N50cg/6sNQ0a0uPmyoGMp4bAqABg61n+Qy+RKuwRlKIh2CeVS VYhyL5ww6xGvr7oiVA7OazyeqVzicllnbuLP X-ML-Name: ruby-core X-Mail-Count: 69699 Subject: [ruby-core:69699] [Ruby trunk - Bug #11293] [Open] Integer('0123') => 83 X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #11293 has been reported by Matt Di Pasquale. ---------------------------------------- Bug #11293: Integer('0123') => 83 https://bugs.ruby-lang.org/issues/11293 * Author: Matt Di Pasquale * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- Is this the correct behavior? irb(main):001:0> Integer('0123') => 83 Shouldn't the return value be `123`? -- https://bugs.ruby-lang.org/