Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Amr Hassan Amr Hassan Python

    Did you guys know that default args (including mutables) are created on definition? I thought I was tripping. http://goo.gl/I3WB !python

    Tuesday, 13-Jul-10 02:13:45 UTC from pino
    • Roberto Alsina Roberto Alsina

      @amrhassan yes, that's why [] as a default value for an argument sucks :-)

      Tuesday, 13-Jul-10 02:19:23 UTC
    • Fede Heinz Fede Heinz Roberto Alsina

      @ralsina [] or any list, for that matter? It's Fortran redefining

      Tuesday, 13-Jul-10 02:43:43 UTC
    • Fede Heinz Fede Heinz Roberto Alsina

      @ralsina [] or any list, for that matter? It's Fortran redefining "4" all over again?

      Tuesday, 13-Jul-10 02:43:59 UTC
    • Roberto Alsina Roberto Alsina Fede Heinz

      @fheinz any mutable type instance, really.

      Tuesday, 13-Jul-10 02:54:25 UTC
    • Fede Heinz Fede Heinz Roberto Alsina

      @ralsina kinda fun, actually: http://is.gd/dpPsP

      Tuesday, 13-Jul-10 03:45:30 UTC
    • Roberto Alsina Roberto Alsina Fede Heinz

      @fheinz once you know about it, you just use None instead :-)

      Tuesday, 13-Jul-10 03:54:05 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal