Jie Luo
8a11c3c8f0
Add python test for deprecated syntax
...
PiperOrigin-RevId: 563175424
1 year ago
Jie Luo
bd7a9df1eb
Change upb python to keep the meta class ref on message descriptor. Also add Garbage Collection on meta class and message descriptor.
...
PiperOrigin-RevId: 563136413
1 year ago
Joshua Haberman
56e9f2b4e4
Added malloc_trim() calls to Python allocator so RSS will decrease when memory is freed
...
This partially fixes https://github.com/protocolbuffers/protobuf/issues/10088 . The test case from that bug significantly improves with this change. However we still have a global map that does not shrink, which can still create the appearance of leaking memory, as it will not be freed until the module is unloaded.
PiperOrigin-RevId: 563124724
1 year ago
Richard Levasseur
131a7869c7
Internal change
...
PiperOrigin-RevId: 563086384
1 year ago
Protobuf Team Bot
9d75ac6145
Address -Wint-conversion issues.
...
PiperOrigin-RevId: 561684898
1 year ago
Jie Luo
9c76ea4413
Add upb python Py_mp_subscript for descriptor sequences.
...
A behavior diff that between upb and the other two implementations.
PiperOrigin-RevId: 561471616
1 year ago
Adam Cozzette
fa75cd454f
Update references to upb to point to the new location
...
I also deleted upb's `.github` directory since this is no longer used.
PiperOrigin-RevId: 561119238
1 year ago
Jie Luo
bf0451983d
Make upb python FieldDescriptor able to access the constant cpp type attributes
...
To match the same behavior with pure python and cpp extension
PiperOrigin-RevId: 561077787
1 year ago
Eric Salo
e45a6d5068
upb: fix a Python memory leak in ByteSize()
...
https://github.com/protocolbuffers/upb/issues/1243
PiperOrigin-RevId: 560873830
1 year ago
Adam Cozzette
047df98dea
Move upb-x/ back to upb/
...
This is the second attempt to fix our Git history. This should allow
"git blame" to work correctly in the upb/ directory even though our
automation unexpectedly blew away that directory.
1 year ago
Adam Cozzette
895f190bda
Move upb to upb-x
1 year ago
Adam Cozzette
1ba80d7424
Move upb-temp/ back to upb/
1 year ago
Adam Cozzette
d38b8561e6
Move upb/ to upb-temp/
...
This will help us fix our Git commit history to ensure that git blame
works correctly for upb.
1 year ago
Adam Cozzette
6fc87fe3f7
Internal change
...
PiperOrigin-RevId: 560100839
1 year ago
Protobuf Team Bot
cab6c3e223
Internal change
...
PiperOrigin-RevId: 560096690
1 year ago
Adam Cozzette
0d1ba13e83
Move everything into new upb/ directory
1 year ago