Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
(174) |
Apr
(50) |
May
(71) |
Jun
(129) |
Jul
(113) |
Aug
(141) |
Sep
(82) |
Oct
(142) |
Nov
(97) |
Dec
(72) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(159) |
Feb
(213) |
Mar
(156) |
Apr
(151) |
May
(58) |
Jun
(166) |
Jul
(296) |
Aug
(198) |
Sep
(89) |
Oct
(133) |
Nov
(150) |
Dec
(122) |
2008 |
Jan
(144) |
Feb
(65) |
Mar
(71) |
Apr
(69) |
May
(143) |
Jun
(111) |
Jul
(113) |
Aug
(159) |
Sep
(81) |
Oct
(135) |
Nov
(107) |
Dec
(200) |
2009 |
Jan
(168) |
Feb
(109) |
Mar
(141) |
Apr
(128) |
May
(119) |
Jun
(132) |
Jul
(136) |
Aug
(154) |
Sep
(151) |
Oct
(181) |
Nov
(223) |
Dec
(169) |
2010 |
Jan
(103) |
Feb
(209) |
Mar
(201) |
Apr
(183) |
May
(134) |
Jun
(113) |
Jul
(110) |
Aug
(159) |
Sep
(138) |
Oct
(96) |
Nov
(116) |
Dec
(94) |
2011 |
Jan
(97) |
Feb
(188) |
Mar
(157) |
Apr
(158) |
May
(118) |
Jun
(102) |
Jul
(137) |
Aug
(113) |
Sep
(104) |
Oct
(108) |
Nov
(91) |
Dec
(162) |
2012 |
Jan
(189) |
Feb
(136) |
Mar
(153) |
Apr
(142) |
May
(90) |
Jun
(141) |
Jul
(67) |
Aug
(77) |
Sep
(113) |
Oct
(68) |
Nov
(101) |
Dec
(122) |
2013 |
Jan
(60) |
Feb
(77) |
Mar
(77) |
Apr
(129) |
May
(189) |
Jun
(155) |
Jul
(106) |
Aug
(123) |
Sep
(53) |
Oct
(142) |
Nov
(78) |
Dec
(102) |
2014 |
Jan
(143) |
Feb
(93) |
Mar
(35) |
Apr
(26) |
May
(27) |
Jun
(41) |
Jul
(45) |
Aug
(27) |
Sep
(37) |
Oct
(24) |
Nov
(22) |
Dec
(20) |
2015 |
Jan
(17) |
Feb
(15) |
Mar
(34) |
Apr
(55) |
May
(33) |
Jun
(31) |
Jul
(27) |
Aug
(17) |
Sep
(22) |
Oct
(26) |
Nov
(27) |
Dec
(22) |
2016 |
Jan
(20) |
Feb
(24) |
Mar
(23) |
Apr
(13) |
May
(17) |
Jun
(14) |
Jul
(31) |
Aug
(23) |
Sep
(24) |
Oct
(31) |
Nov
(23) |
Dec
(16) |
2017 |
Jan
(24) |
Feb
(20) |
Mar
(27) |
Apr
(24) |
May
(28) |
Jun
(18) |
Jul
(18) |
Aug
(23) |
Sep
(30) |
Oct
(17) |
Nov
(12) |
Dec
(12) |
2018 |
Jan
(27) |
Feb
(23) |
Mar
(13) |
Apr
(14) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
|
2
(3) |
3
(1) |
4
|
5
(2) |
6
(3) |
7
(3) |
8
(2) |
9
|
10
(3) |
11
(6) |
12
(3) |
13
|
14
(2) |
15
(9) |
16
(1) |
17
|
18
(7) |
19
|
20
(3) |
21
|
22
(1) |
23
(32) |
24
|
25
(3) |
26
(5) |
27
|
28
(6) |
29
(1) |
30
(9) |
31
(3) |
|
|
|
|
|
From: sqlalchemy <mike_mp@zz...> - 2011-10-26 16:42:22
|
#2308: mutable composites lose track of parent after a flush ---------------------------------+------------------------------------------ Reporter: zzzeek | Owner: zzzeek Type: defect | Status: closed Priority: highest | Milestone: 0.7.4 Component: orm | Severity: minor - half an hour Resolution: fixed | Keywords: Status_field: completed/closed | ---------------------------------+------------------------------------------ Changes (by zzzeek): * status: new => closed * resolution: => fixed * status_field: in progress => completed/closed Comment: r18994f7e31d4 -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2308#comment:1> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |
From: sqlalchemy <mike_mp@zz...> - 2011-10-26 16:42:08
|
#2309: server side defaults and composites ---------------------------------+------------------------------------------ Reporter: zzzeek | Owner: zzzeek Type: defect | Status: closed Priority: medium | Milestone: 0.7.4 Component: orm | Severity: minor - half an hour Resolution: fixed | Keywords: Status_field: completed/closed | ---------------------------------+------------------------------------------ Changes (by zzzeek): * status: new => closed * resolution: => fixed * status_field: in progress => completed/closed Comment: r18994f7e31d4 -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2309#comment:2> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |
From: sqlalchemy <mike_mp@zz...> - 2011-10-26 16:10:14
|
#2309: server side defaults and composites --------------------+------------------------------------------------------- Reporter: zzzeek | Owner: zzzeek Type: defect | Status: new Priority: medium | Milestone: 0.7.4 Component: orm | Severity: minor - half an hour Keywords: | Status_field: in progress --------------------+------------------------------------------------------- Description changed by zzzeek: Old description: > {{{ > !python > from sqlalchemy import * > from sqlalchemy.orm import * > from sqlalchemy.ext.declarative import declarative_base > > Base= declarative_base() > > class MyComposite(object): > def __init__(self, datax, datay): > self.datax = datax > self.datay = datay > def __composite_values__(self): > return self.datax, self.datay > > class A(Base): > __tablename__ = "a" > > id = Column(Integer, primary_key=True) > x = Column(Integer, server_default="9") > y = Column(Integer, default=10) > value = composite(MyComposite, x, y) > > e = create_engine('sqlite://';, echo=True) > Base.metadata.create_all(e) > s = Session(e) > a1 = A(value=MyComposite(None, None)) > s.add(a1) > s.flush() > > assert a1.value.datay == 10 > assert a1.value.datax == 9 > > }}} > > the fix for #2308 will also get this one New description: {{{ #!python from sqlalchemy import * from sqlalchemy.orm import * from sqlalchemy.ext.declarative import declarative_base Base= declarative_base() class MyComposite(object): def __init__(self, datax, datay): self.datax = datax self.datay = datay def __composite_values__(self): return self.datax, self.datay class A(Base): __tablename__ = "a" id = Column(Integer, primary_key=True) x = Column(Integer, server_default="9") y = Column(Integer, default=10) value = composite(MyComposite, x, y) e = create_engine('sqlite://';, echo=True) Base.metadata.create_all(e) s = Session(e) a1 = A(value=MyComposite(None, None)) s.add(a1) s.flush() assert a1.value.datay == 10 assert a1.value.datax == 9 }}} the fix for #2308 will also get this one -- -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2309#comment:1> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |
From: sqlalchemy <mike_mp@zz...> - 2011-10-26 16:10:02
|
#2309: server side defaults and composites --------------------+------------------------------------------------------- Reporter: zzzeek | Owner: zzzeek Type: defect | Status: new Priority: medium | Milestone: 0.7.4 Component: orm | Severity: minor - half an hour Keywords: | Status_field: in progress --------------------+------------------------------------------------------- {{{ !python from sqlalchemy import * from sqlalchemy.orm import * from sqlalchemy.ext.declarative import declarative_base Base= declarative_base() class MyComposite(object): def __init__(self, datax, datay): self.datax = datax self.datay = datay def __composite_values__(self): return self.datax, self.datay class A(Base): __tablename__ = "a" id = Column(Integer, primary_key=True) x = Column(Integer, server_default="9") y = Column(Integer, default=10) value = composite(MyComposite, x, y) e = create_engine('sqlite://';, echo=True) Base.metadata.create_all(e) s = Session(e) a1 = A(value=MyComposite(None, None)) s.add(a1) s.flush() assert a1.value.datay == 10 assert a1.value.datax == 9 }}} the fix for #2308 will also get this one -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2309> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |
From: sqlalchemy <mike_mp@zz...> - 2011-10-26 15:27:25
|
#2308: mutable composites lose track of parent after a flush ---------------------+------------------------------------------------------ Reporter: zzzeek | Owner: zzzeek Type: defect | Status: new Priority: highest | Milestone: 0.7.4 Component: orm | Severity: minor - half an hour Keywords: | Status_field: in progress ---------------------+------------------------------------------------------ {{{ #!python from sqlalchemy import MetaData, Column, create_engine from sqlalchemy.types import Integer, String from sqlalchemy.orm import create_session, composite from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.ext.mutable import MutableComposite engine = create_engine('sqlite://';, echo=True) metadata = MetaData(bind=engine) Base = declarative_base(metadata=metadata) class MyComposite(MutableComposite): def __init__(self, a, b): self.a = a self.b = b def __composite_values__(self): return (self.a, self.b) def __getstate__(self): return self.__composite_values__() def __setstate__(self, state): (self.a, self.b) = state def __setattr__(self, key, value): object.__setattr__(self, key, value) self.changed() class Foo(Base): __tablename__ = 'foos' id = Column(Integer, primary_key=True) name = Column(String(50)) comp = composite(MyComposite, Column('a', String(50)), Column('b', String(50))) metadata.drop_all() metadata.create_all() sess = create_session() foo = Foo() sess.add(foo) sess.flush() sess.expunge_all() ########## print "loading a foo instance" foo = sess.query(Foo).get(1) print "changing foo.name" foo.name = 'changed' print "before flush, foo.comp._parents is %r" % foo.comp._parents.items() sess.flush() print "after flush, foo.comp._parents is %r" % foo.comp._parents.items() print "changing foo.comp.a" foo.comp.a = 'hello' print "flushing again" sess.flush() sess.expunge_all() ########## print "checking that change to composite was persisted" foo = sess.query(Foo).get(1) assert foo.comp.a == 'hello' print "good" }}} -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/2308> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |